switch off warning messages about disabled shell_exec

5 posts by 2 authors in: Forums > CMS Builder
Last Post: February 25, 2020   (RSS)

Hi,

Is there any way to switch off the warning messages (that creating all the time) about the disabled shell_exec() php function?
#18 - E_WARNING: shell_exec() has been disabled for security reasons

I'm really loosing the important error or warning messages from these that creating all the time.

Thank you,
Karls

By daniel - February 11, 2020

Hi Karls,

It can be difficult to selectively filter out error messages without fixing the cause of the error, however, it sounds like you're probably on a host that will not let you re-enable that function so properly fixing it may not be possible.

Could you paste the full details of the error message, including the file and line number? This may help point to some options for how to suppress the error.

Thanks!

Daniel
Technical Lead
interactivetools.com

Hi Daniel,

#27 - E_WARNING: shell_exec() has been disabled for security reasons
/home/hilaris/public_html/cmsAdmin/lib/file_functions.php (line 297)

Thank you,
Karls

Hi Daniel,

Thank you for this quick fix!

Regards,
Karls