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

2004-09-22 Thread Pablo Gosse
[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 underlyi

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

2004-09-22 Thread Chris Gregors
are the source. -Original Message- From: Pablo Gosse [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 2:35 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Strange errors when PHP script called from CRON Marek Kilimajer wrote: [snip] >>> Perhaps. Could the data being utili

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

2004-09-22 Thread Pablo Gosse
Marek Kilimajer wrote: [snip] >>> Perhaps. Could the data being utilized by the code occasionally have >>> characters that should be escaped, by aren't? Are you escaping all >>> of the escapable characters, especially quotes, both single and >>> double? >> >> >> That's what I was thinking initia

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

2004-09-22 Thread Marek Kilimajer
Pablo Gosse wrote: Jay Blanchard wrote: [snip] Does anyone have any idea why I might be getting these errors? The code above, to me at least, doesn't look like it should be throwing parse errors. The script which is called by my crontab to start this process executes every minute, so I find it

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

2004-09-22 Thread Pablo Gosse
Jay Blanchard wrote: > [snip] > Does anyone have any idea why I might be getting these errors? The > code above, to me at least, doesn't look like it should be throwing > parse errors. > > The script which is called by my crontab to start this process > executes every minute, so I find it very

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

2004-09-22 Thread Jay Blanchard
[snip] Does anyone have any idea why I might be getting these errors? The code above, to me at least, doesn't look like it should be throwing parse errors. The script which is called by my crontab to start this process executes every minute, so I find it very strange that I'm getting these sporad

[PHP] Strange errors when PHP script called from CRON

2004-09-22 Thread Pablo Gosse
Hi folks. I've written a CMS where I work, the publishing guts of which is executed through a php script called from my crontab every minute. Every so often (it's happened roughly 17 times since July 22) I get parse errors in my log file when the scripts run into errors while executing. This is