As previously indicated, I have a nice CPG installation running otherwise perfectly. Apache 2.0.56; PHP version: 5.0.4 - OK; mySQL version: 4.0.16-standard; Coppermine version: 1.3.4; gdlib2 enabled; no other applications latched on like phpBB, etc. All is working elite.
However, I am noticing that when I do batch importation, that the DB records are not inserted in the same order as the files are listed in the filesystem. I assume this is because gdlib2 is parallel processing a bunch of files at once and the insert order is determined by a first available sort of mechanism...and since not all source files are the same size and in fact vary quite a bit, this means larger files will get to the insert step long after they otherwise would be expected to based on filesystem order.
This is an irritant because I want my representative album thumbnail to always be the first image in the filesystem list, but I can't seem to guarantee this other than to manually uncheck all, check only the first, import that, then go back and check the rest, then import them. A real kludge majore.
Is it configurable to instruct gdlib to handle files stepwise rather than in a gang? Have I correctly identified the issue? Any other advice on how to get the outcome I desire? Thanks,
TCP
C'mon guys, is that such a scary question? Why is everybody so afraid to even try? ;)
Seriously, am I all wet on my description of events? Thanks,
TCP
It's only been a day: http://coppermine.sourceforge.net/faq.php#lamesupport
Not even a day - just a few hours.
That is very cute Thu and Kego, but I gave it a full DAY before I kvetched. :) So if by a few you mean like 24++, then yeah, you're right. I know for-free software is not going to have a hotline, and that is cool, it just seemed a little lame that others with less daunting questions were answered ahead of me in line, is all. Note the humble question I asked of whether I was even completely barking up the wrong tree.
Whenever you think you can fit me in Thu, I am ready, thanks,
TCP
I think you're probably correct, but it would not be a simple task to rewrite the batch add system. This (http://forum.coppermine-gallery.net/index.php?topic=13949.0) mod will process the pics in series, perhaps you could use or modify that method.
Hi again Nibbler, thanks for helping out again.
In your link you said:
Here we go, upload this into your coppermine directory and call it timer.php (I hardcoded it, so sue me ) then go there, you know the drill.
It will keep reloading until all the pics are added if you set it to, so you can start it and leave it unattended for hours until it finishes, even with php set with a very low max_execution_time (ignore the fatal error). Not recommended for shared hosting environments unless you are vewy vewy careful.
Note: Auto reload needs js support.
OK, did that and uploaded. I see this is a separate form and you use a sleep() to get this done. OK, thanks for the try. I was hoping for something more configurable to simply import stepwise.
It was very nice of you to get back to me, thanks again.
TCP
please ask questions on a particular mod as a reply to the thread that deals with the mod.
Sorry GauGau, I was including the info from the link Nibbler posted. Tryin' to be helpful, happy to comply in future. :)
TCP