Ok After re reading the top it sound like you said you copy only the View/User folder to the legacy and that is giving you problems. If this is the case, you need to also move the Controller and Model files for users to the legacy app. If both of these files are already there show us what you have in your user controller/model files.
On Tuesday, July 24, 2012 10:36:47 AM UTC-4, Luís de Sousa wrote: > > Dear all, > > Some weeks ago I inherited a CakePHP application that I'm supposed to > deploy to a server. I went through the CakePHP tutorial and put my hands to > work. The problem is that I can't pass from the front page > (app/Pages/home.ctp), any links from there get to a page with the error in > subject. Trying direct access to routes like /view/action have the same > result. > > I made a simple test that yielded a strange result: there's a model called > User with its respective controller and view. I copied the view folder to > another CakePHP app, and when I access to: > > http://localhost/myApp/User > > I get an error saying the User model doesn't exist, which is correct since > I only copied the view folder. But when I try a similar thing in the legacy > application: > > http://localhost/legacyApp/User > > I get the address not found error. > > Reading the messages in this list I tried the following: > . changed the debug level to 1 - no further messages are shown > . deleted the contents of /app/tmp/cache/models/ and > /app/tmp/cache/persistent/ > . verified .htaccess files are present > . verified www-data has permissions to write on .htaccess files > > But none of these actions had effect. If anyone as a clue on what else may > be causing this I'd appreciate to know. > > Thank you and regards. > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
