Batch File Upload Complication Batch File Upload Complication
 

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

Main Menu

Batch File Upload Complication

Started by cgc0202, August 04, 2006, 12:43:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cgc0202

The issue presented here is different from the issues encountered by jarodsafehouse71 in posts:

http://forum.coppermine-gallery.net/index.php?topic=34555.0

http://forum.coppermine-gallery.net/index.php?topic=34564.0

OK, here is my current setup.  I use cpg1.4.8 with the correponding latest Stramm plugin. The latter is used mainly to create fixed (squared) thumbnails, giving a cleaner thumbnail presentation. Also, I generally use the setup:  "http://mysite.com/cpg/files and directories" which is the default procedure.  One difference for my setup is this: I have multiple photogalleries; thus I decided to place the photos outside of the CPG, instead of placing them in the "albums" present in each CPG.  Also, the appropriate changes were done using the "configurations" so that a properly installed CPG will recognized the outside album where the photos were  stored.  The appropriate permissions were also done in both the CPG and the outside directories where the photos are stored.

The above setup has always worked before for batch upload and the standard upload files procedure.

Here is what I experienced today.  I decided to place the entire downloaded CPG inside a directory  so that the setup is now:

"http://mysite.com/common/cpg01/files and directories"
instead of
"http://mysite.com/cpg/files and directories" as I usually did in previous installations.

In the no-support forum

http://forum.coppermine-gallery.net/index.php?topic=34563.msg161926#msg161926

I outlined what happened during the installation but the bottom line was that it eventually worked and I got a working empty CPG, ready for accepting photos. [Note: The aforementioned new post was intended mainly to get general comments rather that support, so I created this separate post for more specific answer to a technical problem I encountered.]

The bottom line, the batch upload procedure no longer works, i.e.,  for the CPG using the level layout:

"http://mysite.com/common/cpg01/files and directories"

no longer recognizes the photos found in

/public-album/photos/contributors/A to Z*/name of photographer1/photo1.jpg

The permissions were correct and I made sure that the proper files and directories had the appropriate CHMOD specifications.  The only way it would work is if I place the CPG in the public album, i.e., the revised layout setup for the same CPG is now:

"http://mysite.com/cpg01/files and directories"

I understand that the aforementioned is what was stated in the Manual.  I reread the installation procedure and the DAQ but I did not find anything which stated that it is not possible to use layout:


"http://mysite.com/common/cpg01/files and directories"

Did I miss something?  Or, is the only allowed layout for the CPG is "http://mysite.com/cpg01/files and directories"?

cgc0202