forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: 314babygurl on January 12, 2005, 09:33:48 pm

Title: Warning: exec() has been disabled for security reasons in /home/cent/public_html
Post by: 314babygurl on January 12, 2005, 09:33:48 pm
When I went to upload pictures for my site, I got this error report:

Warning: exec() has been disabled for security reasons in /home/cent/public_html/gallery/include/picmgmt.inc.php on line 153

Warning: chmod(): No such file or directory in /home/cent/public_html/gallery/include/picmgmt.inc.php on line 215

Warning: getimagesize(./albums/edit/preview_669d6c86.jpg): failed to open stream: No such file or directory in /home/cent/public_html/gallery/include/picmgmt.inc.php on line 217



My site is http://gallery.314-central.com
Title: Re: Warning: exec() has been disabled for security reasons in /home/cent/public_html
Post by: Tranz on January 12, 2005, 09:36:49 pm
Imagemagick needs exec(). If you can't use exec(), you can't use IM. You would need to ask your sysadmin about that.

You can switch to using GD instead, if it's available.
Title: Re: Warning: exec() has been disabled for security reasons in /home/cent/public_html
Post by: 314babygurl on January 12, 2005, 09:40:22 pm
What is a exec(). ?
Title: Re: Warning: exec() has been disabled for security reasons in /home/cent/public_html
Post by: kegobeer on January 12, 2005, 09:41:38 pm
It's a php function.

http://www.php.net/manual/en/function.exec.php
Title: Re: Warning: exec() has been disabled for security reasons in /home/cent/public_
Post by: Joachim Müller on January 13, 2005, 09:49:01 am
do as suggested and use GD instead, don't mind about exec and ImageMagic.

Joachim