I was trying to log in to leave a comment this morning whilst at work, and kept getting JScript errors complaining about "val().length" from the browser.
Attempting to log in seems to be timing out - with the red box saying "Authentication failed" or something similar.
andyFri 8 May 2009
I was able to login with IE8 on my box (WinXP too). That could be a cache issue - make sure you flush your cache to get the latest JavaScript files (they were updated in the last upgrade).
alexlamslFri 8 May 2009
I have cleared it quite a few times and still to no avail. Before the upgrade to IE8 this morning I have been able to log in to the site on the same machine.
andyFri 8 May 2009
Hmmm - I'm using IE8 version 8.0.6001.18702 - what version do you have?
alexlamslFri 8 May 2009
Will have to check tomorrow when I'm back in the office. Just downloaded off Microsoft Update this morning.
In other news - I just tried IE8+ on Vista at home.
I get the same JScript error now:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Fri, 8 May 2009 18:42:41 UTC
Message: 'val().length' is null or not an object
Line: 182
Char: 3
Code: 0
URI: http://www.fandev.org/sidewalk/js/user.js
Except that I am still able to log in here, which was not the case back on the desktop in office.
andyFri 8 May 2009
Yeah I know what that error is on Vista (its actually "harmless") - login should continue to work fine. So something else must be going on with IE8/WinXp.
alexlamslFri 8 May 2009
So you are saying that I shouldn't be getting that error on IE8/WinXP?
andyFri 8 May 2009
You should get this error in all browsers:
IE: val().length
FF: email.val() is undefined
It just attempts to auto-focus an input field onLoad - but that field doesn't always exist (laziness on my part...). So something else is preventing the login - which in other cases was a cache issue since I changed how authentication works in the last upgrade.
brianFri 8 May 2009
I saw something similar in IE 7 until I did a Ctrl+Refresh
alexlamslSat 9 May 2009
So I went into the office today to try again - still no luck.
Then I install Google Chrome on that desktop, and lo and behold - it doesn't work either!
May be that JScript file that you've mentioned which needs updating is being cached by some proxy server in the office connection?
alexlamsl Fri 8 May 2009
I was trying to log in to leave a comment this morning whilst at work, and kept getting JScript errors complaining about "val().length" from the browser.
Attempting to log in seems to be timing out - with the red box saying "Authentication failed" or something similar.
andy Fri 8 May 2009
I was able to login with IE8 on my box (WinXP too). That could be a cache issue - make sure you flush your cache to get the latest JavaScript files (they were updated in the last upgrade).
alexlamsl Fri 8 May 2009
I have cleared it quite a few times and still to no avail. Before the upgrade to IE8 this morning I have been able to log in to the site on the same machine.
andy Fri 8 May 2009
Hmmm - I'm using IE8 version 8.0.6001.18702 - what version do you have?
alexlamsl Fri 8 May 2009
Will have to check tomorrow when I'm back in the office. Just downloaded off Microsoft Update this morning.
In other news - I just tried IE8+ on Vista at home.
I get the same JScript error now:
Except that I am still able to log in here, which was not the case back on the desktop in office.
andy Fri 8 May 2009
Yeah I know what that error is on Vista (its actually "harmless") - login should continue to work fine. So something else must be going on with IE8/WinXp.
alexlamsl Fri 8 May 2009
So you are saying that I shouldn't be getting that error on IE8/WinXP?
andy Fri 8 May 2009
You should get this error in all browsers:
It just attempts to auto-focus an input field onLoad - but that field doesn't always exist (laziness on my part...). So something else is preventing the login - which in other cases was a cache issue since I changed how authentication works in the last upgrade.
brian Fri 8 May 2009
I saw something similar in IE 7 until I did a Ctrl+Refresh
alexlamsl Sat 9 May 2009
So I went into the office today to try again - still no luck.
Then I install Google Chrome on that desktop, and lo and behold - it doesn't work either!
May be that JScript file that you've mentioned which needs updating is being cached by some proxy server in the office connection?