Re: Hide Warnings

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

 



Thanks to all that replied to my message.
I have managed to fix the problem with help from Tom Chubb, ThanX Tom!
I made my own php.ini file with the keywords I needed, and uploaded it to 
the same dir as my script. Now it works fine....

-- 
Regards
sijo
http://www.dyg.no



""Tom Chubb"" <tomchubb@xxxxxxxxx> skrev i melding 
news:4577934f0611170143u25334eb0hf9c16033dbb3842e@xxxxxxxxxxxxxxxxx
> Choose one of the following, but if you are getting warnings,
> something is wrong and you should address it.
>
> <?php
>
> // Turn off all error reporting
> error_reporting(0);
>
> // Report simple running errors
> error_reporting(E_ERROR | E_WARNING | E_PARSE);
>
> // Reporting E_NOTICE can be good too (to report uninitialized
> // variables or catch variable name misspellings ...)
> error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
>
> // Report all errors except E_NOTICE
> // This is the default value set in php.ini
> error_reporting(E_ALL ^ E_NOTICE);
>
> // Report all PHP errors (bitwise 63 may be used in PHP 3)
> error_reporting(E_ALL);
>
> // Same as error_reporting(E_ALL);
> ini_set('error_reporting', E_ALL);
>
> ?>
>
> On 16/11/06, Stein Ivar Johnsen <sijo@xxxxxxxx> wrote:
>> Hi..
>>
>> How can I hide Warning messages so they are not shown on screen..:
>> 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
>>
>> I will appreciate all help on this...
>>
>> --
>> Regards
>> sijo
>> http://www.dyg.no
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>> 

-- 
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