Hi Stephen!
An error code of 0 generally means that no error code is set up for that cURL error. I have run into this a couple of times before on some edge cases.
Can you please run that code in a test template, and uncomment the following lines in ‘third_party/ce_tweet/libraries/EpiCurl’ (around line 162-169)?
You’ll want to change the lines from this:
/* //added by Aaron Waldon to get the curl error message on 3/7/2013 if ( $data === false ) { //exit( 'Curl error: ' . curl_error( $done[ 'handle' ] ) ); throw new Exception( 'Curl error: ' . curl_error( $done[ 'handle' ] ) ); } */
to this:
//added by Aaron Waldon to get the curl error message on 3/7/2013 if ( $data === false ) { //exit( 'Curl error: ' . curl_error( $done[ 'handle' ] ) ); throw new Exception( 'Curl error: ' . curl_error( $done[ 'handle' ] ) ); }
When you refresh the page, you should see an error. Can you please let me know what it is?
Just last week someone uncommented the above code and got an error that said: “Curl error: Problem with the SSL CA cert (path? access rights?)”. It turned out that it was some esoteric error that people on Stack Overflow had posted about, and the solution was to simply restart Apache. The error you get may be different though…
Please let me know what you find out. :)
|