Issue
I'm new to CakePHP and my employer asked me to move our CakePHP app from a dedicated server to another server (for testing purposes). I've copied all the files, changed app's database.php config but I'm getting a ERR_TOO_MANY_REDIRECTS when accessing the app on the new server. I did not work on the app so I don't know much about it, but I have all the files.
LE: So, I've uploaded the app on a fresh install of CakePHP. I now have 3 .htaccess files, CakePHP says it's working, but when I try to upload DebugKit (following the install notes & having the proper version for CakePHP 2.4.3.) I get the ERR_TOO_MANY_REDIRECTS. A look in Chrome's console shows me this. If I delete the DebugKit altogether, the page looks like this & it also has the footer from the app. The new structure of the app is the standard one. Please advise!
Solution
Best guess is the (apache?) DocumentRoot
setting may be clashing with your APP config on the new server and/or the PHP settings. Have you checked your php.ini
on the new server? What's the output of phpinfo()
? Once fixed HIGHLY RECOMMEND check other environment variables by turning on the DEBUG flag in For your version try config/app.php
pr(Debugger::trace());
or even better for dev. install the Debug kit. Anyway, DocumentRoot
should be set to webroot
(assuming default install and directory structure).
Answered By - Mat K. Witts
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.