Page 1 of 1

Issue with safari not loading pages

Posted: Mon Dec 06, 2010 11:26 am
by tralli
I had a safari specific problem with my website, the browser sometimes returned a blank page, sometimes the page loaded but some of the images wouldn't. This was only happening in safari. After couple of hours of testing I pinpointed the problem to the stylesheets. The page loaded perfectly when using static stylesheet but had problems when using {stylesheet} in the header. Cmsms uses stylesheet.php to load the styles and turns out that stylesheet.php checks if the stylesheet is cached which seems to cause problems with safari (at least safari 5). What I did to solve this was to comment out the following code in stylesheet.php:

Code: Select all

showing core code modifications is prohibited...
I wrote this in case someone else is experiencing the same problem as I did.
Cheers

Re: Issue with safari not loading pages

Posted: Mon Dec 06, 2010 11:07 pm
by Dr.CSS
Showing core modifications is a big no no here, you may have had better luck using the {cms_stylesheet} tag as it caches them...