Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Another Lycos Puzzle  (Read 2435 times)

0 Members and 1 Guest are viewing this topic.

Ideal Singh

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Another Lycos Puzzle
« on: March 30, 2004, 02:57:29 pm »

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

Quote
The 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.
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Another Lycos Puzzle
« Reply #1 on: March 30, 2004, 06:52:27 pm »

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.

Code: [Select]

        // Change file permission
        chmod($uploaded_pic, octdec($CONFIG['default_file_mode']));


to

Code: [Select]

        // Change file permission
        //chmod($uploaded_pic, octdec($CONFIG['default_file_mode']));
Logged
"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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 14 queries.