Jump to content

Recommended Posts

Posted (edited)

When I go to the homepage with firefox 2 if I have left it logged in (credentials cached) it loads the front page then redirects the browser to http://www.edugeek.net/profile.php?do=dst which does not appear to exist.

 

It works fine if I go right to the forums though.

 

Thanks.

 

edit:

Just checked it on another machine and it works fine, must be something to do with that machine I think.

Edited by ZeroHour
Posted

Nope, cleared out the cookies and cache, restarted the browser etc, it even does the same thing in IE7. I had a look at the page source, it is something to do with this bit of code on the main page:

 

</pre><form action="profile.php?do=dst" method="post" name="dstform">


</form><br><script type="text/javascript"><br />
<!--<br />
	var tzOffset = 12 + 1;<br />
	var utcOffset = new Date().getTimezoneOffset() / 60;<br />
	if (Math.abs(tzOffset + utcOffset) == 1)<br />
	{	// Dst offset is 1 so its changed<br />
		document.forms.dstform.submit();<br />
	}<br />
//--><br />
</script><b

 

It only happens on my lesser laptop which is patched for the NZ DST changes, maybe it is something to do with that. At any rate this bit of code is cooked as the feature it is supposed to trigger is missing in action :)

Posted

Yeap, seems to be fixed now. Thanks ZH.

 

Geoff - its probably something to do with the fact that under DST New Zealand is GMT +13, crazy system, my old Garmin etrex couldn't cope with it either. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...