Php in the twilight zone!

Php in the twilight zone!

am 21.04.2006 02:32:46 von Iulian Manea

------=_NextPart_000_0007_01C664F4.43088EF0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hey everybody,



For about the last 7 hours I am trying to get a script to work and I have
absolutely no more ideas of why it isn't.



I run the script in a browser, and it has to run for some time, but after
about 20 minutes it suddenly . stops . it just pukes. No there is no error,
and yes the display_errors is on. The script just stops as if it was stoped
by someone. There are no errors, the server has absolutely no load, so it's
not the server either.

I then put in the script once every 3-4 lines this:



echo __LINE__;



so I would actually know on what line it pukes. and it stops randomly. Te
funny thing is that last time I ran it, the last lines it displayed were:

228, 234, 23 , so it just puked in THE MIDDLE of displaying 236!



Cound it be because of the browser??? Or the server would stop it??

I ran it in firefox and internet explorer.



Do any of you have any idea, because I would be imensly gratefull, at the
moment I am absolutely cluless!



Thanks a lot!!!!!




------=_NextPart_000_0007_01C664F4.43088EF0--

RE: Php in the twilight zone!

am 21.04.2006 09:48:32 von N.A.Morgan

You may want to check the max_execution_time directive in php.ini
Neil=20

-----Original Message-----
From: Iulian Manea [mailto:iman@esteticastudios.com]=20
Sent: 21 April 2006 01:33
To: php-db@lists.php.net
Subject: [PHP-DB] Php in the twilight zone!

Hey everybody,

=20

For about the last 7 hours I am trying to get a script to work and I
have absolutely no more ideas of why it isn't.

=20

I run the script in a browser, and it has to run for some time, but
after about 20 minutes it suddenly . stops . it just pukes. No there is
no error, and yes the display_errors is on. The script just stops as if
it was stoped by someone. There are no errors, the server has
absolutely no load, so it's not the server either.

I then put in the script once every 3-4 lines this:

=20

echo __LINE__; =20

=20

so I would actually know on what line it pukes. and it stops randomly.
Te funny thing is that last time I ran it, the last lines it displayed
were:

228, 234, 23 , so it just puked in THE MIDDLE of displaying 236!

=20

Cound it be because of the browser??? Or the server would stop it??

I ran it in firefox and internet explorer.

=20

Do any of you have any idea, because I would be imensly gratefull, at
the moment I am absolutely cluless!

=20

Thanks a lot!!!!!

=20

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: Php in the twilight zone!

am 21.04.2006 14:24:18 von Giff Hammar

If you're doing lots of database queries, also make sure that every column
in your WHERE clause in each query is indexed. That will significantly
decrease the time it takes for the database engine to access the data.

Giff

-----Original Message-----
From: N.A.Morgan@bton.ac.uk [mailto:N.A.Morgan@bton.ac.uk]
Sent: Friday, April 21, 2006 3:49 AM
To: iman@esteticastudios.com; php-db@lists.php.net
Subject: RE: [PHP-DB] Php in the twilight zone!

You may want to check the max_execution_time directive in php.ini Neil

-----Original Message-----
From: Iulian Manea [mailto:iman@esteticastudios.com]
Sent: 21 April 2006 01:33
To: php-db@lists.php.net
Subject: [PHP-DB] Php in the twilight zone!

Hey everybody,



For about the last 7 hours I am trying to get a script to work and I have
absolutely no more ideas of why it isn't.



I run the script in a browser, and it has to run for some time, but after
about 20 minutes it suddenly . stops . it just pukes. No there is no error,
and yes the display_errors is on. The script just stops as if it was stoped
by someone. There are no errors, the server has absolutely no load, so it's
not the server either.

I then put in the script once every 3-4 lines this:



echo __LINE__;



so I would actually know on what line it pukes. and it stops randomly.
Te funny thing is that last time I ran it, the last lines it displayed
were:

228, 234, 23 , so it just puked in THE MIDDLE of displaying 236!



Cound it be because of the browser??? Or the server would stop it??

I ran it in firefox and internet explorer.



Do any of you have any idea, because I would be imensly gratefull, at the
moment I am absolutely cluless!



Thanks a lot!!!!!



--
PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php