Enable on screen display of PHP errors in depending on environment

Project:RUcore/NJDH/Partner Portal Search
Version:6.1
Component:Portal Configuration - Search Portal Tool
Category:task
Priority:normal
Assigned:chadmills
Status:closed
Description

While testing please allow for the on screen display of PHP warnings and errors so testers can report issues. Please make this a option in the configuration file so that it can be disabled when moving code to production.

Comments

#1

Status:active» test

Added a flag and following section in configuration files to enable or disable screen error reporting:

ini_set('display_errors','1');
ini_set('display_startup_errors','1');
error_reporting(E_ALL | E_STRICT);

#2

Status:test» closed

Verified.

Back to top