Issue with safari not loading pages

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
tralli

Issue with safari not loading pages

Post 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
Last edited by tralli on Mon Dec 06, 2010 11:08 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Issue with safari not loading pages

Post 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...
Locked

Return to “CMSMS Core”