Hi,
after moving a site between 2 server the manager stopped working.
When i try to login:
- with incorrect user/pass it correctly tell me that user or pass are incorrect
- with correct login information the site start loading and never stop until timeout.
Frontend is working ok, even if I manually delete cache.
I moved the site following the official guide, config seem ok and I used the setup script twice.
What can I do?
EDIT: Modx 2.3.3
I uploaded a MODX revo test site from scratch on the same server and cant login in this one either. So it seem a server problem.
The server use a nginx server as a proxy with pass php request to apache+php. Can this be the problem? MODx Evolution work out of the box with this config.
Hi Sepla,
yes, I disabled NGINX to make a test and the same problem occurred, so its not a problem with it.
Yes, its the first time i used MODX Revo on this server, i moved the site from my previous server to a new one in digitalocean.
Before asking I checked the server requirements and they seem ok to me. If you want i can send you a link to the site phpinfo.
Yes, i have the PHPSESSID cookie.
There is some modx log to check? I dont have any php error in apache log.
Thanks for your answer, i really appreciate it.
After some digging in MODx source the problem seem to be related to one of the dashboard's widget. If i remove the code that load dashboard widgets the manager start working again.
it may be that a widget is using the old unc path, ip or domain details. i have had the same before, when you move an instance of modx. If you can get access to a linux command line for your hosting you can run a command to check any hard coded paths that are showing the wrong unc path or even domain. its then just a simple case of manually changing the hard coded path, deleting core/cache contents manually, delete client cache and that should resolve your issue.
Thanks for the kind words.
If disabling all the widgets fixes it, it's pretty likely that the problem is in one or more widgets. Do you have any widgets other than the ones MODX installs on a fresh install? If not, I would suspect the configuration check widget. I thought there was a System Setting to turn it off, but I can't find one.
It's possible to disable individual widgets in the database, though it's kind of tricky.
I also like comp_nerd26's idea. If you have command-line access it's worth a try. If you don't, you may still be able to search for the old domain name in the DB with PhpMyAdmin.