coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: inigobarrio on March 23, 2004, 03:48:52 PM

Title: I can't upload any picture!!!
Post by: inigobarrio on March 23, 2004, 03:48:52 PM
Hi, I hope someone here can solve my problem, I don't know what to do. When I try to upload an image, I get this error:

Warning: chmod, chgrp, realpath, tmpfile, link() has been disabled for security reasons in /home/webcindario/esosdbezana/coppermine/db_input.php on line 261

Warning: exec, passthru, system, popen, fsockopen, pfsockpen, show_source, php_uname, ini_alter, ini_restore, ini_set, getrusage, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link() has been disabled for security reasons in /home/webcindario/esosdbezana/coppermine/include/picmgmt.inc.php on line 131

Warning: chmod, chgrp, realpath, tmpfile, link() has been disabled for security reasons in /home/webcindario/esosdbezana/coppermine/include/picmgmt.inc.php on line 191

Warning: getimagesize(): Unable to access albums/userpics/10001/TN_100_1627~0.JPG in /home/webcindario/esosdbezana/coppermine/include/picmgmt.inc.php on line 193

Warning: getimagesize(albums/userpics/10001/TN_100_1627~0.JPG): failed to open stream: No such file or directory in /home/webcindario/esosdbezana/coppermine/include/picmgmt.inc.php on line 193


I have the imagemagick installed in my computer, and the path is ok.  I need help!! Thank you
Title: I can't upload any picture!!!
Post by: hyperion on March 23, 2004, 04:31:48 PM
exec() has been disabled, so Image Magick will not work.  You will have to use GD or have exec re-enabled.
Title: thanks
Post by: inigobarrio on March 23, 2004, 11:40:09 PM
Ok, thank you for answering so soon. I have other question, how can I re-enable exec()???? thanks
Title: I can't upload any picture!!!
Post by: hyperion on March 24, 2004, 12:15:59 AM
You can only re-enable exec() if you are the server administrator.  If you held that title, you would know how. :)

Assuming you are not the server administrator, you need to ask your server administrator to re-enable exec(), or you must use GD.  The exec() function is not an issue when using GD.