BUG: cURL availability check
-
I was getting “an error occurred” when trying to save the settings during the initial setup of WP-Piwik. The support page indicated that cURL was available. Running the test script showed that no results were being returned. eg. Result 0.
The Apache error log showed that curl_exec had been disabled:
“PHP Warning: curl_exec() has been disabled for security reasons”
Removing curl_exec from disable_functions in php.ini resolved the issue.
Merely checking for the “presence” of curl isn’t enough. A check to see if it’s “available” needs to be done to account for websites that disable curl in php.ini for security reasons,
The topic ‘BUG: cURL availability check’ is closed to new replies.