coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: strokesfan on February 13, 2007, 04:56:05 AM

Title: Upgrading from 1.3 to 1.4x
Post by: strokesfan on February 13, 2007, 04:56:05 AM
I decided to upgrade my coppermine gallery to the latest one having used 1.3 for awhile now. I uploaded all the files necessary and overwrote all the old ones and now I get this message when going to the gallery (http://adam.flirtatious.org):

Fatal error :

.


While executing query "SELECT * FROM cpg_config" on 0

mySQL error: Table 'flirtati_adam.cpg_config' doesn't exist


I searched on the forum and didn't find a precise answer. Can anyone help?
Title: Re: Upgrading from 1.3 to 1.4x
Post by: Joachim Müller on February 13, 2007, 07:59:37 AM
Did you run update.php? Post a link to your gallery.
Title: Re: Upgrading from 1.3 to 1.4x
Post by: strokesfan on February 14, 2007, 07:56:43 AM
Yes, I ran update.php and got this message at the bottom:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/flirtati/public_html/adam/update.php on line 47

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/flirtati/public_html/adam/update.php on line 50

Upgrade completed

It's recommended to check your file versions if you just upgraded from an older version of coppermine.
If you didn't (or you don't want to check), you can go to your gallery's start page

When I try to click on version check, it gives that error message again (http://adam.flirtatious.org/versioncheck.php)

Everything else said "already done" at the tables above.
Title: Re: Upgrading from 1.3 to 1.4x
Post by: Joachim Müller on February 14, 2007, 08:12:59 AM
Make sure that you have upgraded all files - the error message you got shows that you haven't.
Title: Re: Upgrading from 1.3 to 1.4x
Post by: strokesfan on February 16, 2007, 04:22:10 AM
I did - I re-wrote every single file and it still gave this message:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/flirtati/public_html/adam/update.php on line 47

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/flirtati/public_html/adam/update.php on line 50
Title: Re: Upgrading from 1.3 to 1.4x
Post by: strokesfan on March 04, 2007, 10:38:50 PM
Still not working...I had some old backups of the mysql database and they're still not working.
Title: Re: Upgrading from 1.3 to 1.4x
Post by: Nibbler on March 04, 2007, 10:44:06 PM
Make sure include/config.inc.php has the correct info for your db.