forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: jgb6534 on July 22, 2005, 03:49:51 am

Title: Batch-Upload Issue (After RTFMing)
Post by: jgb6534 on July 22, 2005, 03:49:51 am
I poked around on the 1.3 support boards and found the following was a very common issue, usually caused by user error; but I swear I have RTFM and checked my settings a dozen times.  So, perhaps this is a genuine issue.

Here goes <getting ready to duck>:

After doing an FTP upload, my new directory is not visible when Batch Add Files is selected.

The specs:

Absolute location of Coppermine 1.4.1:

/public_html/redrover/portfolio/

Location of FTP upload directory:

/public_html/redrover/portfolio/albums/

Setting in Files and thumbnails advanced settings:

albums/

Sample uploaded sub-directory within albums:

/public_html/redrover/portfolio/albums/rreibooks

Permission setting of albums/ and all sub-directories:  777

Deep link to one image in rreibooks:

http://www.redroverinc.com/portfolio/albums/rreibooks/C-DPC001.jpg

Homepage of the gallery:

http://www.redroverinc.com/portfolio/

And my server specs:

Linux
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.22-standard
------------------
Coppermine version: 1.4.1(beta)

I now feel fully prepared to be humiliated by someone pointing out the dumb mistake I made.

Regards,

Jeremy
Title: Re: Batch-Upload Issue (After RTFMing)
Post by: Nibbler on July 22, 2005, 04:00:21 am
Have you checked http://forum.coppermine-gallery.net/index.php?topic=19588.0 ?
Title: Re: Batch-Upload Issue (After RTFMing)
Post by: umpqua5 on July 22, 2005, 05:55:48 am
Quote
Edit searchnew.php, replace


Code:
$iframe_startfolder .= str_replace('searchnew.php', '', $_SERVER['PHP_SELF']).rtrim($CONFIG['fullpath'], '/').'/';
with


Code:
$iframe_startfolder .= str_replace('searchnew.php', '', __FILE__).rtrim($CONFIG['fullpath'], '/').'/';
and report back.

the above workes great jgb
Title: Re: Batch-Upload Issue (After RTFMing)
Post by: jgb6534 on July 22, 2005, 01:40:37 pm
That did the trick!  Everything imported beautifully.

And at least I don't have to apologize for user error--only for not searching the forum deeply enough.

Thanks for a superb application.  I've sampled numerous gallery apps and Coppermine is the best!