Support Forums
ATutor Bug Reports
Warning: escapeshellcmd() has been disabled
You must be signed-in to post.
| Author | Subject | |
|---|---|---|
| Page: 1 | ||
| Pucky | Subject: Warning: escapeshellcmd() has been disabled | |
I can't send emails. Neither thread www.atutor.ca/view/7/12666/1.html nor thread www.atutor.ca/view/7/8376/1.html could help me. My ATutor is on a hosted server. Php save_mode is "Off". When I'm looking in my infophp.php I can see, that the path to sendmail is /usr/sbin/sendmail -t -i. Could it be, that the "-t" and "-i" are a problem? Pucky Posted: 2009-07-01 11:10:25 | ||
| Pucky | Subject: Re: Warning: escapeshellcmd() has been disabled | |
| Sorry, I'll have to give some Informations: Operating system ATutor is installed on - Linux ATutor version - 1.6.2 ATutor theme name - default PHP version -5.2.9-1nmm1 MySQL version - 5.0.51a-3ubuntu5.4 Webserver & version - Linux 2.6.24-24-server Web browser being used - Firefox Pucky Posted: 2009-07-01 11:22:11 | ||
greg![]() | Subject: Re: Warning: escapeshellcmd() has been disabled | |
| The -i and -t sendmail switches should be fine. If sendmail is working properly, mail should not be a problem. Mention the problem to your service provider. They'll be able to troubleshoot. Posted: 2009-07-01 11:24:48 | ||
| Pucky | Subject: Re: Warning: escapeshellcmd() has been disabled | |
| Thanks for the quick reply. The service provider has disabled the feature escapeshellcmd(). His solution is a htaccess-comand, to let ATutor run in cgi-mode. Does ATutor run correct in cgi-mode, or are there any troubles? My e-mail problem is solved. Pucky Posted: 2009-07-02 09:49:01 | ||
| cindy | Subject: Re: Warning: escapeshellcmd() has been disabled | |
| ATutor should be working fine in both mode. But don't quite understand why running on cgi-mode would help with disabled escapeshellcmd(). From what I see in the code, escapeshellcmd() is used in mailer script. Do you get this warning when sending email? If the email has no problem to be sent out, you can ignore this warning. Posted: 2009-07-02 10:17:11 | ||
| Pucky | Subject: Re: Warning: escapeshellcmd() has been disabled | |
| Its not only a warning-message: "Warning: escapeshell() has been disabled for security reasons in include/classes/phpmailer/class.phpmailer.php" I get no email when I'm not in cgi-mode. I do not know why, but at telephone they told me, that the function is disabled and you can only get it, if you are in cgi-mode. Posted: 2009-07-02 10:27:19 | ||
| cindy | Subject: Re: Warning: escapeshellcmd() has been disabled | |
| OK then, no harm to try. Posted: 2009-07-02 10:33:24 | ||
| Page: 1 | ||
You must be signed-in to post.


