Stylesheets won't load
-
Roolio
Stylesheets won't load
Hi,
I am new at CMSMS. Actually new at CMS. Just installed the latest version and all went well. My problem now is that i cannot load any stylesheets. I followed the Mint chocolate template method to convert a template. Template works, stylesheet doesn't.
I've tried the new CMS themes with the theme manager, and again: template works but no stylesheet.
I've installed CMSMS in a subdirectory of the root.
Any suggestions where to start?
Thanks!
Roel
Amsterdam
I am new at CMSMS. Actually new at CMS. Just installed the latest version and all went well. My problem now is that i cannot load any stylesheets. I followed the Mint chocolate template method to convert a template. Template works, stylesheet doesn't.
I've tried the new CMS themes with the theme manager, and again: template works but no stylesheet.
I've installed CMSMS in a subdirectory of the root.
Any suggestions where to start?
Thanks!
Roel
Amsterdam
Re: Stylesheets won't load
Hi,
Welcome. Strange issue.
Make sure the {stylesheet} tag is present inside the section of the template.
Make sure the stylesheet(s) is(/are) attached to the template (using the CSS button besides the templatename when you follow "Layout" -> "Templates" in the admin menu).
Installing CMSMS in a subdir is of no influence, the stylesheets are kept in the database.
Regards,
D
Welcome. Strange issue.
Make sure the {stylesheet} tag is present inside the section of the template.
Make sure the stylesheet(s) is(/are) attached to the template (using the CSS button besides the templatename when you follow "Layout" -> "Templates" in the admin menu).
Installing CMSMS in a subdir is of no influence, the stylesheets are kept in the database.
Regards,
D
-
Roolio
Re: Stylesheets won't load
Thanks for fast response... No luck though...
{stylesheet} tag is present and at the right place and stylesheets are attached to the template.
After installing a full xml theme with theme manager everything normally should work or not?
CSS Validator says: No stylesheet found....
{stylesheet} tag is present and at the right place and stylesheets are attached to the template.
After installing a full xml theme with theme manager everything normally should work or not?
CSS Validator says: No stylesheet found....
Re: Stylesheets won't load
I'm not sure, I never really used theme imports.
Were stylesheets working after the installation of CMS Made Simple, did the frontend look normal (had colors, columns and such)?
Which theme did you install?
Can you supply a link to your site?
Were stylesheets working after the installation of CMS Made Simple, did the frontend look normal (had colors, columns and such)?
Which theme did you install?
Can you supply a link to your site?
-
Roolio
Re: Stylesheets won't load
No, stylesheet didn't work after installation on the frontend I realise now. Didn't know it supposed to.
I've tried different themes. The template now is Lazy Days.
I've downloaded them from http://themes.cmsmadesimple.org/
My testpage is www.twaalfjuli.nl/simpel
Thanks!
I've tried different themes. The template now is Lazy Days.
I've downloaded them from http://themes.cmsmadesimple.org/
My testpage is www.twaalfjuli.nl/simpel
Thanks!
-
Roolio
Re: Stylesheets won't load
Well,
Just re-installed CMSMS, but still no stylesheet loading....
Anyone any ideas?
Thank you....
Just re-installed CMSMS, but still no stylesheet loading....
Anyone any ideas?
Thank you....
Re: Stylesheets won't load
The stylesheets are linked
But their contents is emtpy (http://www.twaalfjuli.nl/simpel/stylesh ... ype=screen).
The document content type is text/html so stylesheet.php doesn't even get to send HTTP headers; it looks like PHP is encountering a fatal error. It could be it runs out of memory because of a too low memory_limit setting (PHP's default is 8M which is not enough in many cases), or missing needed components.
Check the webserver logs for more info (or increase PHP's error_reporting_level setting) on what causes the fatal error.
Regards,
D
Code: Select all
<link rel="stylesheet" type="text/css" media="screen" href="http://www.twaalfjuli.nl/simpel/stylesheet.php?templateid=16&mediatype=screen" />
<link rel="stylesheet" type="text/css" href="http://www.twaalfjuli.nl/simpel/stylesheet.php?templateid=16" />
<link rel="stylesheet" type="text/css" media="print" href="http://www.twaalfjuli.nl/simpel/stylesheet.php?templateid=16&mediatype=print" />
The document content type is text/html so stylesheet.php doesn't even get to send HTTP headers; it looks like PHP is encountering a fatal error. It could be it runs out of memory because of a too low memory_limit setting (PHP's default is 8M which is not enough in many cases), or missing needed components.
Check the webserver logs for more info (or increase PHP's error_reporting_level setting) on what causes the fatal error.
Regards,
D
-
Roolio
Re: Stylesheets won't load
Back again....
I've checked the websever. No problems there...
Reinstalled CMSMS again from scratch and again...template works fine, no stylesheet.
The PHP version is not updated to 4.3.3 yet. Could that be the problem?
Appreciate your efforts and help....
www.twaalfjuli.nl/simpel
I've checked the websever. No problems there...
Reinstalled CMSMS again from scratch and again...template works fine, no stylesheet.
The PHP version is not updated to 4.3.3 yet. Could that be the problem?
Appreciate your efforts and help....
www.twaalfjuli.nl/simpel
Re: Stylesheets won't load
Indeed it could... in stylesheet.php (on line 63) replace mysql_real_escape_string with mysql_escape_string (mysql_real_escape_string is not supported before PHP-4.3)Roolio wrote: The PHP version is not updated to 4.3.3 yet. Could that be the problem?
Code: Select all
$sql="SELECT css_text, css_name FROM ".$config['db_prefix']."css WHERE css_name = '" . mysql_escape_string($name, $db) . "'";D
Last edited by Anonymous on Mon Jan 15, 2007 10:32 pm, edited 1 time in total.
-
Roolio
Re: Stylesheets won't load
Thanx,
But still no luck, i'll migrate to another server with 4.3.3.
Cheers
But still no luck, i'll migrate to another server with 4.3.3.
Cheers

