php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38887 Displaying Notices despite E_ALL & ~E_NOTICE
Submitted: 2006-09-19 22:55 UTC Modified: 2006-09-25 07:27 UTC
From: wieza at terramail dot pl Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.1.6 OS: Fedora
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wieza at terramail dot pl
New email:
PHP Version: OS:

 

 [2006-09-19 22:55 UTC] wieza at terramail dot pl
Description:
------------
In php.ini I have
error_reporting = E_ALL & ~E_NOTICE

So according to php.ini manual it shouldn't display notices. Especially as in php.ini display_errors is Off and log to file is on. But when I am on my site sometimes there are displayed Notices(only notices, errors and warning are logged to file ). I wrote sometimes, because I never know wheter Notices will be displayed. I can open the same site 10 times, and sometimes there is Notice, sometimes there isn't.

I've tried to set in php.ini error_reporting others values(even 0) and the problem is still appearing.

When in php code i call error_reporting(E_ALL ^ E_NOTICE), the problem is solved and notices don't appear.

I have PHP 5.1.6 on lighttpd server.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-25 07:27 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 14:01:31 2024 UTC