problem appears when I upload problem appears when I upload
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

problem appears when I upload

Started by pukas, September 26, 2004, 12:36:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pukas

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...


Nibbler

Either put an @ infront of chmod or comment out the line completely.