OSC_DEBUGconstant, added in version 2.3, controls the display of php errors and warnings. If this setting is not defined in config.php, the default value is false.
OSC_DEBUGis false, the error reporting level is
E_ALL ^ E_NOTICE ^ E_USER_NOTICE. In that case, we're not showing notice and strict php errors. However, if we set the constant to true, the error reporting level is
E_ALL | E_STRICTand
display_errorvalue is 1.
OSC_DEBUG_LOGconstant, added in version 2.3, logs these errors to a file called debug.log in oc-content. If Apache doesn't have write permissions, you may need to create the file first and set the appropriate permissions (i.e. use 666).