Upgrading without serendipity_config_local.inc.php

Having trouble installing serendipity?
Post Reply
nzuhdi
Posts: 3
Joined: Thu Aug 03, 2006 2:17 pm

Upgrading without serendipity_config_local.inc.php

Post by nzuhdi »

Greetings,

1) I did not make any backup of serendipity_config_local.inc.php, would it be posibble to run the upgrade script? I have uploaded all the .php files, and it said that I need to reinstall, I don't want to install because I'm afraid s9y with overwrite data in the database.

2) Where exactly the file to type in the database connection. (this is equivalent to wp_config.php)
hello world
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upgrading without serendipity_config_local.inc.php

Post by garvinhicking »

Hi!

You definitely need that file, but you can easily recreate it. It looks like this:

Code: Select all

<?php
        /*
          Serendipity configuration file
          Written on Sun, 23 Apr 2006 17:59:45 +0200
        */

        $serendipity['versionInstalled']  = '1.0-beta2';
        $serendipity['dbName']            = 'serendipity';
        $serendipity['dbPrefix']          = 'serendipity10beta_';
        $serendipity['dbHost']            = '127.0.0.1';
        $serendipity['dbUser']            = 'root';
        $serendipity['dbPass']            = 'root';
        $serendipity['dbType']            = 'mysql';
        $serendipity['dbPersistent']      = false;

        // End of Serendipity configuration file
        // You can place your own special variables after here:

?>
Just replace the right credentials and the right version number of your old installation there.

Best regards,
Gargvin
# 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/
nzuhdi
Posts: 3
Joined: Thu Aug 03, 2006 2:17 pm

Post by nzuhdi »

Hi,

Thanks, now it is talking to the db :D
hello world
Post Reply