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

503 Error

Discussion in 'Installation, Upgrade, and Import Support' started by stilly, Sep 8, 2012.

  1. stilly

    stilly Active Member

    So here a strange one, I was getting a 503 error everytime I tried to login to the forum. Site would load, but as soon as I clicked login would get a 503 (Board was closed to guests to view)

    Talked to the host, no help, lol,

    So anyways, I was at 1.1.2. I could see the problem in error logs being admin.php getting the 503

    re uploaded admin.php, no change, same thing 503 error. I figured would try to upgrade to 1.1.3

    Uploaded files, cant run the upgrade script, cant run from /install, just a blank white page.

    Go to install/index.php?upgrade and I get upgrade system log in fields, ok , good, enter info, click login, get a 503 error, again at admin.php?login/login

    Cant load the board now at all, goes straight to 503 error, ????

    Any thoughts? This came out of the blue, thankfully only live test site, but still, need to figure out what is causing this.....
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. stilly

    stilly Active Member

    I am on a VPS, I have a VB site running at the IP, all is fine, this site acting up, is at the admin.php that is chucking a 503,
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Well XenForo itself has a couple of 503 errors that it can return on public pages, but not on admin pages. The legitimate 503 errors that XenForo can return are when the version doesn't match (in the middle of an upgrade) or the forum is turned off and you are not logged in as admin.

    Is the error generated by XenForo? Meaning is the error page styled like a XenForo page? Or does it appear more generic and not XenForo-related.
  5. stilly

    stilly Active Member

    nah, its a litespeed 503 error, trying to figure out why, urljet has no clue either,
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Some of the usual suspects for server errors include .htaccess files and file/folder permissions. Just guessing though.
  7. stilly

    stilly Active Member

    This is all the admin.php should contain? Correct?


    $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_Admin());
  8. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yes that is the correct code.
  9. stilly

    stilly Active Member

    Weird one here, lol, havent run into this before,
  10. stilly

    stilly Active Member

    Was php issue. Run on 5.2.17, all good now.
    Jake Bunce likes this.

Share This Page