GaretJax / phpbrowscap

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

Fatal error: Call to undefined function curl_init() #15

Open reinder opened 12 years ago

reinder commented 12 years ago

This morning I got the error mentioned above, because it failed to get the ini file. But on my server I haven't installed curl which results in a blank website for me.

jonathaningram commented 12 years ago

This is a duplicate of #12 :) but you are correct, this needs to be fixed. I was in contact with the repo owner two weeks ago and he was eager to make changes, so perhaps he has been unavailable to make these changes.

jonathaningram commented 12 years ago

Hmm not sure why I commented that above ^. I think it was meant to send to another issue.

reinder commented 12 years ago

@Krinkle

The problem is that in case of a failure of the selected method, the following method is used (the case has no break statements!) without checking if it is supported!

quentin389 commented 11 years ago

It's such an old issue that probably nobody is interested in it any more, but nevertheless this have not been fixed. The switch that tries out different remote fetch methods does not have any error handling whatsoever and will emit errors/notices when some fetch method is disabled or blocked. To be fixed.