Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 11:05:11 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Maintenance release cpg1.4.25 - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix an issue with http uploads that could occur in particular versions of PHP.The fix is not security-critical, so if your gallery is running fine with cpg1.4.23 or cpg1.4.24 you don't need to upgrade. If you are running an older version than cpg1.4.23, you must update to this latest version as soon as possible because of the security impact (the past few maintenance releases before cpg1.4.24 all were security-related).
[more]
   Home   Help Search Board rules Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: Directory in 744 using JUPLOAD  (Read 241 times)
0 Members and 1 Guest are viewing this topic.
letutu Topic starter
Coppermine newbie

Gender: Male
France France

Posts: 12


« on: September 25, 2009, 08: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 Smiley

Thanks.




Logged
letutu Topic starter
Coppermine newbie

Gender: Male
France France

Posts: 12


« Reply #1 on: September 25, 2009, 09: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 Cheesy :p

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

 
Logged
etienne_sf
Moderator
****
Gender: Male
France France

Posts: 798


WWW
« Reply #2 on: September 28, 2009, 09: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
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.029 seconds with 17 queries.