core icon indicating copy to clipboard operation
core copied to clipboard

curlfile not found

Open hamidhaghdoost opened this issue 10 years ago • 5 comments

[Fri Jan 29 01:04:59.725805 2016] [:error] [pid 7415:tid 140503525742336] [client 65.49.68.205:63718] PHP Fatal error: Class 'CURLFile' not found in /home/upload/domains/hozoorema.com/public_html/vendor/longman/telegram-bot/src/Request.php on line 225

hamidhaghdoost avatar Jan 28 '16 21:01 hamidhaghdoost

I think that could be due to your php version? Which is?

MBoretto avatar Jan 28 '16 22:01 MBoretto

I have the same problem when trying to do sethook with sending the self-signed certificate. PHP Version 5.4.16; curl 7.29.0

akokarev avatar Jan 31 '16 05:01 akokarev

This issue regards the same problems, seems reletated to the php version. https://github.com/akalongman/php-telegram-bot/issues/66

I should check at which version Curlfile has been introduced.

MBoretto avatar Jan 31 '16 18:01 MBoretto

Thank you @MBoretto! This helped. Also had a problem with incorrect installation of the certificate.

akokarev avatar Jan 31 '16 19:01 akokarev

@tuytoosh @akokarev CURLFile was introduced in PHP 5.5.0. So minimum PHP version is 5.5.0 :wink:

noplanman avatar Feb 01 '16 20:02 noplanman