1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 all works apart from...

Discussion in 'Installation, Upgrade, and Import Support' started by Paul, Feb 12, 2014.

  1. Paul

    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 :
    $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: Feb 12, 2014
  2. Mike

    Mike 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.
  3. Paul

    Paul 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 :)

Share This Page