WXforum.net
June 19, 2013, 05:11:34 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6696  •  Posts: 181412  •  Topics: 18417
Please welcome josecmorales, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Ajax error message  (Read 306 times)
0 Members and 1 Guest are viewing this topic.
Moose Whisperer
Senior Contributor
****
Offline Offline

Posts: 210



WWW
« on: April 30, 2012, 01:48:51 PM »

What exactly is the error message: "Sorry...Ajax updates are not available for you browser" trying to say?

I get this at work (due to the firewall?), though everything seems to display just fine.
Logged

saratogaWX
Administrator
Forecaster
*****
Offline Offline

Posts: 3784


Saratoga, CA, USA Weather - free PHP scripts


WWW
« Reply #1 on: April 30, 2012, 03:10:46 PM »

In the ajaxCUwx.js, it's emitted by the function
Code:
function ajaxRequest () {
/* find the handler for AJAX based on availability of the request object */
try { var request = new XMLHttpRequest() /* non IE browser (or IE8 native) */ }
catch(e1) {
try { request = ActiveXObject("Msxml2.XMLHTTP") /* try IE6+ */ }
catch(e2) {
try { request = ActiveXObject("Microsoft.XMLHTTP") /* try IE5 */}
catch(e3) // no Ajax support
{ request = false; alert('Sorry.. AJAX updates are not available for your browser.') }
}
}
if (! request) { maxupdates = 1; }
return request;
}

It just means that your current browser settings/setup doesn't have support for the XMLHttpRequest() function, nor (if older IE) the equivalent functions in IE.

What browser/version are you using?

Yes, the page will display fine (PHP values), just no AJAX updates will be working for your browser.

Best regards,
Ken
Logged

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP
Moose Whisperer
Senior Contributor
****
Offline Offline

Posts: 210



WWW
« Reply #2 on: April 30, 2012, 03:42:42 PM »

Quote
What browser/version are you using?

Stupid IE6  Mad

Yes I know, this place is still stuck in the stone age!  d'oh!

-Derek
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.067 seconds with 19 queries.
anything