Here’s the latest occurrence @ around 1:00 pm est on 3/11/11
• Environment:
o XAMPP for Windows Version 1.7.3
o Windows 7
o MySql
Server: localhost via TCP/IP
Server version: 5.1.41
Protocol version: 10
User: root@localhost
MySQL charset: UTF-8 Unicode (utf8)
o Web Server
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
MySQL client version: 5.1.41
Failure Scenario - this is all i did:
• Login to Manager
• Open a chunk
• Copy new data into the chunk
• Hit Save (I have the Save and Continue choice selected) - Didn’t notice if the Save Successful message came up
• Click on Resources tab and the Manager is hung with one of these as the URL
http://localhost/modx/seaville/manager/index.php?a=10&id=3 or
http://localhost/modx/seaville/manager/index.php?a=1
• This URL http://localhost/modx/seaville/manager/ shows a blank screen
• No entries for this time period in the core/cache/logs/error.log
Edited to add:
Compared Manager folders from clean install and crashed install, only difference was config.core.php which was correct.
Edited to add:
crashed site index.php was different - here is a link to the "bad" manager/index.php -
http://www.seaville-suzuki.com/temp/index-bad.php
What’s weird is that the index-bad.php file above seems to run remotely but not locally - i have a lot to learn - now on to debug php code?
Edited to add:
in the Manager/index.php the following statement is the one that the script hangs on:
$modx->initialize(’mgr’);
Edited to add:
I found a workaround for the problem but not what caused the problem.
I renamed the following 2 files and then i was able to login again
- core/cache/mgr/context.cache.php
- core/cache/mgr/actions.cache.php
Edited to add:
- happened again on 3/12/11
- here are links to the two files i had to erase (originally they had an extension of php. I changed the extension to txt.
-
http://www.seaville-suzuki.com/temp/context.cache.txt
-
http://www.seaville-suzuki.com/temp/actions.cache.txt
Edited to add:
- failed again on 3/13/11 - multiple times when creating template variables - error log shows this error: C:\xampp\htdocs\modx\seaville\manager\index-test.php:29)
[2011-03-13 19:13:42] (ERROR @ /modx/seaville/connectors/element/tv.php) modTemplateVarTemplate: Attempt to set NOT NULL field rank to NULL
- this time erasing the two above files didn’t fix the problem. I erased all of the subdirectories under core/cache except the logs subdirectory and i’m getting a warning "Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\modx\seaville\manager\index-test.php:29) in C:\xampp\htdocs\modx\seaville\core\model\modx\modx.class.php on line 2846
- posted the latest error log here:
http://www.seaville-suzuki.com/temp/error.log
- i could really use some help