ID:               26865
 User updated by:  mmdrake at bctonline dot com
 Reported By:      mmdrake at bctonline dot com
-Status:           Feedback
+Status:           Closed
 Bug Type:         PHP options/info functions
 Operating System: Windows
 PHP Version:      4.3.4
 New Comment:

So, so sorry; you're right and we didn't catch it.  We had copied some
code for one of our COM calls from an online example and there was a
statement in there for 'error_reporting'.  It didn't get caught because
it was in a different directory from the main code.

thanks.


Previous Comments:
------------------------------------------------------------------------

[2004-01-11 08:32:05] [EMAIL PROTECTED]

Are you sure the error_reporting isn't overriden in the script? (with
call to ini_set() or error_reporting())


------------------------------------------------------------------------

[2004-01-11 02:49:06] mmdrake at bctonline dot com

PHP.ini is being read.  I can change the error log name and have a new
file created.

------------------------------------------------------------------------

[2004-01-10 20:29:15] [EMAIL PROTECTED]

The php.ini file is not being read at all.
Check your setup.


------------------------------------------------------------------------

[2004-01-10 18:12:02] mmdrake at bctonline dot com

Description:
------------
PHP.ini settings as listed below.

In spite of this, notices are written anyway, causing major performance
issues when a PHP-Gtk screen has several vars declared on the fly.

This worked at one point; no changes have been made to the way the
script is called (from a batch file, using php_gtk.exe wrapper); only
changes to the code.  Can't spot anything that might have this kind of
impact, where the ini file is basically ignored.

There is only one php.ini file on the machines, so no possibility of
wrong file being read.

Occurs in both WinNT and Win98.



Reproduce code:
---------------
PHP.ini has error logging on, with settings as follows:

error_reporting = E_ALL & ~E_NOTICE
log_errors = On
error_log = gtk_error.txt


Expected result:
----------------
NO NOTICES, only errors or warnings.

Actual result:
--------------
All notices are written to the error log, together with warnings and
errors.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=26865&edit=1

Reply via email to