Dear all,
I inherited a CakePHP application some weeks ago that I'm supposed to deploy into a web server. I went through the tutorial and got my hands to work. The problem is that I can't pass beyond the home page of the legacy application, all links return the error in subject. I also tried to access some pages directly using /view/action adresses but I always get this error.
I tried an experiment that had an interesting result. I created another application with a simple MVC structure connected to the DB. Into this new application I copied one of the view folders of the legacy application, corresponding to the model User. When I try to access this view in my app:
http://localhost/myApp/Users
I get a Controller not found exception, which is ok since I only copied the views folder. But when I try the same address to the legacy app:
http://localhost/legacyApp/Users
I get the "address was not found on this server" error.
Reading through previous messages to this list I already tried the following:
. deleted the contents of app/tmp/cache/models
. deleted the contents of app/tmp/cache/persistent
. verified that the .htaccess files are present
. verified that www-data has permission over the .htaccess files
But the error remains. What else could be causing this problem?
Thank you for reading.
--
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
Wednesday, July 25, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment