Page 1 of 1
migration to another server
Posted: Fri Oct 27, 2006 5:04 pm
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
Posted: Fri Oct 27, 2006 5:24 pm
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.

Posted: Sat Oct 28, 2006 10:01 am
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
Posted: Sat Oct 28, 2006 5:02 pm
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!)
Posted: Mon Oct 30, 2006 10:08 am
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
Posted: Mon Oct 30, 2006 10:26 am
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.