Timeline for How can I get useful error messages in PHP?
Current License: CC BY-SA 4.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 1, 2023 at 22:10 | history | notice added | ADyson | Recommended answer in PHP | |
| Apr 30, 2023 at 4:25 | history | edited | Your Common Sense | CC BY-SA 4.0 | Restructured, to make it easier to follow. |
| Mar 23, 2023 at 17:00 | history | edited | Your Common Sense | CC BY-SA 4.0 | Man, this answer is *old* |
| Mar 26, 2016 at 20:44 | comment | added | Ivan Yarych | I would add that logging errors to file (and looking them up there) is the best solution. Don't rely on displaying errors on-page - they can ruin it, you can forget to turn error reporting for production site and this will cause you trouble in future | |
| Oct 10, 2015 at 12:27 | history | edited | Sumurai8 | CC BY-SA 3.0 | added 1 character in body |
| Oct 14, 2014 at 9:38 | history | edited | Pacerier | CC BY-SA 3.0 | added 1 character in body |
| May 22, 2014 at 21:23 | review | Suggested edits | |||
| May 22, 2014 at 21:30 | |||||
| Jun 15, 2013 at 1:39 | comment | added | jacekn | I like the option of .htaccess file. It helps me debug in an area that is not part of the public website. Thanks a lot for this tip! | |
| Mar 4, 2013 at 7:39 | history | edited | Gordon | CC BY-SA 3.0 | changed E_ALL to -1 because that will always include all error levels (previous versions of PHP did not include E_STRICT with E_ALL) |
| May 23, 2009 at 6:12 | vote | accept | Candidasa | ||
| May 10, 2009 at 23:04 | history | edited | Darryl Hein | CC BY-SA 2.5 | added 225 characters in body |
| May 10, 2009 at 17:59 | comment | added | Gumbo | 2039 is the value of E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE. See docs.php.net/manual/en/errorfunc.constants.php | |
| May 10, 2009 at 17:51 | history | edited | Darryl Hein | CC BY-SA 2.5 | added 126 characters in body |
| May 10, 2009 at 10:12 | history | edited | Darryl Hein | CC BY-SA 2.5 | deleted 4 characters in body |
| May 10, 2009 at 10:07 | history | edited | Darryl Hein | CC BY-SA 2.5 | added 228 characters in body |
| May 10, 2009 at 9:58 | history | edited | Darryl Hein | CC BY-SA 2.5 | added 156 characters in body |
| May 10, 2009 at 9:52 | history | answered | Darryl Hein | CC BY-SA 2.5 |