Because I really don’t like the idea of users seeing modx aborting with sql-errors, I committed a change of document.parser.inc.php to my branch which redirects users to default error page in case a ’messageQuit’ occurs. Of course, manager users will still see this messages since it’s useful for debugging.
Any opinions?
-
MODX Staff
- 10,725 Posts
Sounds like a long-overdue, and wonderful idea to me. +1
-
☆ A M B ☆
- 24,524 Posts
So long as errors are logged in the db then all is well...
-
☆ A M B ☆
- 24,524 Posts
And maybe do something about the amazingly useless error messages in the Manager’s system alerts/system events? Nice to know that there is an unexpected whatever, or "Creating default object from empty value" (

), but most of my modules consist of several files, and there is no clue here as to where the error ocurrs. A raw PHP or Javascript error would be more informative.
-
☆ A M B ☆
- 24,524 Posts
Sorry, that was really off-topic, I’m just developing a complex module right now and it is really annoying me.
-
☆ A M B ☆
- 24,524 Posts
I just installed the latest svn copy on my new site, and other than a small glitch in the installation I’m doing fine so far...
http://www.loripsum.co.uk (willl be a site showcase).