Closed mikevrind closed 10 years ago
Try disabling CURLOPT_FOLLOWLOCATION using connection options setter "setConnectionOptions(array(CURLOPT_FOLLOWLOCATION => false))"
Then I get the error about an invalid access token. But the tokens works, because I'm already using this one in another application.
array(3) { ["data"]=> array(0) { } ["status_code"]=> int(500) ["status_txt"]=> string(24) "INVALID_ARG_ACCESS_TOKEN" }
I just tried implementing this in an application, but got this strange error:
curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set
From PHP.ini:
;safe_mode = Off
;open_basedir =
What else could be the problem?