Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: MrPhil on August 09, 2009, 02:37:51 PM

Title: Enable/disable eval in Admin
Post by: MrPhil on August 09, 2009, 02:37:51 PM
When someone posts an error message, at least in 1.1.x, the first thing they're told to do is to disable "eval", to get a correct line number. This manual database operation scares the hell out of a lot of people, and they require lots of hand-holding to get past this operation. Why not put a toggle button in Admin to "Disable Eval"/"Re-enable Eval"? That would save a whole forest of virtual dead trees, and a lot of time. Maybe it could go in "Maintenance" right before "Forum Error Log" (I'm looking at 1.1.x right now).
Title: Re: Enable/disable eval in Admin
Post by: babjusi on August 09, 2009, 02:41:14 PM
Quote from: MrPhil on August 09, 2009, 02:37:51 PM
When someone posts an error message, at least in 1.1.x, the first thing they're told to do is to disable "eval", to get a correct line number. This manual database operation scares the hell out of a lot of people, and they require lots of hand-holding to get past this operation. Why not put a toggle button in Admin to "Disable Eval"/"Re-enable Eval"? That would save a whole forest of virtual dead trees, and a lot of time. Maybe it could go in "Maintenance" right before "Forum Error Log" (I'm looking at 1.1.x right now).

Excellent idea. I second this as well. Most of the webmasters just start out and as indicated above are terrified of messing with the db and such a feature would very useful for them.
Title: Re: Enable/disable eval in Admin
Post by: Arantor on August 09, 2009, 03:26:37 PM
http://custom.simplemachines.org/mods/index.php?mod=2054 :)
Title: Re: Enable/disable eval in Admin
Post by: Blinker on August 09, 2009, 07:54:53 PM
I asked about this a while ago - http://www.simplemachines.org/community/index.php?topic=306930.0

Great idea to turn into a mod...nice work Arantor.
Title: Re: Enable/disable eval in Admin
Post by: Antechinus on August 09, 2009, 08:29:03 PM
Seconding the OP. The mod is very nice and I will be installing it, but IMO it would go well as a default feature (and yes I know 2.0 is feature-locked but anyway....).
Title: Re: Enable/disable eval in Admin
Post by: Arantor on August 09, 2009, 08:31:20 PM
I agree, I think it should be a core feature, and I have yet to understand why it isn't. But in the meantime, we can use this (or even assimilate this straight into the code)
Title: Re: Enable/disable eval in Admin
Post by: JBlaze on August 10, 2009, 02:23:45 AM
Quote from: Antechinus on August 10, 2009, 02:22:22 AM
They just eat like crazy as soon as the sun goes down. :D

eh? :-\
Title: Re: Enable/disable eval in Admin
Post by: Antechinus on August 10, 2009, 02:27:14 AM
Wrong thread, JB. Too many tabs. Not enough brains.
Title: Re: Enable/disable eval in Admin
Post by: JBlaze on August 10, 2009, 02:28:01 AM
Quote from: Antechinus on August 10, 2009, 02:27:14 AM
Not enough brains.

+1 :P

/me runs