How to start new setup?

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

How to start new setup?

Post 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
To bee or not to bee, that is the question
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Delete the file serendipity_config_local.inc.php asnd this should allow you to get back to the install screen.
plofhead
Regular
Posts: 45
Joined: Fri Jun 23, 2006 9:01 am
Location: Netherlands
Contact:

Post 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
To bee or not to bee, that is the question
Post Reply