{"id":2937,"date":"2014-03-10T23:56:48","date_gmt":"2014-03-10T23:56:48","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/10\/use-of-undefined-constant-curlopt_ipresolve-assumed-curlopt_ipresolve-collection-of-common-programming-errors-2\/"},"modified":"2014-03-10T23:56:48","modified_gmt":"2014-03-10T23:56:48","slug":"use-of-undefined-constant-curlopt_ipresolve-assumed-curlopt_ipresolve-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/10\/use-of-undefined-constant-curlopt_ipresolve-assumed-curlopt_ipresolve-collection-of-common-programming-errors-2\/","title":{"rendered":"Use of undefined constant CURLOPT_IPRESOLVE &#8211; assumed &#39;CURLOPT_IPRESOLVE&#39;-Collection of common programming errors"},"content":{"rendered":"<p>i have http:\/\/www.idiotminds.com\/login-with-facebook-in-codeigniter\/ but i have error<\/p>\n<pre><code>&gt; A PHP Error was encountered\n&gt; \n&gt; Severity: Notice\n&gt; \n&gt; Message: Use of undefined constant CURLOPT_IPRESOLVE - assumed\n&gt; 'CURLOPT_IPRESOLVE'\n&gt; \n&gt; Filename: facebook\/base_facebook.php\n<\/code><\/pre>\n<p>and i fix <strong>CURLOPT_SSL_VERIFYPEER =&gt; false,<\/strong> but not fixed<\/p>\n<p><strong>but i have enable the php_curl<\/strong><\/p>\n<p>**<\/p>\n<pre><code>cURL support enabled\ncURL Information libcurl\/7.24.0 OpenSSL\/0.9.8b zlib\/1.2.3 libidn\/0.6.5\n\n**\n<\/code><\/pre>\n<p>code<\/p>\n<pre><code>public static $CURL_OPTS = array(\n    CURLOPT_CONNECTTIMEOUT =&gt; 10,\n    CURLOPT_RETURNTRANSFER =&gt; true,\n    CURLOPT_TIMEOUT        =&gt; 60,\n    CURLOPT_USERAGENT      =&gt; 'facebook-php-3.2',\n    CURLOPT_SSL_VERIFYPEER =&gt; false\n  );\n<\/code><\/pre>\n<p>it still not work help me please BIG THANKS<\/p>\n","protected":false},"excerpt":{"rendered":"<p>i have http:\/\/www.idiotminds.com\/login-with-facebook-in-codeigniter\/ but i have error &gt; A PHP Error was encountered &gt; &gt; Severity: Notice &gt; &gt; Message: Use of undefined constant CURLOPT_IPRESOLVE &#8211; assumed &gt; &#8216;CURLOPT_IPRESOLVE&#8217; &gt; &gt; Filename: facebook\/base_facebook.php and i fix CURLOPT_SSL_VERIFYPEER =&gt; false, but not fixed but i have enable the php_curl ** cURL support enabled cURL Information libcurl\/7.24.0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2937","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2937"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2937\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}