problems transferring blog to new host

Having trouble installing serendipity?
Post Reply
Painless
Regular
Posts: 6
Joined: Wed Sep 27, 2006 11:20 pm
Location: UK

problems transferring blog to new host

Post by Painless »

Hi All,

I recently suffered a HDD failure on my server, so I took the opportunity to move to cheaper (VPS) dedicated server. I've installed Apache/SQlite/PHP5. I'm using a new distro. I was using Debian Lenny, now using Arch, so there are version differences.

I backed up the whole of my blog, all directories and the database, so it's all there with the same perms it had before. I was running Serendipity version 1.1.

When I try to access the blog, I just get a completely blank page. Viewing page source from the browser shows a empty page. The same goes for any of the archived entries.

Previous version of Apache was 2.2.9 new one is 2.2.17
Previous version of PHP was 5.2.6, new one is 5.3.5
Using Sqlite 2

Apache config is the same, same modules enabled, I'm using the backed up httpd.conf vhost settings. The sites all run fine. I have another self-written php app which also uses sqlite 2 and that is working fine too.

I can't figure out what is wrong. Any help/ideas would be greatly appreciated.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: problems transferring blog to new host

Post by Timbalu »

Painless wrote:When I try to access the blog, I just get a completely blank page. Viewing page source from the browser shows a empty page. The same goes for any of the archived entries.

I can't figure out what is wrong. Any help/ideas would be greatly appreciated.
Hi
An empty page often means a fatal PHP error. Check you error logs.
Then we'll know where to look for.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Painless
Regular
Posts: 6
Joined: Wed Sep 27, 2006 11:20 pm
Location: UK

Re: problems transferring blog to new host

Post by Painless »

Thanks. Doh, why didn't I think of that!

There are multiple instances of the following message:

Code: Select all

[Fri Feb 18 11:24:36 2011] [error] [client 207.46.192.73] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /home/basica01/www/basicallytech/blog/include/plugin_api.inc.php on line 558
I guess an upgrade to the latest Serendipity would be the best course of action?
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: problems transferring blog to new host

Post by Timbalu »

Oh, very nice ;-)
I think it is strongly recommended to upgrade to Serendipity 1.5.5 now :!:
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Painless
Regular
Posts: 6
Joined: Wed Sep 27, 2006 11:20 pm
Location: UK

Re: problems transferring blog to new host

Post by Painless »

LOL. Well, it's nice to have a diagnosis, thanks very much for your help. I'll do it tonight and report back. :)
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: problems transferring blog to new host

Post by Timbalu »

Yes, of course, sorry.
The diagnosis points to the PHP Version. Since PHP 5.3.3 it is deprecated to assign the return value by reference. You were using a medieval version of Serendipity which didn't know things like this.
You will have much more fun and secureness with the actual serendipity release.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Painless
Regular
Posts: 6
Joined: Wed Sep 27, 2006 11:20 pm
Location: UK

Re: problems transferring blog to new host

Post by Painless »

Upgrading worked perfectly. Thanks again for the assistance. :D
Post Reply