PDA

View Full Version : style caching problem


samergains
10-11-2012, 07:50 AM
Hi everyone..

I'm facing a problem that i'm not sure how to fix it. here is a description about it:
after we moved our forum to a new server, sometimes the style is loosing some of it's css settings. that happens only on two pages: on home page and on user profile page.
all what it takes to fix it is to clear the browser cache and refresh the page. but it happens again with time. ( i attached 2 screenshots, one is when the problem happens, the second one is after clearing browser cache and which is the normal style of the forum).
i use vb4.2 and here is link to our forum: http://arabic.rt.com/forum/
any ideas what could coz such a problem?

thanks in advance for any help.

Lynne
10-11-2012, 04:36 PM
I'd suggest looking into this issue using firebug > console. Right off the bat I am seeing errors on your pages like:

"NetworkError: 404 Not Found - http://arabic.rt.com/media/pics//168/"

So, it looks like you have entered some paths incorrectly. I'd check your error_logs to see if there is anything in there about the css.

I ran your page through a validator and it does not like these (they are incorrect html, I'd suggest you read up on them and correct it):
<!------------------------------------->

It also doesn't like your marquee tag since that is deprecated. I'd suggest correcting that also.

You are also missing the </p> tag that should be paired with this:
<td width="100%">
<p align="center" dir="rtl"><span style="font-size: 8pt; font-weight: 700">في حال وجود أي مواضيع او ردود مُخالفة من قبل
الأعضاء ، يرجى الإبلاغ عنها فورا باستخدام أيقونة

If any of the above errors are the cause of the issue, I would guess it was the last one.

samergains
10-25-2012, 11:51 AM
thanks a lot Lynne. I really appreciate your help. I'll check all your notes.
may I ask what is the validator that u used to check the forum?
thanks again

Lynne
10-25-2012, 03:43 PM
I use http://validator.w3.org/