Overview
If you are using Kayako Classic and are unable to submit a case using the Helpdesk, you may encounter an error message stating 'Warningescapeshellcmd() has been disabled for security reasons'. This issue arises when the escapeshellcmd function, used for shell access, is disabled for security reasons. This function is called when the SMTP script runs.
Solution
To resolve this issue, you can follow one of these options:
- If you host the Kayako site yourself, remove the 'escapeshellcmd' string from the disable_functions at the 'php.ini' file.
- If you don't have access to the 'php.ini' file, ask your hosting provider to remove the 'escapeshellcmd' string.
- Change your hosting provider to one which allows the running of the 'escapeshellcmd' function.
Additionally, disabling strict mode is a mandatory system requirement for Kayako Classic. You can follow the instructions in the article 'Disabling MySQL Strict Mode on the Server' to do so. Please note that providing additional assistance on this matter falls beyond the boundaries of the support services, as it pertains to the server and not directly to the application.
Summary
The 'Warningescapeshellcmd() has been disabled for security reasons' error in Kayako Classic can be resolved by either removing the 'escapeshellcmd' string from the disable_functions at the 'php.ini' file, asking the hosting provider to remove the string, or changing the hosting provider to one which allows the running of the 'escapeshellcmd' function.
FAQ
-
What is the 'escapeshellcmd' function?
The 'escapeshellcmd' function is used for shell access in PHP. It is called when the SMTP script runs. -
What does the error 'Warningescapeshellcmd() has been disabled for security reasons' mean?
This error means that the 'escapeshellcmd' function has been disabled for security reasons, which prevents you from submitting a case using the Helpdesk in Kayako Classic. -
What can I do if I don't have access to the 'php.ini' file?
If you don't have access to the 'php.ini' file, you can ask your hosting provider to remove the 'escapeshellcmd' string. If they refuse, you may need to change your hosting provider to one which allows the running of the 'escapeshellcmd' function.