Installed CPG for the first time, had some problems and had to do two fairly major hacks - which I hope were due to installing incorrectly but ...
#1 The Description field of the albums table is specified as NOT NULL, but the script which adds a new album does not allow you to enter the description when you create a new album - so the script was failing when it tried to insert the row into the album table. Edited database to allow description to be null
#2 When a picture was inserted into the picture database, the cpg php script picmgmt.inc.php was trying to set pid in the INSERT INTO sql command - commented out pid as it is an auto-increment field
With these two hacks it installed - but what did I do wrong to require doing this?
thx
rick
you're using MySQL 5.x
Coppermine is not yet 100% compatible with it
http://forum.coppermine-gallery.net/index.php?topic=10885.0
Read this thread then read GauGau's post toward the bottom.