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?
Did you run update.php? Post a link to your gallery.
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.
Make sure that you have upgraded all files - the error message you got shows that you haven't.
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
Still not working...I had some old backups of the mysql database and they're still not working.
Make sure include/config.inc.php has the correct info for your db.