Page 1 of 1
frontend blank page after moving to new server
Posted: Mon Aug 02, 2010 10:26 pm
by secu
Hi Gents,
I'm faced to a weird issue while finishing to move a serendipoty blog to a new server:
In frontend I only get a blank page (not content, zero html generated) while backend access works nice and as usual. I then tested to call a test.php put into the document root. This file gets displayed as it should, only S9Y index.php doesn't output anything. It only outputs something when I (testwise) added a print line into it. But completely nothing from the blog.
In all cases (too when calling index.php) Apache's access.log shows proper entries.
Further information:
It's a pretty old S9Y version: 1.3.1 (will be upgraded after migration was completed). PHP version on the new machine is 5.3.3 (old machine 5.2.10). Migration was done by dumping the old database and inserting into MySQL on the new machine. Then copying the file tree into the new webspace and making the changes to the config file. I finally logged into the backend and adapted the the blogs URL to its pure IP address (wanted to do so and test the blog before changing the A record).
I've searched around for a while but not find any further hint to resolve the issue.
Anybody out there capable to give me a pointer ?
Thanks in advance
Tom
Re: frontend blank page after moving to new server
Posted: Tue Aug 03, 2010 7:27 am
by kleinerChemiker
This looks like a server error. You have "show errors" turned off. Either you activate it or you have to look into your server log.
Re: frontend blank page after moving to new server
Posted: Tue Aug 03, 2010 6:32 pm
by secu
Hi,
thanks, but there is no "show errors" in the php.ini file (if you ment this). There is only "display_errors" which I switched on - then showing no further information (just the same behaviour as before, frontend is a blank page).
If you mean Apache's error.log. It shows the following entries which either doesn't lead me to anywhere:
[Tue Aug 03 16:25:08 2010] [error] [client 123.123.123.123] PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/serendipity-1.3.1/include/plugin_api.inc.php on line 560
[Tue Aug 03 16:25:08 2010] [error] [client 123.123.123.123] PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/vhosts/esprit/oldcannes/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 464
[Tue Aug 03 16:25:08 2010] [error] [client 123.123.123.123] PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/vhosts/esprit/oldcannes/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 489
[Tue Aug 03 16:25:08 2010] [error] [client 123.123.123.123] PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/vhosts/esprit/oldcannes/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 533
[Tue Aug 03 16:25:08 2010] [error] [client 123.123.123.123] PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/vhosts/esprit/oldcannes/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 870
[Tue Aug 03 16:25:08 2010] [error] [client 123.123.123.123] PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/vhosts/esprit/oldcannes/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 388
[Tue Aug 03 16:25:08 2010] [error] [client 123.123.123.123] PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/vhosts/esprit/oldcannes/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 432
[Tue Aug 03 16:25:08 2010] [error] [client 123.123.123.123] PHP Deprecated: Assigning the return value of new by reference is deprecated in /www/vhosts/esprit/oldcannes/plugins/serendipity_event_google_sitemap/serendipity_event_google_sitemap.php on line 585
Could it be that S9Y 1.3.1 somehow was not compatible with PHP 5.3.3 ?
Thanks
Tom
Re: frontend blank page after moving to new server
Posted: Tue Aug 03, 2010 8:02 pm
by kleinerChemiker
If you change your php.ini you have to restart Apache.
Normally depricated messages shouldn' stop the parsing. Maybe try setting the error_reporting to 1 or 5
Re: frontend blank page after moving to new server
Posted: Tue Aug 03, 2010 8:19 pm
by secu
Apache was restarted after each change of php.ini.
Did change now
;error_reporting = E_ALL & ~E_DEPRECATED
error_reporting = E_ALL | E_STRICT
But Apache's error.log did not spit out any additional information (just the same like before).
What else could be done ?
Just try an upgrade from S9Y 1.3.1 to 1.5.3 ?
Thanks
Tom
Re: frontend blank page after moving to new server
Posted: Tue Aug 03, 2010 8:22 pm
by kleinerChemiker
Oh, yeah, this should fix it.
Re: frontend blank page after moving to new server
Posted: Wed Aug 04, 2010 12:57 am
by secu
Ok, upgrading to 1.5.3 did it. Got back my frontend.
Nonetheless there still come up "Depricated" messages.
Will post that in another thread.
Tom