Redefining the question-- I found a way to debug the method by inserting
PHP Code error_log("Step 1", 1,"email@address.com");
at several steps in the code. The problem is around the initialization of CURL:
PHP Code error_log("Started Activation", 1,"email@address.com");
$ch = curl_init();
error_log("Initialized", 1,"email@address.com");
curl_setopt($ch, CURLOPT_URL, "http://myurl/file.php");
curl_setopt($ch, CURLOPT_HEADER, 0);
error_log("Ready to Go!", 1,"email@address.com");
curl_exec($ch);
curl_close($ch);
error_log("All Done!", 1,"email@address.com");
The script is failing on PHP Code $ch = curl_init();
but I can't figure out why.
Any Ideas?
|