View Single Post
  #6 (permalink)  
Old 07-01-2009, 03:03 AM
CJL CJL is offline
Registered User
 
Join Date: Jun 2009
Posts: 8
CJL is on a distinguished road
Quote:
Originally Posted by serversphere View Post
If you don't set up the script to send the output from the PHP script to null, it will likely email it to you (you probably set up an email address when setting up the cron job, right?)

If it didn't actually do anything, check the directory where it is running for an error_log file and see what it says is wrong.
Unfortunately there was no error log present so I don’t think it was actually running what so ever for an error to occur. Therefore I made some changes to script and got the following error which tells me it is at least running. I believe this error was caused by setting the script to passiveftp. But I have changed that and rescheduled it to run later today. I will let you know how it goes.

X-Powered-By: PHP/5.2.9
Content-type: text/html

<br />
<b>Warning</b>: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to http://www.domain.com.au:2082 (Unable to find the socket transport &quot;http&quot; - did you forget to enable it when you configured PHP?) in <b>/home/username/public_html/sender.php</b> on line <b>39</b><br /> Failed to open socket connection Bailing out!
Reply With Quote