CSS suddenly not loading or being parsed
Posted: Tue Jun 11, 2013 5:59 pm
Well, I'm stumped. I have a site I've been running since 2008 without incident. CMSMS 1.6.5. I've made no site changes recently. Yesterday, however, someone reported they were getting only a "navigation page" and couldn't access any of the site's pages. Sure enough, that's what it looks like. The code is being retrieved and parsed from the DB, but it's like the CSS is not being rendered. The system info is as follows:
----------------------------------------------
Cms Version: 1.6.5
Installed Modules:
CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.6.2
ModuleManager: 1.3.1
News: 2.11.3
nuSOAP: 1.0.1
Printing: 1.1.2
Search: 1.6.1
ThemeManager: 1.1.4
TinyMCE: 2.5.4
LightBox: 1.0.1
FormBuilder: 0.5.11
CGExtensions: 1.17.2
CGCalendar: 1.2.3
Album: 0.9.3
Album: 0.9.3
CGExtensions: 1.17.2
CGCalendar: 1.2.3
FormBuilder: 0.5.11
LightBox: 1.0.1
CGGoogleMaps: 1.4
EventsListing: 1.4
avplayer: 1.01
CGSimpleSmarty: 1.4.4
CMSMailer: 1.73.13
Gallery: 1.4.4
Config Information:
php_memory_limit: 96M
process_whole_template: false
max_upload_size: 2000000
default_upload_permission: 755
assume_mod_rewrite: true
page_extension: .html
internal_pretty_urls: false
use_hierarchy: true
Php Information:
phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
memory_limit: 96M
max_execution_time: 300
safe_mode: Off (False)
session_save_path: /home/users/web/b1753/whl.dmactkd/cgi-bin/tmp (0755)
Server Information:
Server Api: cgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.0.91
----------------------------------------------
I checked the web host, because sometimes they make upgrades without informing the customers, but PHP and MySQL are installed and seem to be running correctly.
So I edited config.php and set
$config['debug'] = false;
in order to see what's wrong. Then I reloaded the site and everything seems to run normally now. CSS is being rendered and I can navigate the site. Except now there's a couple hundred lines of debug info at the bottom of the site pages, so I can't leave it that way. The debug info shows nothing out of the ordinary, no errors appear and all the SQL is returning results as it should. Setting $config['debug']=true again causes the original problem to resurface.
What is it about setting debug ON that would cause the problem to correct itself? Anyone got any thoughts, 'cause I'm out of ideas here.
----------------------------------------------
Cms Version: 1.6.5
Installed Modules:
CMSMailer: 2.0.1
FileManager: 1.1.0
MenuManager: 1.6.2
ModuleManager: 1.3.1
News: 2.11.3
nuSOAP: 1.0.1
Printing: 1.1.2
Search: 1.6.1
ThemeManager: 1.1.4
TinyMCE: 2.5.4
LightBox: 1.0.1
FormBuilder: 0.5.11
CGExtensions: 1.17.2
CGCalendar: 1.2.3
Album: 0.9.3
Album: 0.9.3
CGExtensions: 1.17.2
CGCalendar: 1.2.3
FormBuilder: 0.5.11
LightBox: 1.0.1
CGGoogleMaps: 1.4
EventsListing: 1.4
avplayer: 1.01
CGSimpleSmarty: 1.4.4
CMSMailer: 1.73.13
Gallery: 1.4.4
Config Information:
php_memory_limit: 96M
process_whole_template: false
max_upload_size: 2000000
default_upload_permission: 755
assume_mod_rewrite: true
page_extension: .html
internal_pretty_urls: false
use_hierarchy: true
Php Information:
phpversion: 5.2.17
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
memory_limit: 96M
max_execution_time: 300
safe_mode: Off (False)
session_save_path: /home/users/web/b1753/whl.dmactkd/cgi-bin/tmp (0755)
Server Information:
Server Api: cgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.0.91
----------------------------------------------
I checked the web host, because sometimes they make upgrades without informing the customers, but PHP and MySQL are installed and seem to be running correctly.
So I edited config.php and set
$config['debug'] = false;
in order to see what's wrong. Then I reloaded the site and everything seems to run normally now. CSS is being rendered and I can navigate the site. Except now there's a couple hundred lines of debug info at the bottom of the site pages, so I can't leave it that way. The debug info shows nothing out of the ordinary, no errors appear and all the SQL is returning results as it should. Setting $config['debug']=true again causes the original problem to resurface.
What is it about setting debug ON that would cause the problem to correct itself? Anyone got any thoughts, 'cause I'm out of ideas here.