Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 10-15-2006, 09:48 AM
misterserveur misterserveur is offline
 
Join Date: Jan 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum going mad

When loading my forum as guest, the page is redirecting to /profile.php and then reloading every second...
It happens on all pages, only when visiting the forum as guest (no pb when logged in).

I.e. : www.virusphoto.com/index.php

How can I fix that ?

Thank you.

(running vb 3.6.0)
Reply With Quote
  #2  
Old 10-15-2006, 10:13 AM
Zoints Zoints is offline
 
Join Date: Feb 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working ok for me. What browser are you using?
Reply With Quote
  #3  
Old 10-15-2006, 11:03 AM
Davidhi Davidhi is offline
 
Join Date: Sep 2006
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not for me using firefox, takes you to profile page and keeps reloading very strange
Reply With Quote
  #4  
Old 10-15-2006, 12:46 PM
Cpx Cpx is offline
 
Join Date: Oct 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works for me in FF and IE
Reply With Quote
  #5  
Old 10-15-2006, 01:11 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine if you have javascript disabled - so you must have some rogue/faulty JS script.
Reply With Quote
  #6  
Old 10-15-2006, 10:53 PM
G0F0RBR0KE G0F0RBR0KE is offline
 
Join Date: Mar 2005
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by misterserveur
When loading my forum as guest, the page is redirecting to /profile.php and then reloading every second...
It happens on all pages, only when visiting the forum as guest (no pb when logged in).

I.e. : www.virusphoto.com/index.php

How can I fix that ?

Thank you.

(running vb 3.6.0)
Try cleaning your cache and cookies..
Reply With Quote
  #7  
Old 10-16-2006, 12:51 AM
misterserveur misterserveur is offline
 
Join Date: Jan 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cleaned cache and cookies, and nothing changed.

But : when I edit the html and delete this part :

Quote:
<form action="profile.php" method="post" name="dstform"><input name="s" value="" type="hidden">
<input name="do" value="dst" type="hidden"></form>
<script type="text/javascript">
<!--
var tzOffset = 2 + 0;
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
then, it's working fine.

What this DST correction code exactly ? Can I delete it ?
Reply With Quote
  #8  
Old 10-16-2006, 01:42 AM
Damian's Avatar
Damian Damian is offline
 
Join Date: Jan 2005
Location: Kentucky
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The DST is used for Daylight Savings Time for areas where it is used.

I see you are using vBadvanced CMPS.
Make sure you have profile.php added to your Footer Replacements in Global Settings.
If that doesn't fix it replace"profile.php" to the full url to your profile.php file here:
HTML Code:
<form action="profile.php" method="post" name="dstform"><input name="s" value="" type="hidden">
Reply With Quote
  #9  
Old 10-16-2006, 11:09 AM
misterserveur misterserveur is offline
 
Join Date: Jan 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
The DST is used for Daylight Savings Time for areas where it is used.

I see you are using vBadvanced CMPS.
Make sure you have profile.php added to your Footer Replacements in Global Settings.
If that doesn't fix it replace"profile.php" to the full url to your profile.php file here:
Thanks for your reply.
- Replacing profile.php to the full url of profile.php doesn't fix the issue.
- I can't find "footer replacements" in vb global settings

Is it a problem if I simply delete that part of the style footer :
Quote:
<form action="profile.php" method="post" name="dstform"><input name="s" value="" type="hidden">
<input name="do" value="dst" type="hidden"></form>
<script type="text/javascript">
<!--
var tzOffset = 2 + 0;
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
Will the forum run properly without that ? (maybe I can turn off this Daylight Savings Time setting somewhere...)

Thanks again.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:56 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.10647 seconds
  • Memory Usage 2,241KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete