migration to another server

Having trouble installing serendipity?
Post Reply
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

migration to another server

Post by plofhead »

Hi,

I'm in the process to migrate my blog to another hoster. I made a backup of all files from the old host and ftp'ed them to the new server. Also the same for the MySQL database. So far so good. But how do I setup Serendipity to get it to work on the new server?
I know it's somewere written in the forum, but I can't find it anymore.
So what is the easiest way to do it?

regards,
Bert
To bee or not to bee, that is the question
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

Check out this section in the FAQ: http://www.s9y.org/11.html#A21

If you need any more help or run into any problems, please post back here. :)
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Hi,

I changed serendipity_config_local.inc.php for the MySQL settings but now I get this when logging into my site with index.php
[php /* Serendipity configuration file Written on Fri, 04 Aug 2006 14:58:27 +0200 */ $serendipity['versionInstalled'] = '1.0'; $serendipity['dbName'] = 'plofhead'; $serendipity['dbPrefix'] = 'serendipity_'; $serendipity['dbHost'] = 'localhost'; $serendipity['dbUser'] = 'plofhead'; $serendipity['dbPass'] = '******'; $serendipity['dbType'] = 'mysql'; $serendipity['dbPersistent'] = false; // End of Serendipity configuration file // You can place your own special variables after here: ?>
Fatal error: Call to undefined function: serendipity_db_connect() in /sites/plofhead.nl/www/blog/serendipity_config.inc.php on line 196

Any idea what's going wrong?

Bert
To bee or not to bee, that is the question
azel
Regular
Posts: 265
Joined: Thu Apr 21, 2005 4:28 am
Contact:

Post by azel »

You may have to open up your backup copy of your SQL dump of your blog and change the user/pass so that you can connect to your new server. Just upload your changed copy. (Make a backup of your original first dump just in case!)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi plofhead!

It also seems you did not upload a valid PHP file? The file must start with "<?php" not "[php"!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post by plofhead »

Thanks for your reactions.
I could not get my blog running by just copying the backup of the site and MySQL. Finally I installed Serendipity from scratch and copied my backup over this install. After this the installation went fine.
To bee or not to bee, that is the question
Post Reply