+ 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
    10,691
    Thank Post
    824
    Thanked 2,570 Times in 2,187 Posts
    Blog Entries
    9
    Rep Power
    731

    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 08:48 AM.

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223
    screwed up cookies/browser cache perhaps?

  3. #3

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,691
    Thank Post
    824
    Thanked 2,570 Times in 2,187 Posts
    Blog Entries
    9
    Rep Power
    731
    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

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223
    I think your right about it being a DST problem. I guess the forum software doesn't know about NZ DST.

  5. #5

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,574
    Thank Post
    869
    Thanked 1,293 Times in 786 Posts
    Blog Entries
    1
    Rep Power
    436
    Fixed, or it should be

  6. Thanks to ZeroHour from:

    SYNACK (20th March 2008)

  7. #6

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    10,691
    Thank Post
    824
    Thanked 2,570 Times in 2,187 Posts
    Blog Entries
    9
    Rep Power
    731
    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: 19th March 2008, 11:18 PM
  2. Cached Web pages
    By Newton in forum Windows
    Replies: 6
    Last Post: 19th March 2008, 02:56 PM
  3. removing locally cached profiles
    By browolf in forum Wireless Networks
    Replies: 7
    Last Post: 17th January 2008, 11:39 AM
  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
  •