Page 1 of 1

changing servers

Posted: Fri Nov 02, 2007 6:09 pm
by CassandraMorgan
Hello,
My husband has upgraded our server. He is currently trying to move my Serendipity blog over to the new box. However, now an installation screen comes up when you try to go to the main page of our website: http://thegeekwithin.com

How can we fix this?

Re: changing servers

Posted: Fri Nov 02, 2007 6:19 pm
by garvinhicking
Hi!

Have you checked the FAQ on www.s9y.org about how to move an install? It seems as if you forgot the serendipity_config_local.inc.php file?

Regards,
Garvin

Posted: Fri Nov 02, 2007 6:28 pm
by CassandraMorgan
double post

Posted: Fri Nov 02, 2007 6:32 pm
by CassandraMorgan
Aye, he checked that before moving it. He zipped the folder up from the old server, shut down the MySQL service, zipped the mysql.ini and the databases, and ported them over to the new server.

The only real difference between the servers is that the old one had two drives, and the new one only has one. It used to be on the C drive, its now on D.

He's gotten some of his other stuff working, such as SMF forums, and my coppermine gallery, but Serendipity gives him the installer.

Posted: Fri Nov 02, 2007 6:42 pm
by CassandraMorgan
if the straight copy isn't working right for us, is it possible to just re-setup the blog via the installer and read the database anew? or does it purge everything with the installer?

Posted: Fri Nov 02, 2007 8:20 pm
by garvinhicking
Hi!

Please check again. You must be missing the serendipity_config_local.inc.php from the old server.

Regards,
Garvin

Posted: Fri Nov 02, 2007 8:30 pm
by CassandraMorgan
No, I'm staring at it right now. :)

It contains this....and I'm editing out the info for our DB obviously:

<?php
/*
Serendipity configuration file
Written on Fri, 24 Aug 2007 11:26:56 -0400
*/

$serendipity['versionInstalled'] = '1.1.3';
$serendipity['dbName'] = 'edit';
$serendipity['dbPrefix'] = 'serendipity_';
$serendipity['dbHost'] = 'localhost';
$serendipity['dbUser'] = 'edit';
$serendipity['dbPass'] = 'edit';
$serendipity['dbType'] = 'mysql';
$serendipity['dbPersistent'] = false;
$serendipity['dbCharset'] = 'utf8';

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

?>

The only thing I could possibly forsee as an issue is that the dbCharset is diff from the actual DB (Its Latin1)

The serendipity_config_local.inc.php is sitting in the main root directory of the server where the serendipity_admin.php is. .htaccess is in the same directory, etc as well.

I did a direct zip of the root folder we use. It would be highly doubtful I'd get the other folders and files contained inside, but not the serendipity_config_local.inc.php files.

Posted: Sat Nov 03, 2007 12:31 am
by CassandraMorgan
So, trying to troubleshoot this...I think I've come across part of the issue.

For some reason, IIS6 refuses to allow the main directory that the blog is in to have write access.

So, I made it a virtual directory...and it allows me to complete an installation...but when it gets to show the blog...I get a blank page.

So, I decided to completely blow it all away, try from scratch completely.

Fresh new database, fresh new install.

http://thegeekwithin.com/

The result is a blank page. heh.

If you try to run serendipity_admin.php after the initial install is done, you also get a blank page shown.

The database files are created, and the new database I created is populated.

Just to show that this server *does* in fact work, you can see php and GD2 running on other sections of this same site:

http://thegeekwithin.com/gallery/

Uploads to the coppermine gallery work and the database updates ok.

http://thegeekwithin.com/horked/ runs a simple machines forum and also has a link to another coppermine gallery on the same server.

So, in summary, I've now done everything I can think of on my own to create the blog software again. I've tried creating even a new one, and its not working. Its not a permissions issue at this point. (And as an FYI- the earlier problems seems to be that it was a permissions issue.)

If I delete the htaccess, the local config and the other failsafe file created when you run the installer, it will gladly run the installer again too. ;) After that, nothing displays.

Posted: Sat Nov 03, 2007 5:12 am
by CassandraMorgan
After messing with it most of the night...I finally got it to output errors:


Warning: Smarty::include(C:/www/html/geekwithin/blog/templates_c\contest^%%AE^AE2^AE2FC742%%index.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in C:\www\html\geekwithin\blog\bundled-libs\Smarty\libs\Smarty.class.php on line 1258

Warning: Smarty::include() [function.include]: Failed opening 'C:/www/html/geekwithin/blog/templates_c\contest^%%AE^AE2^AE2FC742%%index.tpl.php' for inclusion (include_path='.;C:\php5\pear;C:\www\html\geekwithin\blog/bundled-libs/;C:\www\html\geekwithin\blog/bundled-libs/Smarty/libs/;C:\www\html\geekwithin\blog/;') in C:\www\html\geekwithin\blog\bundled-libs\Smarty\libs\Smarty.class.php on line 1258

This error did not come up with version 1.13. I was given a pure blank page. Laying the 1.2 files on top of 1.13 allowed the above to occur.

Posted: Sat Nov 03, 2007 10:43 am
by garvinhicking
Hi!

Hm, it seems as if there's a problem of either missing files, or non-writable files.Does yourtemplates_c directory contain files and iswritable?

I only use Apache and have little knowledge ofIIS6 and its specifics.

Regards,
Garvin