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: [Solved]: error in upload.php on line 1205  (Read 5164 times)

0 Members and 1 Guest are viewing this topic.

gizzmo

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Solved]: error in upload.php on line 1205
« on: June 24, 2004, 06:40:57 pm »

When i use the file upload funtion i get an error display, everything works fine further the upload works etc. i only want to get rid of this error:

Warning: chmod, chgrp, realpath, tmpfile, link, mb_send_mail() has been disabled for security reasons in /data/members/free/tripod/nl/d/c/g/dcgallery/htdocs/upload.php on line 1205

Is there some way to fix this?
« Last Edit: June 26, 2004, 05:48:02 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: error in upload.php on line 1205
« Reply #1 on: June 25, 2004, 12:56:23 am »

your webhost has disabled CHMOD to be executed in php (obviously for security reasons, but somehow castrating your webspace with this directive). To solve this issue for you, edit upload.php, find
Code: [Select]
            // Change file permission
            chmod($path_to_image, octdec($CONFIG['default_file_mode']));
and comment it out by replacing it with
Code: [Select]
            // Change file permission
            //chmod($path_to_image, octdec($CONFIG['default_file_mode']));

GauGau
Logged

gizzmo

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: error in upload.php on line 1205
« Reply #2 on: June 25, 2004, 01:21:54 pm »

Ok thanks it worked
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.