coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: pukas on September 26, 2004, 12:36:57 PM

Title: problem appears when I upload
Post by: pukas on September 26, 2004, 12:36:57 PM
HI everybody. When i try to upload images on my gallery this error appears:

Warning: chmod,chown,chgrp,symlink,link,putenv,linkinfo,readlink,lstat,ini_set,diskfreespace,tmpfile,tempnam,shell_exec,get_current_user() has been disabled for security reasons in .........................................upload.php on line 1209

I've correct other errors reading in this forum, but for this problem I don't have see nothing....
1208 line                       // Change file permission
1209 line                       chmod($path_to_image, octdec($CONFIG['default_file_mode']));


the upload work, but I don't want this message of error...

Title: Re: problem appears when I upload
Post by: Nibbler on September 26, 2004, 04:06:15 PM
Either put an @ infront of chmod or comment out the line completely.