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

XF 1.3 Upgrade to 1.3 - Weird ACP login problem

Discussion in 'Installation, Upgrade, and Import Support' started by RobParker, Mar 15, 2014.

  1. RobParker

    RobParker Well-Known Member

    Any idea what's going on here?

    I've just uploaded all the files on my test site to go from 1.2 to 1.3.

    I've disabled the eventlisteners in the config.php as I usually do when updating.

    Now when I go to my ACP, I try to login and get this (black boxes added to obscure details):

    adminlogin.png

    The login fails with no error message but a random orange "M" appears...
     
  2. RobParker

    RobParker Well-Known Member

    Inspecting with Firebug:

    Screen Shot 2014-03-15 at 17.35.20.png
     
  3. RobParker

    RobParker Well-Known Member

    And looking in the firefox console I get:

    "Mysqli statement execute error : Incorrect integer value: 'V?' for column 'ip' at row 1"
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Is this for the site in your account?

    upload_2014-3-15_17-55-54.png

    I don't see that orange M when I access the ACP.
     
  5. RobParker

    RobParker Well-Known Member

    It's for a test install not the live site. I also don't get the M until I try and login, but both my actual login and an incorrect login both generate the M.

    I've just re-uploaded all the files but that hasn't solved it and it's made it worse.

    I now get this at the ACP login screen (with the styling gone):


    Screen Shot 2014-03-15 at 18.02.59.png

    I get the same problem on Firefox and Safari so it doesn't seem like a browser cache thing.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Is the test site running litespeed, cloudflare or any other "non standard" configuration?
     
  7. RobParker

    RobParker Well-Known Member

    It's on Nimbus Hosting, running nginx and we have maxcdn for our live site but not enabled in the config.php for our test site. I think that counts as pretty standard.
     
  8. RobParker

    RobParker Well-Known Member

    I've submitted a ticket with more details, thanks :)
     
  9. Mike

    Mike XenForo Developer Staff Member

    Sounds like the upgrade wasn't run or completed correctly.
     
  10. RobParker

    RobParker Well-Known Member

    The upgrade wasn't even attempted as I never got that far.

    I literally uploaded the files and edited the config.php.

    I then went to login to the ACP and go this error.
     
  11. Mike

    Mike XenForo Developer Staff Member

    Various weird things can happen if you attempt to do anything but run the upgrade when you've uploaded a new version, especially if it's a first- or second-point level release. Run the upgrade and the issue should go away.
     
  12. RobParker

    RobParker Well-Known Member

    How do I run the upgrade without being able to access the ACP?
     
  13. Mike

    Mike XenForo Developer Staff Member

    Just go to <url>/install/ and login there.
     
  14. RobParker

    RobParker Well-Known Member

    Running the upgrade by the command line as our site is quite large. Does it matter which account runs the command? Does it need root or anything?
     
  15. Liam W

    Liam W Well-Known Member

    Nope, just run it as an account with permission to access the files on your hosting account :)

    Liam
     
  16. RobParker

    RobParker Well-Known Member

    So it doesn't create new files and then assign the owner as the account running the command rather than the webserver user? I seem to remember last time I ran the command line updater there were some kind of permission problem after it had ran.
     
  17. Liam W

    Liam W Well-Known Member

    It doesn't, as the web based upgrader doesn't...
     
  18. Mike

    Mike XenForo Developer Staff Member

    It can, as the web based upgrader can (templates as files, for example).

    The system does try to detect that case and set permissions appropriately so it should generally be fine. That said, you may wish to run it as the user that the web server executes PHP as.
     
    RobParker likes this.

Share This Page