PHP 4.0 Bug #4419: Error messages line number always 1
| From: | broesel at broesel dot ch | Date: | Fri, 12 May 2000 11:05:25 +0000 |
| Subject: | PHP 4.0 Bug #4419: Error messages line number always 1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18640@lists.php.net to get a copy of this message | ||
From: broesel@broesel.ch
Operating system: Debian
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Scripting Engine problem
Bug description: Error messages line number always 1
On every parse error message or warnings, the line number is always 1.
So it's not easy to find the bug. Perhaps it's a misbehaving of one
php.ini option. here is my section:
error_reporting = E_ALL & ~E_NOTICE ; Show all errors except for notices
display_errors = On ; Print out errors (as a part of the HTML script)
log_errors = On ; Log errors into a log file (server-specific log, stderr,
or error_log (below))
track_errors = On ; Store the last error/warning message in $php_errormsg (boolean)
;error_prepend_string = "<font color=ff0000>" ; string to output before an error
message
;error_append_string = "</font>" ; string to output after an error
message
error_log = /data/all/log/php.log ; log errors to specified file
;error_log = syslog ; log errors to syslog (Event Log on NT, not valid in
Windows 95)
warn_plus_overloading = Off ; warn if the + operator is used with strings
This error I had in PHP RC1 too