RE: [PHP] Strange errors when PHP script called from CRON

From: Date: Wed, 22 Sep 2004 20:59:38 +0000
Subject: RE: [PHP] Strange errors when PHP script called from CRON
Groups: php.general 
Request: Send a blank email to php-general+get-197625@lists.php.net to get a copy of this message
[snip] i just skimmed the errors, but it looked like various of them were likely due to database failure (i.e., the function didn't have the expected data to process). if something spotty is happening with your database connection that could give you these transient errors (assuming my underlying thinking is correct). [/snip] Some of them are at times caused by the functions not getting the expected data, but for those I always get errors such as "call to a member function on a non-object", for example, when no recordset is returned where one is expected. These errors are there as well, but when they are encountered I, as with the other parse errors, see the lock file staying around until the script next executes, at which point it's removed and the process is allowed to continue. Any other ideas? Cheers and TIA, Pablo

« previous php.general (#197625) next »