Re: [PHP] cannot quiet notice error

This is a discussion on Re: [PHP] cannot quiet notice error within the PHP General forums, part of the PHP Programming Forums category; Gonzalo Gorosito wrote: > I tried to do this: > > error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR > > and this: > &...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-18-2006
Jochem Maas
 
Posts: n/a
Default Re: [PHP] cannot quiet notice error

Gonzalo Gorosito wrote:
> I tried to do this:
>
> error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
>
> and this:
>
> error_reporting = E_ERROR
>
> and the php still display notices :(


phpinfo() will probably show that either you
are editing the wrong php.ini, that you forgot to restart your webserver
or that the code is calling error_reporting() with values other than
what you want somewhere.

>
> -----Mensaje original-----
> De: Youri LACAN-BARTLEY [mailto:ylacan@teicam.com]
> Enviado el: Lunes, 18 de Diciembre de 2006 12:06 p.m.
> CC: php-general@lists.php.net
> Asunto: Re: [php] cannot quiet notice error
>
>
>
> Gonzalo Gorosito wrote:
>> Hello friends,
>>
>>
>>
>> I have a little problem with the error_reporting in my php.ini
>>
>>
>>
>> Every time I get errors like this:
>>
>>
>>
>> Notice: Undefined index: userData in
>> /var/www/devzone/megacam/inc/functions.php on line
>>
>>
>>
>> And here is my php.ini:
>>
>>
>>
>> error_reporting = E_ALL & ~E_NOTICE
>>
>>
>>
>> display_errors = On
>>
>>

> I guess http://fr.php.net/error-reporting should answer all that ...
> Here's a clue though :
>
> error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
> display_errors = On
>
> You might want to play around with E_STRICT if you're running PHP 5 though.
>
> HTH
>
>>
>>
>> how can I do to shut up these fucking notices? :$
>>
>>
>>
>>
>>
>>
>>
>> ----------------------------------------------------------
>> Gonzalo Gorosito
>>
>>
>>
>> Sistemas | By-Cycle
>> Humboldt 2495, Piso 10
>> C1425FUG - Bs.As. Argentina
>> Tel.: + 54 (11) 4774 6006 | Fax: + 54 (11) 4774 7117
>> www.by-cycle.com <http://www.by-cycle.com/>
>> gonzalo.gorosito@by-cycle.com
>>
>>
>>
>>

>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:10 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0