Hi,
I had installed coppermine 1.2.1 on lycos.co.uk . Everything seemed to be working till i started to upload a picture. The following error pops up... :? everytime...
QuoteThe picture 'albums/userpics/10001/23.jpg' can't be inserted in the album
Warning: chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons
How to correct these errors ? Lycoz seems to be too busy to help me out on this. Please Guide.
The issue arises when Coppermine tries to chmod the newly uploaded picture in db_input.php. You can try commenting out the chmod line, but the file permissions may not be correct whn users try to view the picture later. You'll have to see what file permissions the system creates without it.
// Change file permission
chmod($uploaded_pic, octdec($CONFIG['default_file_mode']));
to
// Change file permission
//chmod($uploaded_pic, octdec($CONFIG['default_file_mode']));