Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Mar 2009 at 18:14 UTC
Updated:
24 Jul 2013 at 08:41 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
xano/me blames teh
inputtext formats.Comment #2
dave reidI'm not sure this will be an improvement. Non-techie people will have no idea which setting they 'should' be in. -1
Comment #3
xanoWhat about this:
Personally, I hate telling people how to set up their sites, since it's none of my business.
Comment #4
xanoBojhan and I agree on the initial patch, although we need to think of a better description than "Functional errors only".
Comment #5
catchI'm fine with this if we have some kind of indication that the radio only affects what's displayed on the screen. How about this?
However, this could be in the title rather than the description.
Comment #6
xanoIs this really only about PHP errors?
Comment #7
catchYes.
Comment #8
xanoEverything passes and we agree on the patch, so this seems like an RTBC to me :)
Comment #9
dries commentedI disagree with this patch. "Site in development" is much more useful than "Functional errors only". Who is going to explain my mother what "functional errors" are?
Comment #10
xanoI checked common.inc and option 2 displays all messages except notices. Suggestion:
Since this is a developer's feature, I believe it's safe to assume that Dries' mother won't touch it if she doesn't understand the label and if she does, the options are pretty self-explanatory. Everybody who actually needs this setting will know what each option means. The only drawback is that
E_USER_NOTICEwill also be displayed, despite it's not an error or a warning, but we could fix this in another issue, since it seems like a bug to me.Comment #11
xanoComment #12
xanoKick.
Comment #13
catchI like #10.
Most of our mothers are either going to have sites set up for them, or be dealing only with a 'live' site on shared hosting - they're not going to be dealing with development / staging / live workflows at all, unless they happen to be web developers - so I don't think the extra text is helpful there.
Comment #14
dries commentedCommitted to CVS HEAD. Thanks!
Comment #15
dave reidI'm not sure I like the changed page title to 'Display PHP messages'. These messages could be database messages, not necessarily PHP. :/
Comment #16
xano@Dries: Yay!
The page is about everything related to logging and alerts in Drupal. The setting about PHP messages is just about whether PHP messages and/or errors are displayed on the screen.
Comment #17
dave reidGot it. Could have just been "Display error messages", but overall a good change and glad it's been committed to core.
Comment #18
xano"Display error messages" would have been a too general label, since this is stricly about PHP messages. There are other kinds of errors in Drupal as well.
Comment #20
xano