Sudden problem with batch add: pid=0 Sudden problem with batch add: pid=0
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Sudden problem with batch add: pid=0

Started by fotofreek, September 17, 2006, 03:07:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fotofreek

Hi all,

After using coppermine for 2.5 years, I suddenly encounter a problem with the batch-add function (searchnew.php):
The directory listing appears, I select the directory, press [OK] and the blue [OK] bulb appears that the picture is succesfully added.
But coppermine will not show the picture, and if I peek into the _pictures table, I see that the added picture has a pid=0.
Any idea what can cause this sudden problem?

tia,

Victor

fotofreek

It is solved:
My hosting provider upgraded to mySql 5, that behaves a bit different on the auto_increment column attribute: the insert of a '' in an integer column will not increment to the next value. I was running an old picmgmt.inc.php that does try to insert a ''. Changed that to NULL, now everything is OK again.
I guess it is time for me to upgrade to CPG 1.4  ;)

Victor

Joachim Müller

Quote from: fotofreek on September 17, 2006, 09:12:04 PM
I guess it is time for me to upgrade to CPG 1.4  ;)
Definitely yes ;)

Thanks for returning and posting your solution.