PDA

View Full Version : New Style - Forum Running Slow


ams3521
05-26-2008, 12:11 AM
Hello i imported a new theme through admin and didnt merge it with my existing style or anything. The images were in a seperate folder too so no over writting there. I didnt like the style and deleted it and reverted back to my old skin. Now my forum is running real slow in Firefox but seems ok in IE. It looks like it's having probs downloading something on firefox. Does anyone have any suggestions on what could be wrong?

thanks
http://www.thedailypunt.com/forum/

PyroNET
05-26-2008, 01:58 AM
Not sure what's causing the problem exactly, but here's a few things I noticed:


You seem to be including jQuery merely for the fisheye effect; increases load time a bit.
There's an <else /> tag in the source, meaning there's a broken conditional somewhere in your templates, potentially displaying unwanted content.
The W3 validator can't check it because there's a utf-8 character you've specified an ISO-8859-1 charset. Fix that and see if it validates.
Your CSS isn't stored in an external stylesheet meaning it isn't being cached.

ams3521
05-26-2008, 06:48 AM
Thanks for the reply Pyro. Ive just started to get a look at it as ive been out. Its really depressing me especially as the man that does all the things like this on my forum has run away with a teenage girl and has no internet access yet.

1 - Im gonna remove the fisheye entirely Pyro. I hate it.

2 - How would i go about finding out where this broken conditional is Pyro? I couldnt begin to think but i'll go have a look and see if there's anything i can tidy up.

3. this is a weird one as when i look at the line number it doesnt seem to be anything that could cause probs

<div style="float:left">
by <a href="http://www.thedailypunt.com/forum/members/anothrspacecat.html" >AnothrSpacecat</a>
</div>
<div align="right">
16-05-2008 <span class="time">02:34</span>
<a href="http://www.thedailypunt.com/forum/tv/112380-internet-telly-post-your-channels-post511653.html#post511653"><img class="inlineimg" src="/forum/skin_images/buttons/lastpost.gif" alt="Go to last post" border="0" /></a>
</div>

4. I will go and look at how to sort this. Sounds fairly easy (i hope)

Thanks Pyro

--------------- Added 1211789749 at 1211789749 ---------------

ive added AddDefaultCharset utf-8 to the htaccess file Pyro and that seems to have helped me a bit. Its not painfully slow now. Still showing probs with the character set though. I cant find 'The error was: utf8 "\x96" does not map to Unicode ' in any code on my site

PyroNET
05-26-2008, 03:32 PM
Seems to be loading faster for me now.

I don't notice the conditional anymore.

For the charset thing, I'm not sure if the htaccess edit is necessary; just delete the problem line, rewrite it in notepad or something, and paste it back in.

To store the stylesheet as a file, go to AdminCP -> vBulletin Options -> Style and Language Settings -> Store CSS Stylesheets as Files? -> Yes