View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
15774 | Feature requests | Other | public | 2020-01-24 16:26 | 2020-01-24 16:28 |
Reporter | DenisChenu | Assigned To | |||
Priority | none | Severity | feature | ||
Status | new | Resolution | open | ||
Summary | 15774: Allow to set debug to error only (no notice, deprecated etc …) | ||||
Description | Set debug ==1 : you have notice and deprecated debug == 2 : same and strictc and throw exception for notice and deprecated. I think its make 1 unusable | ||||
Additional Information | index.php show another system https://github.com/LimeSurvey/LimeSurvey/blob/a835a417467494805939a250450b93ce73b18816/index.php#L154-L174 but in LSYii_Controller.php https://github.com/LimeSurvey/LimeSurvey/blob/a835a417467494805939a250450b93ce73b18816/application/core/LSYii_Controller.php#L129-L140 My proposition : - 0 : `define('YII_DEBUG', false);@ini_set("display_errors", '0');error_reporting(0);` - `>0` : `define('YII_DEBUG', false);@ini_set("display_errors", '1');error_reporting(E_ERROR | E_WARNING | E_PARSE);` - `>1`: `define('YII_DEBUG', false);@ini_set("display_errors", '1');error_reporting(E_ALL);` - `>=2`define('YII_DEBUG', false);@ini_set("display_errors", '1');error_reporting(E_ALL | E_STRICT);` And only at one place | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-24 16:26 | DenisChenu | New Issue | |
2020-01-24 16:27 | DenisChenu | Additional Information Updated | View Revisions |
2020-01-24 16:27 | DenisChenu | Additional Information Updated | View Revisions |
2020-01-24 16:27 | DenisChenu | Additional Information Updated | View Revisions |
2020-01-24 16:28 | DenisChenu | Note Added: 55468 |