Tutorial Please log in as an administrator to proceed. (Upgrade 3.1.2 - 3.1.3)

Discussion in 'Installation & Upgrades' started by Gleb_S., Feb 20, 2014.

  1. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    If you encountered the error "Please log in as an administrator to proceed" when trying to upgrade from 3.1.2 to 3.1.3 version please follow the instructions below:

    Open the file [subrion_folder]/install/system.php,
    find the code:
    PHP:

    define('IA_HOME', str_replace(array(INSTALL . IA_DS, '\\'), array('', IA_DS), dirname($_SERVER['SCRIPT_FILENAME']) . IA_DS));
     
    Replace it with:
    PHP:

    define('IA_HOME', str_replace(array(INSTALL . IA_DS, '\\'), array('', IA_DS), dirname(__FILE__) . IA_DS));
     
    Save the changes and try to run the upgrade again.
  2. Andrew_G.

    Andrew_G. Staff Member

    In order to fix this problem during upgrade process from 3.1.3 to 3.1.4 version you need to make changes in [subrion_folder]/install/index.php file (not with system.php).
  3. tomukasteris

    tomukasteris New Member

    When I try to upgrade I get this:
    [subrion_folder]/install/index.php file already does have this code:
    PHP:
    define('IA_HOME', str_replace(array(INSTALL . IA_DS, '\\'), array('', IA_DS), dirname(__FILE__) . IA_DS));
    How to fix it and upgrade?
  4. Andrew_G.

    Andrew_G. Staff Member

  5. tomukasteris

    tomukasteris New Member

    My version is 3.2.7.

    How to upgrade manually?
  6. Vasily_B.

    Vasily_B. Project Manager

    No way to upgrade manually. The only available way is to apply auto patch.

    Are you sure you are logged in as administrator?
  7. tomukasteris

    tomukasteris New Member

    Yes, I am logged in as an administrator but still I get this error message login as admin.
  8. Vasily_B.

    Vasily_B. Project Manager

    Ok, we will need your admin panel details + ftp information so we could check the issue on your server directly.

    Cheers
  9. tomukasteris

    tomukasteris New Member

    I have re-installed Subrion 3.3.0 from scratch. Now I wan't to upgrade to 3.3.1 and still is the same problem:
    So, it means something is wrong with core script upgrade code. Please have a look why we get this code.
  10. Vasily_B.

    Vasily_B. Project Manager

    Ok please submit a ticket and we will investigate the issue. See the request above, as according to our log records 394 websites have been upgraded to 3.3.1 since the release. They would not be able to do this, if they all had the same issue.

    Waiting for your ticket.

Share This Page