Advanced search  

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

Pages: [1]   Go Down

Author Topic: Directory in 744 using JUPLOAD  (Read 4589 times)

0 Members and 1 Guest are viewing this topic.

letutu

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
Directory in 744 using JUPLOAD
« on: September 25, 2009, 09:34:22 pm »

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.




Logged

letutu

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
Re: Directory in 744 using JUPLOAD
« Reply #1 on: September 25, 2009, 10:56:57 pm »

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 ;)   

 
Logged

etienne_sf

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 908
    • Wiki
Re: Directory in 744 using JUPLOAD
« Reply #2 on: September 28, 2009, 10:19:56 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.