php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4419 Error messages line number always 1
Submitted: 2000-05-12 07:05 UTC Modified: 2000-07-24 09:00 UTC
From: broesel at broesel dot ch Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Release Candidate 2 OS: Debian
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: broesel at broesel dot ch
New email:
PHP Version: OS:

 

 [2000-05-12 07:05 UTC] broesel at broesel dot ch
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-24 10:51 UTC] stas at cvs dot php dot net
Does it still happen on latest version? Could you bring an example?
 [2000-07-24 09:00 UTC] stas@php.net
no feedback from the user
 [2004-07-29 14:29 UTC] temkashka at yahoo dot com
huuhed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 19:01:26 2024 UTC