[ Video Sharing CMS v4 ] Error lib/fb/base_facebook.php on line 977.

Started by hamnawa,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hamnawaTopic starter

Someone help with following errors showing in error_log:

[14-Dec-2013 14:55:26] PHP Notice:  Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE' in /home4/username/public_html/lib/fb/base_facebook.php on line 962
[14-Dec-2013 14:55:26] PHP Fatal error:  Uncaught CurlException: 28: connect() timed out!
  thrown in /home4/username/public_html/lib/fb/base_facebook.php on line 977
[15-Dec-2013 07:18:12] PHP Notice:  Use of undefined constant CURLOPT_IPRESOLVE - assumed 'CURLOPT_IPRESOLVE' in /home4/username/public_html/lib/fb/base_facebook.php on line 962
[15-Dec-2013 07:18:12] PHP Fatal error:  Uncaught CurlException: 28: connect() timed out!
  thrown in /home4/username/public_html/lib/fb/base_facebook.php on line 977


Line 962:
    if ($result === false && empty($opts[CURLOPT_IPRESOLVE])) {


Line 977:
     
$e = new FacebookApiException(array(
  •  

Marius P.

Here you go https://www.google.com/search?q=PHP+Notice%3A +Use+of+undefined+constant+CURLOPT_IPRESOLVE
There are a lot of topics over Facebook's SDK related to this error.
To be honest, is first time I hear about it. This explains it http://stackoverflow.com/questions/11220416/php-curl-curlopt-ipresolve
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

Similar topics (7)

Replies: 1
Views: 332

Replies: 3
Views: 1218

Replies: 6
Views: 1130

Replies: 2
Views: 955