Hello,
I am getting the error Fatal error: Maximum execution time of 30 seconds exceeded in <url to the php page> line 334 . This error is on and off. Nothing wrong with the code as seen below, the red part is the line in question, that the error points to .
I change the max time limit in php.ini and set it to 45. This is not the best solution for this I know,but my question is : Do server delays result in this kind of error we are having here ?
$flag=null;
$y=0;
while($test_request=$requests->FetchRow())
{
$flag[$y] = false;
//check if numbers have been already printed
$len=count ($printed_nrs);
for ($x=0;$x<$len;$x++)
{
[b]Line 449 is here :-[/b] if (strcmp ($test_request['batch_nr'],$printed_nrs[$x]) == 0 )
{
$flag[$y]=true;
$flag[$x]=true;
}
}
$printed_nrs[$x]=$test_request['batch_nr'];
$y++;
}