php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #19245 Alter error message for execution time exceeded
Submitted: 2002-09-05 06:49 UTC Modified: 2013-07-12 12:52 UTC
Votes:4
Avg. Score:3.8 ± 0.8
Reproduced:2 of 4 (50.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: t_o_m_ at yahoo dot com Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 4.2.2 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
36 + 19 = ?
Subscribe to this entry?

 
 [2002-09-05 06:49 UTC] t_o_m_ at yahoo dot com
I have the log_errors and error_log set in my php.ini.
However when I look through it I see lines like:

[05-Sep-2002 10:03:31] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in E:\intranet\reports\db.inc on line 9

This file is includeded in many other files, and from this error it is not possible to tell which the including file was. In my case the including file contains an over complex sql statement, the include file (db.inc) just runs it.

Would it be possible for this error message to have $_SERVER['PHP_SELF'] in it?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-12 12:52 UTC] maarten@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2013-07-12 12:52 UTC] maarten@php.net
You can view your access logs to see which request caused the timeout. And if you conclude you're waiting on sql, you can watch the slow query log (or even always keep an eye on slow queries)

As there are other logs available, no need to add 1 arbitrary (debugging might depend on others) variable to this message...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 02:01:29 2024 UTC