MODx Bug/Feature Tracker and Feature Requests
Welcome to the MODx CMS Tracker. Please choose the appropriate project from the drop down menu and provide as much information as possible regarding your server environment and browser. Thanks!
FS#208 — Surpress PHP errors and log
Attached to Project —
MODx
Opened by purple (purple) - Monday, 09 January 2006, 04:32PM
Last edited by Jason Coward (opengeek) - Wednesday, 21 November 2007, 10:36AM
Opened by purple (purple) - Monday, 09 January 2006, 04:32PM
Last edited by Jason Coward (opengeek) - Wednesday, 21 November 2007, 10:36AM
| Task Type | Feature Request |
|---|---|
| Category | Core Distribution |
| Status | Implementing |
| Assigned To |
Jason Coward (opengeek) |
| Operating System | All |
| Severity | High |
|---|---|
| Priority | Normal |
| Reported Version | 0.9.1 |
| Due in Version | 0.9.7-beta |
| Due Date | Undecided |
| Percent Complete |
|
Details
I created this message on the bug-forum and I was asked to put it here. So here it is.============================================================
Hi all,
When having a site live, I would like to be able to supress errors generated by php. Like warnings and so on.
I think it would be nice to have a configuration option in de site configurater to enable or disable the display of php-errors.
Even nicer would be to redirect the errors to a log. However, I don't know if that is possible.
regards,
purple
This task depends upon
This task blocks these from closing
this correction would make the following lines disappear ?
Notice: Array to string conversion in /.../modx/manager/includes/document.parser.class.inc.php on line 951
Notice: Undefined variable: php_errormsg in /.../modx/manager/includes/document.parser.class.inc.php on line 685
Notice: Undefined index: in /.../modx/manager/includes/document.parser.class.inc.php on line 2032
Thx.
Note if you're on a shared webhost, the webhost must allow you to edit your own php.ini as well (some do.)
- Field changed: Due in Version (1.0 → 0.9.7-beta)
- Field changed: Percent Complete (0% → 80%)
This at least partially implemented in 0.9.7 branch, but needs more attention and testing before I close the issue.