forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: Yasmin86 on February 04, 2013, 04:42:40 pm
-
We're upgrading from 1.4 to the newest version, but something went wrong. All new files were uploaded sans 'albums' and 'anycontent.php.' However, the site now says "Coppermine Photo Gallery seems not to be installed correctly, or you are running coppermine for the first time. You'll be redirected to the installer. If your browser doesn't support redirect, click here." I did some googling and this topic seems to be exactly the same case: http://forum.coppermine-gallery.net/index.php?topic=74131.0 So it's fair to assume the config.inc.php file is missing (although why is it that it gets deleted when it wasn't replaced?)
However in our case, there is unfortunately no backup (I know, I know - stupid). Is there any way to get a new config.inc.php file?
-
Using your ftp app check include/config.inc.php and see if the file exists.
If not you will need to optn the file include/config.inc.php.sample in a text editor and fill out all the relevant details then save it as include/config.inc.php
-
I did that, thank you! However, now I get this error:
Fatal error: While executing query 'SELECT name, value FROM cpg15x_config' in include/init.inc.php on line 179
mySQL error: Table 'jasoncoo_pic.cpg15x_config' doesn't exist
-
By the way, I didn't remember the password for my MySQL user (to fill in the config.inc.php.sample file) so I had to delete it, make a new one and a new passord. The database is still intact though. I don't know if that matters.
-
Check if the table prefix is correct. As you upgraded from cpg1.4.x it's most probably not cpg15x_, but cpg14x_. Just have a look at your table names in your MySQL database.
-
They all say cpg14x_ :(
http://img705.imageshack.us/img705/7200/49071288.jpg
-
In include/config.inc.php, set $CONFIG['TABLE_PREFIX'] to 'cpg14x_'.
-
Ah yes, it said 15 before, and I changed it. But now my gallery just says "fatal error:" and that's it. :-\
( http://jasoncookonline.net/photos/ )
-
Please run http://jasoncookonline.net/photos/update.php as described in the upgrade docs.
-
It works! OH MY GOD you have no idea how happy this has made me, you made my day! Thank you so much for your help!!!! ;D