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: batch upload shows no directories since upgrade to 1.3.2  (Read 4252 times)

0 Members and 1 Guest are viewing this topic.

fog

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
batch upload shows no directories since upgrade to 1.3.2
« on: October 23, 2004, 07:17:39 pm »

I upgraded and everything works fine, except that now when I go to batch upload, it shows no listing of folders from my userpics directory.
Any help would be appreciated. Thanks.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #1 on: October 23, 2004, 07:50:08 pm »

Please read the docs.  You were never meant to put the pics in the userpics directory, you are supposed to create your directories within the albums directory.

The userpics directory is now hidden from the batch add, to prevent users causing problems by putting them there.

Do not move any pics already added, but do not put any more there.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

harzenmoser

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #2 on: November 08, 2004, 11:18:08 am »

as you suggest i created a directory in the folder "albums". the persmissions are set on 777 (write, execute). but i can't see any folder on "add batch"! i already created directories in different subfolders - no way  :\'(
Logged

evargas

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #3 on: November 08, 2004, 07:01:06 pm »

I have the same problem upload process went flawless. Still I don't get any directory showing at all..

Albums directory has:

drwxr-xr-x    2 acalderonjr psacln       4096 Oct 15 00:36 edit
-rwxrwxrwx    1 acalderonjr psacln       1447 Oct 15 00:36 index.html
drwxr-xr-x    2 acalderonjr psacln       4096 Oct 27 10:25 upload          <--- Pictures to be uploades
drwxr-xr-x  109 acalderonjr psacln       4096 Oct 17 10:11 userpics

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #4 on: November 09, 2004, 08:59:40 am »

Browsing to http://mundomotorizado.com/fotos/albums/upload/ gives me "403 forbidden". Obviously, you haven't set permissions appropriately, or you have an .htaccess file in place that keeps me (and the script) from accessing the folder.

Joachim
Logged

evargas

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #5 on: November 09, 2004, 05:39:22 pm »

Indexes are completly off on Apache.

Still I am guess is not a premission problem. Eveything is fully open, 777 at directory level and files level.

You can now browser http://mundomotorizado.com/fotos/albums/upload/ since I add a .htaccess with Indexes on.

Hopefully this can be resolve since we like coppermine alot.

TIA
Logged

evargas

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #6 on: November 09, 2004, 07:09:22 pm »

I found that the problem is the fullpath settings... Since  CPG11D it is  /fotos/albums only.

If I change it to my the real  physical path it should be /data/vhosts/mundomotorizado.com/httpdocs/fotos/albums/ for example.

But when doing so the images url change to have the url + fullpath including the physical path.

My current workaround is to add the physicalpath before every $CONFIG['fullpath'] in searchnew.php

CVS version: $Id: searchnew.php,v 1.6 2004/07/24 15:03:53 gaugau Exp $

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #7 on: November 10, 2004, 09:12:30 am »

back up your existing searchnew.php and get the most recent one (v1.9) from the stable cvs, replace the one on your server with the new one and try again.

Joachim
Logged

evargas

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #8 on: November 10, 2004, 05:30:35 pm »

I did check the CVS to see if there was any fix but none of them have that situation. I still install v1.9 on my server and I got the same problem. No directories to select.



Logged

BMWHeaven

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
    • http://www.bmwheaven.com
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #9 on: December 30, 2004, 05:03:00 pm »

Finally...
After 3 hours of searching I found the solution... I also had problems with the path, just added the physical path before every $CONFIG['fullpath'] :)
Thanks a lot!

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch upload shows no directories since upgrade to 1.3.2
« Reply #10 on: December 31, 2004, 06:39:48 am »

the relative path should be perfectly OK, you better check with your webhost - your server settings seem to be wrong if you needed to hardcode absolute paths.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 15 queries.