Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Whenever I connect to a WiFi at Starbucks, I'm prompted with this warning:

enter image description here

After clicking OK everything is fine and I can login as usual.

  • What's causing this error?
  • How do I troubleshoot?
share|improve this question

1 Answer 1

up vote 1 down vote accepted

It's more likely their problem. Their JavaScript programmer didn't do a good job in handling stuff.

share|improve this answer
    
Could you please extend your answer a bit more? Like: Why is this a problem of the website and not a bug of the browser? Thanks :) –  gentmatt Mar 10 '12 at 11:23
1  
From the error, it seems like the JavaScript is expecting a certain type of object, but when the JavaScript is running in your browser, the object isn't generated, and a null object is returned to the JavaScript. The JavaScript doesn't know how to handle this null object and therefore an error is thrown. –  revolver Mar 10 '12 at 11:29
    
This is a good and comprehensable explanation! –  gentmatt Mar 10 '12 at 11:33
    
Thanks. Glad that it helped –  revolver Mar 10 '12 at 11:35
1  
what this usually is, is a common scripting issue with page load and page init events in different browsers. Coupled with the relative execution speeds of JS in newer browsers whereby the script that throws the "null" error is expecting the initialisation code to already have been run, when in fact it has not. Basically, older code on BTOpenzone's part. Most client-side developers now use jQuery (or it's ilk) which has much better page events synchronisation than using the built in page events of the browsers in use. –  Stu Wilson Mar 10 '12 at 14:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.