Page 1 of 1

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

Posted: Mon Oct 08, 2007 3:59 pm
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/

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

Posted: Mon Oct 08, 2007 4:39 pm
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

?>


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

Posted: Mon Oct 08, 2007 4:54 pm
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!

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

Posted: Mon Oct 08, 2007 6:54 pm
by tsw
probably some editor setting that wants to add empty lines at the end of the file.