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 - Browsable Interface Error  (Read 4153 times)

0 Members and 1 Guest are viewing this topic.

kaptainkory

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Posts: 51
Batch Upload - Browsable Interface Error
« 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.

« Last Edit: July 28, 2005, 09:38:56 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Batch Upload - Browsable Interface Error
« Reply #1 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"
Logged

kaptainkory

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Posts: 51
Re: Batch Upload - Browsable Interface Error
« Reply #2 on: July 28, 2005, 07:49:43 pm »

Hmm, I dunno, looks like a bug to me.  Running as "localhost" on Windows machine.



Logged

kaptainkory

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Posts: 51
Re: Batch Upload - Browsable Interface Error
« Reply #3 on: July 28, 2005, 07:53:09 pm »

Oh, and yes, I am using the latest CVS devel build.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Batch Upload - Browsable Interface Error
« Reply #4 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.041 seconds with 20 queries.