Wednesday, February 22, 2012

Re: Controller/View and Model it is not working

Just to be clear, your DocumentRoot is correct either way. If you point it to webroot, there's less work on the server's end to find it.

Like kdubya said, make sure debug is on. If you're receiving a 404 error that means something is broken within cake (missing method, model, etc) and in production mode (i.e., debug=0) it will give you a 404. To find more information about that error, turn debug to 2.

My first guess is that there is no Actordesctbl model or no actordesctbls table. But debug will actually tell you what is wrong.

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: