forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: kaptainkory on July 28, 2005, 08:19:56 am

Title: Batch Upload - Browsable Interface Error
Post by: kaptainkory on July 28, 2005, 08:19:56 am
Anyone want to help me troubleshoot this one?

Right now I get a whole string of warning messages, starting with "Warning: strstr() [function.strstr]: Empty delimiter. in C:\web\home\kaptain\public_html\galleries\include\functions.inc.php on line 2691" and ending with "There are no folders inside the "albums" folder yet".  Yet, I have several folders there.

The warning messages go away and the folders show up when I do the following in functions.inc.php:

FIND (Line 2691):

Code: [Select]
        if(strstr($key, $filename) != FALSE) { // eliminate all that don't contain the filename
            $path_from_serverroot2[] = $key;
        }

REPLACE WITH:

Code: [Select]
        //if(strstr($key, $filename) != FALSE) { // eliminate all that don't contain the filename
            $path_from_serverroot2[] = $key;
        //}

Only with this, new files are not detected properly.  But it does at least isolate the problem.

Thanks.

Title: Re: Batch Upload - Browsable Interface Error
Post by: Joachim Müller on July 28, 2005, 09:38:15 am
There's no support for cpg1.4.1. Your posting is not a valid bug report, but a support request.
Probably fixed when using the most recent cvs checkout, as already suggested on the bugs board - make sure to search before posting: http://forum.coppermine-gallery.net/index.php?topic=19588.0
Marking as "invalid"
Title: Re: Batch Upload - Browsable Interface Error
Post by: kaptainkory on July 28, 2005, 07:49:43 pm
Hmm, I dunno, looks like a bug to me.  Running as "localhost" on Windows machine.



Title: Re: Batch Upload - Browsable Interface Error
Post by: kaptainkory on July 28, 2005, 07:53:09 pm
Oh, and yes, I am using the latest CVS devel build.
Title: Re: Batch Upload - Browsable Interface Error
Post by: kegobeer on July 28, 2005, 08:16:52 pm
There are issues with the browsable batch-add functionality, depending on the way the server is set up.  There is already a thread on this issue.