Hello Petrisor,

Check $this->viewPath and $this->view in your controller on the ajax
request to see if they're pointing to  a view file that exists.

Also are you using cake 2.0?

Kind regards,

Leigh


On Nov 24, 7:08 pm, Petrisor Buga <[email protected]> wrote:
> Hy, i've developed a project locally using MAMP on a mac, after i
> moved it online the links generated automatically by cakephp are not
> working anymore, more precisely i get "500 internal server error" on
> the ajax-get request and on the response i get:
>
> Error: The view for MoviesController::index() was not found.
> Error: Confirm you have created the file: /home/independ/public_html/
> film/app/View/elements/paging.ctp
>
> but the files are there and working, if i comment/remove the 
> $this->Js->writeBuffer(); line (and also remove the ajax functionality) the
>
> links are working ok.
>
> i'm guessing it's something related to .htaccess files or file
> permissions somehow but i can't seem to figure them out!
> i tried on 3 different servers a vps, a sharedhost (this is the one
> that needs to work), a linux box and on all it acts the same, only on
> my mac works :|.
>
> i have also done another basic cakephp application starting from
> scratch that has ajax pagination and no success either :( works
> locally but not online.
>
> Thanks for taking time reading my problem!

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to