Another Lycos Puzzle Another Lycos Puzzle
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Another Lycos Puzzle

Started by Ideal Singh, March 30, 2004, 02:57:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ideal Singh

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.

hyperion

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']));
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)