Page 1 of 1

Upgrading without serendipity_config_local.inc.php

Posted: Thu Aug 03, 2006 2:31 pm
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)

Re: Upgrading without serendipity_config_local.inc.php

Posted: Thu Aug 03, 2006 2:37 pm
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

Posted: Thu Aug 03, 2006 4:50 pm
by nzuhdi
Hi,

Thanks, now it is talking to the db :D