News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

1.0 to 1.1.0

Started by babes, October 14, 2003, 05:37:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

babes

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

Tarique Sani

Wait for tommorow and install 1.2 due for first public RC :)
SANIsoft PHP applications for E Biz

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?
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

babes

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

jasendorf

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 very closely.

If it still errors out, we'll work from there.
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

effacer

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 ???