XF 1.2 all works apart from...

Paul

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 :
Code:
<?php

$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());
$fc->run();

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
Paul
 
Last edited:
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 :)
 
Top Bottom