Sever Move Broke Installation - Install Page Keeps Appearing

Having trouble installing serendipity?
Post Reply
pmp6nl
Posts: 2
Joined: Tue Oct 28, 2008 5:37 pm

Sever Move Broke Installation - Install Page Keeps Appearing

Post by pmp6nl »

Hello,

My files were recently moved to a new server, now all that comes up is the installation page.

Can I just go in there in fill in data or will that cause problems with the database that is currently installed?

I searched but did not find anything as specific as my problem.

Thanks for any help.

Brian

P.S. the website is www.campusdakota.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Sever Move Broke Installation - Install Page Keeps Appea

Post by garvinhicking »

Hi!
My files were recently moved to a new server, now all that comes up is the installation page.
That means somebody did not move the serendipity_config_local.inc.php file.
Can I just go in there in fill in data or will that cause problems with the database that is currently installed?
No, reinstalling would be dangerous and you could loose some editor/authors/plugins.

You need to recreate your config file, it has a content like this:

Code: Select all

<?php
        /*
          Serendipity configuration file
          Written on Fri, 24 Oct 2008 11:14:33 +0200
        */

        $serendipity['versionInstalled']  = '1.4-alpha1';
        $serendipity['dbName']            = 'serendipity';
        $serendipity['dbPrefix']          = 'serendipity10_';
        $serendipity['dbHost']            = '127.0.0.1';
        $serendipity['dbUser']            = 'root';
        $serendipity['dbPass']            = 'root';
        $serendipity['dbType']            = 'mysql';
        $serendipity['dbPersistent']      = false;
        $serendipity['dbCharset']         = 'utf-8';

        // End of Serendipity configuration file
        // You can place your own special variables after here:
You need to fill in those variables with what you used in your old install (maybe with a new DB server name if that moved as well). Also make sure the versionInstalled uses exactly the version string of the s9y version you had installed previously.

Maybe you can get the old config file from a backup of the old server?

Regards,
Garvin
# 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/
pmp6nl
Posts: 2
Joined: Tue Oct 28, 2008 5:37 pm

Post by pmp6nl »

Hello,

Thank you very much for your reply...that did the trick!!!

Is it ok if the config file was old, from 1.2.1? There wasnt anything changed that would matter, was there?

Thank you very much!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

No, that's okay. The config file was always the same in every s9y version.

Regards,
Garvin
# 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/
Post Reply