Hello there! This is my first post on this board. I am very glad to be here!
I am writing today because I am having some problems with ModX version 1.0.4. The problem is that I can log in to the CMS itself, however when I try to add a page to the website (new resource), I am redirected to the CMS login page. I was also redirected when I tried to go to the system info page to find out the ModX version being used. (I am working with someone else on this site, they knew what version was being used).
I recently began using the eForm snippet to create a contact form for sending emails, I don’t know if that’s maybe causing an issue or not.
I am relatively new to ModX, so if I missed anything, please let me know and I’ll do my best to find out.
Thanks for your help.
EDIT: The problem has been fixed.
2ND EDIT: I am now experiencing the problem again.
I am working with gallantr94 on this site and I have done all the suggested hta.access fixes yet now when i try to edit my css the instant i hit the save button it redirects me to the manager login.
-
☆ A M B ☆
- 24,524 Posts
Sounds like a session issue. I’ve had some servers do that, and the usual MODx method of keeping the session active by requesting a small invisible image from time to time doesn’t work. I suspect it’s a poorly configured server cluster at fault. Usually server clusters are configured to store session files and other temparary data on a single shared server, but it they aren’t, a request that has you logged in through the session file on one server won’t find a session file if subsequent requests get serviced by another server in the cluster.
If it’s just an extremely short garbage collection timeframe (especially on shared hosting this can happen since PHP will use the shortest time defined anywhere for its entire session file repository), you can work around the problem by defining a custom session_save_path() so your session files aren’t subject to the default garbage collection.
This also may be a problem with an extremely strict SUHOSIN or other mod_security type installation.
In either case, you might want to have a word with your hosting company’s tech support.