Re: script failing at same line

From: Date: Fri, 04 Sep 2009 21:05:22 +0000
Subject: Re: script failing at same line
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-297696@lists.php.net to get a copy of this message
$map = ms_newMapObj($mapfile); The command creates a new mapscript object. Jay Blanchard wrote:
[snip] I have a script that intermittently fails at the same line. I am trying to write some code that will throw an exception after 5 seconds if the command on that line fails and the script freezes. Any ideas? [/snip] I have lots of ideas! But those really won't help you :) We need to see the code at that line and be told what is being done in order to make a reasonable guess. My bet is that the data being fed to the script has a character that is not expected or something.


« previous php.general (#297696) next »