Gabi
03-11-2007, 01:45 PM
Hi,
since this morning I have troubles with your website. I can log-in but when I try to navigate eg. to www.scrapartist.com/gallery/ I get error. I found the problem is because of time saving change here in Canada (US). When I change the timezone of my PC to Europe it works. By looking at the HTML code of the webpage this script seems to cause the problem:
<!-- 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 = -5 + 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 -->The code above seems to submit a form but this profile.php does not work, it just displays my web browser's name.
Can you fix this so I can revert my timezone settings back to Canada?
Thanks,
Gabriela
since this morning I have troubles with your website. I can log-in but when I try to navigate eg. to www.scrapartist.com/gallery/ I get error. I found the problem is because of time saving change here in Canada (US). When I change the timezone of my PC to Europe it works. By looking at the HTML code of the webpage this script seems to cause the problem:
<!-- 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 = -5 + 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 -->The code above seems to submit a form but this profile.php does not work, it just displays my web browser's name.
Can you fix this so I can revert my timezone settings back to Canada?
Thanks,
Gabriela