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: Error  (Read 4022 times)

0 Members and 1 Guest are viewing this topic.

Knight of death

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Error
« on: November 04, 2005, 08:23:33 am »

When i'm trying to upload files i get this:

Warning: chmod(): Operation not permitted in /pub/home/draggold/htdocs/photo/upload.php on line 1209

But upload works...
« Last Edit: November 04, 2005, 08:57:53 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error
« Reply #1 on: November 04, 2005, 08:33:45 am »

if this message bothers you, edit upload.php, find
Code: [Select]
            chmod($path_to_image, octdec($CONFIG['default_file_mode']));and replace with
Code: [Select]
            @chmod($path_to_image, octdec($CONFIG['default_file_mode']));to silence the output.
Logged

Knight of death

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Error
« Reply #2 on: November 04, 2005, 08:36:15 pm »

Thank you)
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.