PDA

View Full Version : Forum going mad


misterserveur
10-15-2006, 09:48 AM
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)

Zoints
10-15-2006, 10:13 AM
It's working ok for me. What browser are you using?

Davidhi
10-15-2006, 11:03 AM
not for me using firefox, takes you to profile page and keeps reloading very strange

Cpx
10-15-2006, 12:46 PM
Works for me in FF and IE

Paul M
10-15-2006, 01:11 PM
It works fine if you have javascript disabled - so you must have some rogue/faulty JS script.

G0F0RBR0KE
10-15-2006, 10:53 PM
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..

misterserveur
10-16-2006, 12:51 AM
I cleaned cache and cookies, and nothing changed.

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

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

Damian
10-16-2006, 01:42 AM
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:
<form action="profile.php" method="post" name="dstform"><input name="s" value="" type="hidden">

misterserveur
10-16-2006, 11:09 AM
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 :
<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.