On 12/20/06, Dave <[EMAIL PROTECTED]> wrote:
Next I tried disabling all three .htaccess files and uncommenting the BASE_URL line in core.php. This improved things but not completely: I can now see the app's home page (or anything else I specify using the default route in routes.php), but when trying to access a regular controller action I still get a 404 error - though the URL is correct in this case: "The requested URL /mydir/air/objects/ was not found on this server." Any idea what might be happening?
Not that I'm an expert at configuring Cake, but I have some suggestions: 1) verify that you've set things up in your Apache config files to accept values that are in a .htaccess file That has tripped me up more than once. If you're using the pretty URL's make sure that you've got mod_rewrite turned on and that you have specified the correct RewriteBase. 2) set DEBUG to 1 in your core.php file so you can see some more informative error messages than just a 404. I honestly believe that the errors spit out in debug mode are a killer hidden feature in Cake. 3) examine the differences in your configuration files between your app in it's old location and your app in it's new location. Maybe you'll find that you've forgotten to set something in the new config Hope that helps. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
