Directory in 744 using JUPLOAD Directory in 744 using JUPLOAD
 

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]

Main Menu

Directory in 744 using JUPLOAD

Started by letutu, September 25, 2009, 09:34:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

letutu

Hi,

User of JUPLOAD 3.6.2 for uploading picture on coppermine galery i have a big bug with JUPLOAD.

My website is hosted by freeheberg.

When i upload picture by JUPLOAD, the permissions are set but with wrong value.

Directory created by JUPLOAD is in 744 and finally my pictures doesn't appear on my galery (RED CROSS).

If i manually modify permissions it's ok but when i upload new photos problem still present on new pictures only.

Please help me :)

Thanks.





letutu

Reply for Etienne_sf

My problem is due to function "create directory" in file --> j_upload_management_inc.php

If i upload all my pictures in primary directory created by COPPERMINE all is ok.

So in your plugin i have disable this function :

   //If the directory doesn't exist, we try to create it.
      //if (!is_dir($dest_dir_jupload)) {
      //     echo ("[DEBUG] j_picmgmt.inc.php: the directory does't exist. We create it.\n");
      //   @mkdir($dest_dir_jupload, octdec($CONFIG['default_dir_mode']));
      //}
      
and now is working with all file in one directory --> " Not efficient ... but it works!  :-) "   lol :D :p

oucchhhh i'm quite sure to pass a very good night after this problem is solved ;)   

 

etienne_sf

Hum, hum,

  I added this code, to have less files per directory.   Seems to be a bad idea, at least on your system.
I'll remove this code.

Do you have the PHP safe_mode enabled ?


Etienne