Re: Phpwiki errors reporting

Reini Urban <[email protected]> Wed, 15 Apr 2009 13:09:35 +0200
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
2009/4/15 Sabri LABBENE <[email protected]>:
> I'm using a 1.3.12 version of PhpWiki.
> Is it possible to turn off error reporting of PhpWiki (at least for Notices)?
> Is it something we can tune from PhpWiki config ?

This is a php setting.
in php.ini there's a key for error_reporting. default is:
   error_reporting  =  E_ALL & ~E_NOTICE

To turn off phpwiki notice for phpwiki only do:
  error_reporting(E_ALL & (~E_NOTICE | ~E_USER_NOTICE));
for example in index.php.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com