+ Post New Thread
Results 1 to 6 of 6
EduGeek.net Site Problems Thread, Homepage redirects to unavalible page when log in in cached in EduGeek Stuff; When I go to the homepage with firefox 2 if I have left it logged in (credentials cached) it loads ...
  1. #1

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    7,543
    Blog Entries
    9
    Thank Post
    444
    Thanked 1,909 Times in 1,623 Posts
    Rep Power
    457

    Homepage redirects to unavalible page when log in in cached

    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.
    Last edited by ZeroHour; 20th March 2008 at 09:48 AM.

  2. IDG Tech News

  3. #2
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,051
    Blog Entries
    1
    Thank Post
    104
    Thanked 438 Times in 379 Posts
    Rep Power
    114
    screwed up cookies/browser cache perhaps?

  4. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    7,543
    Blog Entries
    9
    Thank Post
    444
    Thanked 1,909 Times in 1,623 Posts
    Rep Power
    457
    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:

    Code:
    <!-- auto DST correction code -->
    <form action="profile.php?do=dst" method="post" name="dstform">
    	<input type="hidden" name="s" value="" />
    	<input type="hidden" name="do" value="dst" />
    </form>
    <script type="text/javascript">
    <!--
    	var tzOffset = 12 + 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 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

  5. #4
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,051
    Blog Entries
    1
    Thank Post
    104
    Thanked 438 Times in 379 Posts
    Rep Power
    114
    I think your right about it being a DST problem. I guess the forum software doesn't know about NZ DST.

  6. #5

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Scotland
    Posts
    5,673
    Blog Entries
    1
    Thank Post
    681
    Thanked 1,017 Times in 591 Posts
    Rep Power
    264
    Fixed, or it should be

  7. Thanks to ZeroHour from:

    SYNACK (20th March 2008)

  8. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    7,543
    Blog Entries
    9
    Thank Post
    444
    Thanked 1,909 Times in 1,623 Posts
    Rep Power
    457
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. [CLOSED] Bug/Error: Homepage
    By Edu-IT in forum EduGeek.net Site Problems
    Replies: 6
    Last Post: 20th March 2008, 12:18 AM
  2. Cached Web pages
    By Newton in forum Windows
    Replies: 6
    Last Post: 19th March 2008, 03:56 PM
  3. removing locally cached profiles
    By browolf in forum Networks
    Replies: 7
    Last Post: 17th January 2008, 12:39 PM
  4. Replies: 3
    Last Post: 22nd October 2007, 10:35 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •