vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   style caching problem (https://vborg.vbsupport.ru/showthread.php?t=288936)

samergains 10-11-2012 07:50 AM

style caching problem
 
1 Attachment(s)
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:
HTML Code:

<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/


All times are GMT. The time now is 09:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01014 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete