Re: Hide Warnings
| From: | Richard Lynch | Date: | Mon, 20 Nov 2006 23:31:22 +0000 |
| Subject: | Re: Hide Warnings | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244914@lists.php.net to get a copy of this message | ||
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?