I’ve been developing a cakephp app (2.2) on my local machine using wamp. I’m now at the stage where I want to put it online but all I get is 500 internal server errors. Heres what I’ve done so far:
- Created the db on the new web host (exported from my local DB) and imported the details.
- FTP’d up the contents of the project to the web servers root dir.
- Changed the db config file to the new db details.
- visited the url and got “500 Internal server error”.
I searched online for a long time trying to get an answer and found various blog articles saying add a leading slash to some of the entries in .htaccess. This didn’t work.
I’ve also deleted any files in /App/tmp/cache and made sure it had the permission 777.
Please can anyone help, I’ve tried this on both 1and1s shared hosting and another companies shared hosting. Surely there must be a way, what am I missing?
Thanks in advance for any help
Deploy clean cakePHP first, if it works, try to add models first, one by one. Views should do no harm, so put them after models, next step would be controllers. This way you can establish borken model or controller….