Help: Firefox loses stylesheet after clearing CMS's cache?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
benb

Help: Firefox loses stylesheet after clearing CMS's cache?

Post by benb »

I'm testing out CMS Made Simple 1.1.4.1 and everything was working great until I tried the config options for URL rewrites. I changed the setting for mod_rewrite URLs as needed and cleared the cache from inside the admin panel.

When I opened Firefox the theme was gone. No errors on the page, just an unstyled site. I'm using the 'CSSMenu - Horizontal' stylesheet with the 'CSSMenu Top + 2 columns' template. The site shows up fine still in IE7.

I reset the mod_rewite value to false so it would be like it was before, but still no change. I've cleared the CMSMS cache again, and cleared my browser cache as well with no luck.

When I visit and/or login to the admin area I get errors in the header like the ones below:

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/benbail/public_html/cmsmadesimple/config.php:169) in /home/benbail/public_html/cmsmadesimple/lib/classes/class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /home/benbail/public_html/cmsmadesimple/config.php:169) in /home/benbail/public_html/cmsmadesimple/lib/classes/class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/benbail/public_html/cmsmadesimple/config.php:169) in /home/benbail/public_html/cmsmadesimple/lib/classes/class.admintheme.inc.php on line 167
I've looked though the files listed, but couldn't see anything obvious ( I didn't change anything other than the URL section of config.php).

So, is there any way to get my stylesheet back in FF, or do I have to start over?

The link to the site is:
http://www.benbailey.net/cmsmadesimple/
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Help: Firefox loses stylesheet after clearing CMS's cache?

Post by tsw »

just a guess, but check that your config.php file does NOT end in a extra newline.

it should be just

Code: Select all

?> 
not

Code: Select all

?>

benb

Re: Help: Firefox loses stylesheet after clearing CMS's cache?

Post by benb »

That did it. For some reason there were several blank lines at the end of the config file.

I knew it had to be something simple.

Thanks!
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Help: Firefox loses stylesheet after clearing CMS's cache?

Post by tsw »

probably some editor setting that wants to add empty lines at the end of the file.
Locked

Return to “CMSMS Core”