Two versions of cpg1.4.10, but two significantly different databases Two versions of cpg1.4.10, but two significantly different databases
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Two versions of cpg1.4.10, but two significantly different databases

Started by amb, July 22, 2007, 12:56:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

amb

I have changed to a new webhost and I am currently migrating all my website contents. I have a cpg1.4.10 installation at both hosts and was hoping to just export/import the database and thus keep my gallery. Unfortunately this plan doesn't work as smoothly as I had hoped.

When I overwrite the fresh installation with my gallery's database, I get a "Fatal error". I compared the two database files and the tables seem to be quite different. I'm not quite sure why this would be, or what I am to do to migrate my gallery.

Any advice would be greatly appreciated.

François Keller

Have you modifying your include/config.inc.php file in accord with  your new database connection info?
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Nibbler

Upgrades and fresh installs will have slightly different databases. Enable debug mode to see what the fatal error actually is.

amb

Quote from: Frantz on July 22, 2007, 01:40:11 PM
Have you modifying your include/config.inc.php file in accord with  your new database connection info?
Nope. I copied the database from the old host, installed cpg1.4.10 fresh at the new host, and tried to overwrite the new database with the copy from the old host. I checked config.inc.php after you mentioned it and everything seems fine.

Quote from: Nibbler on July 22, 2007, 09:33:24 PM
Upgrades and fresh installs will have slightly different databases. Enable debug mode to see what the fatal error actually is.

I get this:
While executing query "SELECT extension, mime, content, player FROM cpg_filetypes;" on 0

mySQL error: Unknown column 'player' in 'field list'


amb