Le Mar 25 Octobre 2005 03:49, Nelson A. de Oliveira a écrit :
> Hi!
>
> On 10/24/05, Pierre Habouzit <[EMAIL PROTECTED]> wrote:
> > > Notice: Undefined index: open_new_tasks in
> > > /usr/share/flyspray/htdocs/scripts/newtask.php on line 12
> > >
> > > Notice: Undefined index: modify_all_tasks in
> > > /usr/share/flyspray/htdocs/scripts/newtask.php on line 127
> >
> > upstream does not support flyspray without notices. you have to
> > setup your php so that php has its error_reporting set to E_ALL ^
> > E_NOTICE.
> >
> > I'll let the bug open and force it into the flyspray apache.conf so
> > that the bug won't show up again. but you can fix it yourself
> > either : * setting up the right confing in /etc/php4/*/php.ini
> >  * or adding into /etc/flyspray/apache.conf :
> >     php_value error_reporting 2039
> >     2039 == E_ALL & (~E_NOTICE) see http://php.net/error_reporting
>
> Thank you for your quick reply.
> However, it still is not working.
>
> On /etc/php4/apache/php.ini and /etc/php4/cli/php.ini there is:
>
> ;   - Show all errors except for notices
> ;
> error_reporting  =  E_ALL & ~E_NOTICE
>
> I didn't changed any of those files. They already had that line.
>
> I added "php_value error_reporting 2039" to /etc/flyspray/apache.conf
> too, but the notices are still there.
>
> On PHP config file and also on flyspray config file, there is a line
> saying to don't display notice messages. I even restarted Apache
> (thinking "maybe apache didn't see the new config"), but without
> sucess.
>
> I don't know what could be wrong :-/

I don't know either. but the warning you have are definitely Notices 
(see their prefix). what do you use for php ? php4 or 5 ? mod_php or 
cgi ? apache or apache2 ?

for mod_php4 with apache2 the directory for php.ini 
is /etc/php4/apache2/php.ini. and then you must *RESTART* apache to 
take the modifications into account.
-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpPwKrwaoGgw.pgp
Description: PGP signature

Reply via email to