Just checked on my website and noticed that no styling has been applied.
It was working a couple of months ago and I have not made any changes since. All the content appears to be there but stylesheets don't seem to be loading.
website is http://www.stagerightstudios.co.uk
Any thoughts greatly appreciates as it was working an now seems to have stopped. Unabelt to try debug mode until I get home from work tonight but help is greatly needed.
[SOLVED] Page loads but stylesheet isnt loading
[SOLVED] Page loads but stylesheet isnt loading
Last edited by keytouch on Wed Aug 31, 2011 3:51 pm, edited 1 time in total.
Re: Page loads but stylesheet isnt loading
some technical information would be nice, but looks like a permission problem at your webserver. I can't open the stylesheet:
http://www.stagerightstudios.co.uk/tmp/ ... 134293.css
grtz. Rolf
http://www.stagerightstudios.co.uk/tmp/ ... 134293.css
grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: Page loads but stylesheet isnt loading
Have checked permissions for the css file and they are set to 644
Debug mode came up with the following, which i'm afraid I don't understand-
Generated in 0.219147 seconds by CMS Made Simple using 30 SQL queries and 6088332 bytes of memory (peak memory usage was 6446620)
Debug: (0.013286) - (628776)
loading smarty
Debug: (0.019247) - (904236)
loading adodb
Debug: (0.021475) - (992768)
loading page functions
Debug: (0.026444) - (1199880)
loading content functions
Debug: (0.030493) - (1404320)
loading pageinfo functions
Debug: (0.031457) - (1438084)
loading translation functions
Debug: (0.03315) - (1499780)
loading events functions
Debug: (0.035064) - (1584796)
loading php4 entity decode functions
Debug: (0.038594) - (1788500)
done loading files
Debug: (0.057857) - (2468104)
(mysql): SET NAMES 'utf8'
Debug: (0.058456) - (2485304)
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Debug: (0.062811) - (2560476)
(mysql): SELECT * FROM cms_userplugins
Debug: (0.071072) - (2990588)
(mysql): SELECT * FROM cms_modules WHERE admin_only = 0 AND active = 1 ORDER by module_name
Debug display of 'End of include':(0.09271) - (4115640)
Debug display of 'Load Content Operations':(0.093575) - (4129084)
Debug display of 'End Load Content Operations':(0.104797) - (4698036)
Debug: (0.105732) - (4700292)
(mysql): SELECT content_id FROM cms_content WHERE default_content = 1
Debug: (0.106601) - (4701100)
(mysql): SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.titleattribute, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.create_date AS c_create_date, c.modified_date AS c_date, c.cachable, c.last_modified_by, t.template_id, t.encoding, t.modified_date AS t_date FROM cms_templates t INNER JOIN cms_content c ON c.template_id = t.template_id WHERE (c.content_alias = '15' OR c.content_id = '15') AND c.active = 1
Debug: (0.106955) - (4702624)
(mysql): SELECT MAX(modified_date) AS thedate FROM cms_content c
Debug display of 'Start Loading Hierarchy Manager':(0.107635) - (4699872)
Debug display of 'starting tree':(0.10772) - (4700416)
Debug: (0.110917) - (4842308)
file needs loading
Debug display of 'ending tree':(0.111275) - (4861920)
Debug display of 'End Loading Hierarchy Manager':(0.111336) - (4857752)
Debug: (0.111388) - (4858036)
start findNodeByTag
Debug: (0.111458) - (4858264)
end findNodeByTag
Debug: (0.111792) - (4861684)
(mysql): SELECT * FROM cms_content WHERE content_id = '15'
Debug: (0.115348) - (5040712)
load from data is loading properties
Debug: (0.115656) - (5043772)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '15'
Debug: (0.119092) - (5175364)
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '23'
Debug: (0.131601) - (5855636)
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
INNER JOIN cms_events e ON e.event_id = eh.event_id
ORDER BY eh.handler_order ASC
Debug display of 'Start of Menu Manager Display':(0.147313) - (5992076)
Debug: (0.148017) - (6000044)
(mysql): SELECT * FROM cms_content WHERE content_id = '63'
Debug: (0.148409) - (6017392)
load from data is loading properties
Debug: (0.148693) - (6020492)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '63'
Debug: (0.149362) - (6024092)
(mysql): SELECT * FROM cms_content WHERE content_id = '57'
Debug: (0.149722) - (6041140)
load from data is loading properties
Debug: (0.150106) - (6044120)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '57'
Debug: (0.150831) - (6054584)
(mysql): SELECT * FROM cms_content WHERE content_id = '56'
Debug: (0.151219) - (6071616)
load from data is loading properties
Debug: (0.151498) - (6074596)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '56'
Debug: (0.152168) - (6076412)
(mysql): SELECT * FROM cms_content WHERE content_id = '58'
Debug: (0.152546) - (6093536)
load from data is loading properties
Debug: (0.15282) - (6096516)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '58'
Debug: (0.153498) - (6101496)
(mysql): SELECT * FROM cms_content WHERE content_id = '59'
Debug: (0.153866) - (6118636)
load from data is loading properties
Debug: (0.154139) - (6121616)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '59'
Debug: (0.154821) - (6125584)
(mysql): SELECT * FROM cms_content WHERE content_id = '60'
Debug: (0.155205) - (6142616)
load from data is loading properties
Debug: (0.155473) - (6145596)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '60'
Debug: (0.156125) - (6146436)
(mysql): SELECT * FROM cms_content WHERE content_id = '64'
Debug: (0.156493) - (6163468)
load from data is loading properties
Debug: (0.156776) - (6166448)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '64'
Debug: (0.157243) - (6164444)
(mysql): SELECT * FROM cms_content WHERE content_id = '61'
Debug: (0.15762) - (6181476)
load from data is loading properties
Debug: (0.157915) - (6184452)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '61'
Debug: (0.158593) - (6184096)
(mysql): SELECT * FROM cms_content WHERE content_id = '62'
Debug: (0.158995) - (6201128)
load from data is loading properties
Debug: (0.159281) - (6204108)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '62'
Debug display of 'End of Menu Manager Display':(0.205521) - (6259620)
Debug: (0.205826) - (6222372)
start findNodeByTag
Debug: (0.205896) - (6222576)
end findNodeByTag
Debug: (0.217795) - (6245648)
(mysql): SELECT DISTINCT A.css_id,A.css_name,A.css_text,A.modified_date,
A.media_type,B.assoc_order
FROM cms_css A, cms_css_assoc B
WHERE A.css_id = B.assoc_css_id AND B.assoc_type = 'template'
AND B.assoc_to_id = '23' ORDER BY B.assoc_order
Debug: (0.218305) - (6191480)
calling module TinyMCE from event ContentPostRender
Debug mode came up with the following, which i'm afraid I don't understand-
Generated in 0.219147 seconds by CMS Made Simple using 30 SQL queries and 6088332 bytes of memory (peak memory usage was 6446620)
Debug: (0.013286) - (628776)
loading smarty
Debug: (0.019247) - (904236)
loading adodb
Debug: (0.021475) - (992768)
loading page functions
Debug: (0.026444) - (1199880)
loading content functions
Debug: (0.030493) - (1404320)
loading pageinfo functions
Debug: (0.031457) - (1438084)
loading translation functions
Debug: (0.03315) - (1499780)
loading events functions
Debug: (0.035064) - (1584796)
loading php4 entity decode functions
Debug: (0.038594) - (1788500)
done loading files
Debug: (0.057857) - (2468104)
(mysql): SET NAMES 'utf8'
Debug: (0.058456) - (2485304)
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Debug: (0.062811) - (2560476)
(mysql): SELECT * FROM cms_userplugins
Debug: (0.071072) - (2990588)
(mysql): SELECT * FROM cms_modules WHERE admin_only = 0 AND active = 1 ORDER by module_name
Debug display of 'End of include':(0.09271) - (4115640)
Debug display of 'Load Content Operations':(0.093575) - (4129084)
Debug display of 'End Load Content Operations':(0.104797) - (4698036)
Debug: (0.105732) - (4700292)
(mysql): SELECT content_id FROM cms_content WHERE default_content = 1
Debug: (0.106601) - (4701100)
(mysql): SELECT c.content_id, c.content_name, c.content_alias, c.menu_text, c.titleattribute, c.hierarchy, c.metadata, c.id_hierarchy, c.prop_names, c.create_date AS c_create_date, c.modified_date AS c_date, c.cachable, c.last_modified_by, t.template_id, t.encoding, t.modified_date AS t_date FROM cms_templates t INNER JOIN cms_content c ON c.template_id = t.template_id WHERE (c.content_alias = '15' OR c.content_id = '15') AND c.active = 1
Debug: (0.106955) - (4702624)
(mysql): SELECT MAX(modified_date) AS thedate FROM cms_content c
Debug display of 'Start Loading Hierarchy Manager':(0.107635) - (4699872)
Debug display of 'starting tree':(0.10772) - (4700416)
Debug: (0.110917) - (4842308)
file needs loading
Debug display of 'ending tree':(0.111275) - (4861920)
Debug display of 'End Loading Hierarchy Manager':(0.111336) - (4857752)
Debug: (0.111388) - (4858036)
start findNodeByTag
Debug: (0.111458) - (4858264)
end findNodeByTag
Debug: (0.111792) - (4861684)
(mysql): SELECT * FROM cms_content WHERE content_id = '15'
Debug: (0.115348) - (5040712)
load from data is loading properties
Debug: (0.115656) - (5043772)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '15'
Debug: (0.119092) - (5175364)
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '23'
Debug: (0.131601) - (5855636)
(mysql): SELECT eh.tag_name, eh.module_name, e.originator, e.event_name, eh.handler_order, eh.handler_id, eh.removable FROM cms_event_handlers eh
INNER JOIN cms_events e ON e.event_id = eh.event_id
ORDER BY eh.handler_order ASC
Debug display of 'Start of Menu Manager Display':(0.147313) - (5992076)
Debug: (0.148017) - (6000044)
(mysql): SELECT * FROM cms_content WHERE content_id = '63'
Debug: (0.148409) - (6017392)
load from data is loading properties
Debug: (0.148693) - (6020492)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '63'
Debug: (0.149362) - (6024092)
(mysql): SELECT * FROM cms_content WHERE content_id = '57'
Debug: (0.149722) - (6041140)
load from data is loading properties
Debug: (0.150106) - (6044120)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '57'
Debug: (0.150831) - (6054584)
(mysql): SELECT * FROM cms_content WHERE content_id = '56'
Debug: (0.151219) - (6071616)
load from data is loading properties
Debug: (0.151498) - (6074596)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '56'
Debug: (0.152168) - (6076412)
(mysql): SELECT * FROM cms_content WHERE content_id = '58'
Debug: (0.152546) - (6093536)
load from data is loading properties
Debug: (0.15282) - (6096516)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '58'
Debug: (0.153498) - (6101496)
(mysql): SELECT * FROM cms_content WHERE content_id = '59'
Debug: (0.153866) - (6118636)
load from data is loading properties
Debug: (0.154139) - (6121616)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '59'
Debug: (0.154821) - (6125584)
(mysql): SELECT * FROM cms_content WHERE content_id = '60'
Debug: (0.155205) - (6142616)
load from data is loading properties
Debug: (0.155473) - (6145596)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '60'
Debug: (0.156125) - (6146436)
(mysql): SELECT * FROM cms_content WHERE content_id = '64'
Debug: (0.156493) - (6163468)
load from data is loading properties
Debug: (0.156776) - (6166448)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '64'
Debug: (0.157243) - (6164444)
(mysql): SELECT * FROM cms_content WHERE content_id = '61'
Debug: (0.15762) - (6181476)
load from data is loading properties
Debug: (0.157915) - (6184452)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '61'
Debug: (0.158593) - (6184096)
(mysql): SELECT * FROM cms_content WHERE content_id = '62'
Debug: (0.158995) - (6201128)
load from data is loading properties
Debug: (0.159281) - (6204108)
(mysql): SELECT * FROM cms_content_props WHERE content_id = '62'
Debug display of 'End of Menu Manager Display':(0.205521) - (6259620)
Debug: (0.205826) - (6222372)
start findNodeByTag
Debug: (0.205896) - (6222576)
end findNodeByTag
Debug: (0.217795) - (6245648)
(mysql): SELECT DISTINCT A.css_id,A.css_name,A.css_text,A.modified_date,
A.media_type,B.assoc_order
FROM cms_css A, cms_css_assoc B
WHERE A.css_id = B.assoc_css_id AND B.assoc_type = 'template'
AND B.assoc_to_id = '23' ORDER BY B.assoc_order
Debug: (0.218305) - (6191480)
calling module TinyMCE from event ContentPostRender
Re: Page loads but stylesheet isnt loading
SOLVED
CSS was hitting some server security settings.
thank you for help anyway
CSS was hitting some server security settings.
thank you for help anyway
Re: Page loads but stylesheet isnt loading
Nice!
Would you be so kind to add [solved] to the title of the first post?
Rolf
Would you be so kind to add [solved] to the title of the first post?
Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -