coppermine-gallery.com/forum

Support => Older/other versions => cpg1.0 Support (deprecated) => Topic started by: babes on October 14, 2003, 05:37:07 PM

Title: 1.0 to 1.1.0
Post by: babes on October 14, 2003, 05:37:07 PM
hey people
when i run the script this is wat i get
While executing query "INSERT INTO cpg11d_pictures (approved, pid, aid, caption, filepath, filename, filesize, pwidth, pheight, hits, mtime, ctime) SELECT 'yes' as approved, p.pid, aid, msg_body AS caption, filepath, filename, filesize, pwidth, pheight, hits, mtime, UNIX_TIMESTAMP(ctime)FROM cpg11d_pictures AS p LEFT JOIN cpg11d_comments AS c ON p.caption = c.msg_id "

mySQL error: Duplicate entry '1' for key 1

wat can i do
thanks
Title: 1.0 to 1.1.0
Post by: Tarique Sani on October 14, 2003, 05:50:30 PM
Wait for tommorow and install 1.2 due for first public RC :)
Title: 1.0 to 1.1.0
Post by: jasendorf on October 14, 2003, 05:55:19 PM
After you installed 1.1.0, did you add any photos to your 1.1.0 installation before trying to bring 1.0 into 1.1.0?
Title: 1.0 to 1.1.0
Post by: babes on October 15, 2003, 02:22:05 AM
Quote from: "jasendorf"After you installed 1.1.0, did you add any photos to your 1.1.0 installation before trying to bring 1.0 into 1.1.0?
no
Title: 1.0 to 1.1.0
Post by: jasendorf on October 15, 2003, 02:55:45 AM
OK, my first suggestion is that you totally wipe out your 1.1.0 installation and start over.  Make sure you follow the upgrade instructions (http://coppermine.sourceforge.net/faq.php?q=upgrade10#upgrade10) very closely.

If it still errors out, we'll work from there.
Title: error !
Post by: effacer on October 21, 2003, 11:06:11 PM
after i put the 1.1 in a new dir and copy albums to the 1.1 dir, i put the upgrade script in the new dir and execute the upgrade script. but this is the result:

Notice: Undefined index: debug_mode in /home/reza/subdomains/*/cpgnew/include/functions.inc.php on line 125
Template error
Failed to find block 'file_line'(#(<!-- BEGIN file_line -->)(.*?)(<!-- END file_line -->)#s) in :


PHP 4.3.1
mysql  Ver 11.18 Distrib 3.23.53

what should i do ???