XF 1.2 all works apart from...


Well-known member
Hi all,

Help!! Have just migrated my forum onto a new server... and everything seems to work OTHER THAN the "new posts" button at the top of the forum itself.
It displays the following when clicked on :

$startTime = microtime(true);
$fileDir = dirname(__FILE__);

require($fileDir . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library');

XenForo_Application::initialize($fileDir . '/library', $fileDir);
XenForo_Application::set('page_start_time', $startTime);

$fc = new XenForo_FrontController(new XenForo_Dependencies_Public());
As text on a page, and thats it... it's almost like it's not reading the PHP properly... however everything else seems to work perfectly!!! May well be a file corrupted, however i havent got a clue as to which one!! There's no more to it - even the end of the php file seems missing as it doesnt close correctly...

Please help - it's the only problem i have before i can re-open!!

Many thanks
Last edited:


XenForo developer
Staff member
If it's displaying that, then it looks like PHP isn't being run. Unfortunately, I couldn't easily guess why.


Well-known member
Thanks Mike. It's strange as all the other pages load fine, meaning that PHP must be running... just this one button.

I'll do some more digging later :)