Page 1 of 1

Wizard debugging help php.ini syntax

Posted: Fri Jul 18, 2014 4:36 pm
by notoncall
I'm working on a custom wizard and I'm curious about the guide here:

http://assets.nagios.com/downloads/nagi ... _In_XI.pdf

The instructions for raising the error verbosity level include modifying the php.ini file with this line:

Code: Select all

error_reporting = E_ALL; & ~E_WARNING
That semi-colon looks like bad syntax. Can you confirm that this is correct?

I consulted the PHP manual here:
http://php.net/manual/en/function.error-reporting.php

Many thanks.

Re: Wizard debugging help php.ini syntax

Posted: Mon Jul 21, 2014 9:08 am
by tmcdonald
The semi-colon should be removed. The correct line is:

Code: Select all

error_reporting = E_ALL & ~E_WARNING
But you can really put any values you need in there depending on how verbose you want it.

I'll look into editing that doc.