I’ve just encountered this problem when moving to a new host: the database was ok, php was working, htaccess ok, wp-config ok but my website always showed me a numb blank face. The problem drove me crazy since every other WordPress-powered sites on the same host worked. A fresh version of WordPress with the old database helped no further. So i thought it could be a database problem and tried to re-export and -import the databse again, change the encoding of the new database, convert the password of Mysql user to the old one … every method i could think of or google out.
After two hours i turned to the webserver’s log just to find this one:
2008-09-24 23:32:51.681 [NOTICE] [xxx.xxx.xxx.xxx:64358-0#lamnk.com] [STDERR] PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or
T_FUNCTION or T_VAR or ‘}’ in /xxx/blog/wp-content/plugins/last.fm/last.fm.php on line 17
What a relief ! To think last.fm caused this problem is beyond me. Why one plugin that worked on one host suddenly doesn’t work anymore on another host when other plugins do ???





