In the process of updating a resource, my page load would stall and eventually log me out. I would then need to re-login. This happened a few times and then could no longer access the manager. These are the errors i see when attempting to access the manager:
Warning: Invalid argument supplied for foreach() in /home/content/r/..../core/model/modx/modcontext.class.php on line 49
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/content/r/.../core/model/modx/modx.class.php on line 2748
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/r/..../core/model/modx/modcontext.class.php:49) in /home/content/r/.../core/model/modx/modx.class.php on line 2842
Fatal error: Class ’modUser_’ not found in /home/content/r/.../core/xpdo/xpdo.class.php on line 598
(full URL path has been replaced with ’...’)
I checked the config.inc.php file. No extra spaces...and correct closing tag.
I tried an upgrade existing install and get these errors:
Warning: Invalid argument supplied for foreach() in /home/content/r/.../core/model/modx/modcontext.class.php on line 49
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/content/r/.../core/model/modx/modx.class.php on line 2748
Fatal error: Class ’modNamespace_’ not found in /home/content/r/.../core/xpdo/xpdo.class.php on line 598
The front end is fine. everything loads as needed. the site looks great.
In general, I’ve been having problems with page loads in modx. They are very slow and often the saving process takes a full minute. Is this a godaddy hosting issue? I’ve read all documentation i can find related to my errors and can only assume refreshing a page before a ’save’ actually completed caused this problem. Sometimes the saves stall out completely.
Here’s my specific info:
Web Server:
PHP.5x
Linux
Database:
MySQL version 5
MODx:
Version -Revolution 2.0.6-pl
Packages- Captcha 3.2.2-beta, firstchildredirect - 2.1.2-pl, formit-1.5.1.4, tinymce-4.1.2
Browsers: Firefox mac, safari mac
Operating System and version - OSX 10.5.8
The first thing to try is manually deleting the files in the core/cache directory and clearing your browser cache and cookies.. There may be some corrupted Manager code cached there.
That. Is. Amazing. Im not even willing to disclose how long i’ve been troubleshooting this. Was just about to do a new install too.
SOLVED! Thanks so much.
-R
I’m glad you got it sorted.
If there’s corrupted manager code in the cache, there’s no way to log in to clear the site cache. Another sign of this is when you clear the site cache in the Manager and the console is blank.
Good to know...thanks for the follow-up!