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

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]

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.