GaretJax / phpbrowscap

Standalone replacement for php's native get_browser() function
MIT License
429 stars 69 forks source link

Rate limit exceeded? #62

Open cwbeck opened 10 years ago

cwbeck commented 10 years ago

root@ams2-web-1:~# cat /tmp/browscap.ini Rate limit exceeded. Please try again later. root@ams2-web-1:~#

Any idea why this is happening?

The-spiki commented 10 years ago

Browscap.php is trying to update browscap.ini occasionally querying www.browscap.org for new version etc The browscap.org website has "rate limiting" (written on the site)

If it happens that they have blocked (your/)server IP, when browscap.php tries to download new version it gets the message "Rate limit exceeded. Please try again later." instead of the real deal. That is reason why you have that error message instead of the "real content" into the browscap.ini file.