coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: rmcgonegal on November 12, 2005, 03:49:32 PM

Title: CPG 1.3.4 + mySql 5.x + Php 5.0.5 + Apache 2.0.55
Post by: rmcgonegal on November 12, 2005, 03:49:32 PM
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
Title: Re: CPG 1.3.4 + mySql 5.x + Php 5.0.5 + Apache 2.0.55
Post by: Stramm on November 12, 2005, 04:16:59 PM
you're using MySQL 5.x
Coppermine is not yet 100% compatible with it
Title: Re: CPG 1.3.4 + mySql 5.x + Php 5.0.5 + Apache 2.0.55
Post by: OmegaGOD on November 14, 2005, 01:54:10 AM
http://forum.coppermine-gallery.net/index.php?topic=10885.0

Read this thread then read GauGau's post toward the bottom.