Re: Hide Warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, November 17, 2006 4:05 am, Stein Ivar Johnsen wrote:
> I have tried "error_reporting(0);" but this does not help. The program
> is
> still writing warnings to screen.

Then somebody somewhere in their code is re-setting error_reporting()
to something else, or your error_reporting(0) is not actually
executing in time.

>>> Warning: Call-time pass-by-reference has been deprecated - argument
>>> passed
>>> by value; If you would like to pass it by reference, modify the
>>> declaration
>>> of [runtime function name](). If you would like to enable call-time
>>> pass-by-reference, you can set allow_call_time_pass_reference to
>>> true in
>>> your INI file. However, future versions may not support this any
>>> longer.
>>> in
>>> /home/users/kivugog/Blog/index.php on line 69

Oh, yeah, this maybe comes out from the first-phase of compiling PHP,
long before your error_reporting(0) takes effect.

You probably have .htaccess files you can add/edit:


#this may not be the right name for the setting:
php_value display_errors 0

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux