Page 1 of 1

Moving to another hoster / Safe Mode Problem

Posted: Sun Jul 30, 2006 7:06 am
by TheGuitar666
Hi!
I have a problem in moving my blog to another webhoster. I tried to copy my serendipity_config_local.inc.php but i have no access from FTP. Due to the fact that my provider activated the safe mode recently, i have no rights to change the permissions on that file via php (fixperm.php suggestion in S9Y FAQ). Is there any other possibility to get this file or to create a new one on the new server? Maybe running the installation wizard again or sth. like that?
Thanks for your help!
Andre

Re: Moving to another hoster / Safe Mode Problem

Posted: Mon Jul 31, 2006 1:47 pm
by garvinhicking
Hi!

Sadly under this circumstances you have no other way of getting the file; you must contact your provider to change the permissions for you.

If it's only about the config_local, you can easily recreate it. THe file only holds the DB usernames that are required to connect to the database:

Code: Select all

<?php
        /*
          Serendipity configuration file
          Written on Mon, 12 Jun 2006 14:32:55 +0200
        */

        $serendipity['versionInstalled']  = '1.1-alpha7';
        $serendipity['dbName']            = 'serendipity';
        $serendipity['dbPrefix']          = 'serendipity10_';
        $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:

?>