problem appears when I upload problem appears when I upload
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.