polpo
01-03-2007, 07:26 AM
When doing anything on the forum in Firefox from just simply going to http://forums.slickdeals.net/ I get randomly redirected to http://forums.slickdeals.net/profile.php, which shows up as blank. It looks like there's some javascript in VBulletin that's causing it:
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = -6 + 1;
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 -->
It looks like profile.php exists, as I don't get a 404, but it may be empty or broken.
<!-- auto DST correction code -->
<form action="profile.php" method="post" name="dstform">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = -6 + 1;
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 -->
It looks like profile.php exists, as I don't get a 404, but it may be empty or broken.