Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(4 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Bug Reports

Warning: escapeshellcmd() has been disabled


You must be signed-in to post.

AuthorSubject
  Page: 1
Pucky
Subject: Warning: escapeshellcmd() has been disabledQuote this post in your reply
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 disabledQuote this post in your reply
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

Avatar for greg
Subject: Re: Warning: escapeshellcmd() has been disabledQuote this post in your reply
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 disabledQuote this post in your reply
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

Avatar for cindy
Subject: Re: Warning: escapeshellcmd() has been disabledQuote this post in your reply
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 disabledQuote this post in your reply
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

Avatar for cindy
Subject: Re: Warning: escapeshellcmd() has been disabledQuote this post in your reply
OK then, no harm to try.
Posted: 2009-07-02 10:33:24
 Page: 1

You must be signed-in to post.