Page 1 of 1

How to start new setup?

Posted: Sat Oct 28, 2006 1:50 pm
by plofhead
Hi,

I'm trying to migrate my site to another server. Copied the backups of the site and MySQL to the new server, but still I'm not able to login.

This is what I get:
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

When I install Serendipity from scratch everything seems to work.

I know there is a way to get the first setup screen again by removing a file or something because I did this before. But how? That way I'm able to enter all the correct values for the database and paths.

Regards,
Bert

Posted: Sat Oct 28, 2006 6:57 pm
by carl_galloway
Delete the file serendipity_config_local.inc.php asnd this should allow you to get back to the install screen.

Posted: Sat Oct 28, 2006 8:02 pm
by plofhead
I tried that, but the install screen did not appear!
Finally I installed Serendipity 1.0.2 from scratch and copied my backup on top of that. I know it's probably not the right way, but it seems to work now.

Thanks for you support,
Bert