Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Sudden problem with batch add: pid=0  (Read 8696 times)

0 Members and 1 Guest are viewing this topic.

fotofreek

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 23
    • http://www.victorbos.nl/
Sudden problem with batch add: pid=0
« on: September 17, 2006, 03:07:00 pm »

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
« Last Edit: September 17, 2006, 09:51:18 pm by GauGau »
Logged

fotofreek

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 23
    • http://www.victorbos.nl/
Re: Sudden problem with batch add: pid=0
« Reply #1 on: September 17, 2006, 09:12:04 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sudden problem with batch add: pid=0
« Reply #2 on: September 17, 2006, 09:51:04 pm »

I guess it is time for me to upgrade to CPG 1.4  ;)
Definitely yes ;)

Thanks for returning and posting your solution.
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.