Closed GoogleCodeExporter closed 8 years ago
It looks like Gary Keith's web site may have changed, and now Browscap isn't
able to parse some of the data.
When I access Browscap I get an error like the following:
Warning: file_get_contents(http://browsers.garykeith.com/version-date.asp)
[function.file-get-contents]:
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in
/srv/www/Browscap/Browscap.php
on line 576
Fatal error: Uncaught exception 'Browscap_Exception' with message 'Bad datetime
format from
http://browsers.garykeith.com/version-date.asp' in
/srv/www/Browscap/Browscap.php:474 Stack trace: #0
/srv/www/Browscap/Browscap.php(425): Browscap->_getRemoteMTime() #1
/srv/www/Browscap/Browscap.php(306):
Browscap->_getRemoteIniFile('http://browsers...',
'/srv/www/suppor...') #2 /srv/www/Browscap/Browscap.php(228):
Browscap->updateCache() #3
/srv/www/pages/ipinfo/index.php(17): Browscap->getBrowser() #4 {main} thrown in
/srv/www/Browscap/Browscap.php on line 474
Original comment by n...@natesilva.com
on 26 Aug 2008 at 4:37
Gary changed the url of the version-date.asp file, the new version of the class
includes the fix for this problem,
download it and you get your system working... ;)
Original comment by st.jonat...@gmail.com
on 26 Aug 2008 at 6:05
Confirmed working. Thanks!
Original comment by n...@natesilva.com
on 26 Aug 2008 at 6:18
Original issue reported on code.google.com by
n...@natesilva.com
on 26 Aug 2008 at 4:36