I think the most likely problem is that you copied one or more of these local files to the remote:
.htaccess
core/config/config.inc.php
One or more of the four config.core.php files:
§ MODX root directory
§ /manager/
§ /connectors/
§ /setup/includes/
Also, check the path in the modx_workspaces table in the remote DB.
There are probably paths in the Gallery system settings and/or properties too that would need to be different on the remote.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
Bob:
Thanks for the reply. Our sync system is set up with both file and DB table exceptions to cover all the things you mentioned, with the exception of setup/includes/config.core.php because we use a fresh setup directory anytime we need one. I have also double-checked everything on your list and it is all the correct, remote versions.
So, I'm afraid it isn't anything that simple.
Jason
With regard to Gallery, there are some paths that are different on local from remote I think. However, I have trouble believing that Gallery could prevent manager login. Just in case, I did try setting the GalleryCustomTV plugin to disabled in the database, and the login behavior did not change.
[ed. note: polrbear last edited this post 14 years, 3 months ago.]
Jason
Well, we have met the enemy and he is us.
But it was a subtle problem.
Remember those table exceptions to which I referred above? Turns out that one of those exceptions was the modx_users table. We don't normally update that when we do the sync on the site, in case new users have registered since the site was downloaded. Which normally doesn't cause a problem, but... MODx 2.2.4, to which we upgraded from 2.1.3 on the local version, introduced 3 new fields to the modx_users table. The remote version had a table with all the users all right, but it didn't have those three fields - and that's why login was failing. Once we added the columns to the database, everything was fine and cool once more.
Jason
Glad you got it sorted. That is definitely subtle. Congratulations on finding that and thanks for reporting back, I'm sure your post will help others.