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

XF 1.1 Bad news, worse news. Upgrade go boom.

Discussion in 'Installation, Upgrade, and Import Support' started by Edrondol, Oct 5, 2011.

  1. Edrondol

    Edrondol Well-Known Member

    I did 2 upgrades. The first on a small site went swimmingly well. The second site not so much. I think I tried to do too much.

    When I try and hit my site the only thing I get is:

    An unexpected database error occurred. Please try again later.

    I thought, okay. No worries. I'll just go to the backup. SURPRISE! My backup was saved at 0 bytes and is useless. I don't know whether I got impatient and tried to move away from it too fast or what, but I didn't check the backup success before I began the upgrade.

    Here's the steps I took:

    1. I upgraded to 1.1 from 1.0.3.
    2. I then updated most of my templates.
    3. I got rid of a few addons I would no longer need - Notices and Infractions. Please note that each of these gave me an error.
    What else do you need to help me get back on my feet?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    This is showing in the page source:

    <!-- Mysqli prepare error: Table 'davidn_vb1.xfr_bn_notice' doesn't exist -->

    Is that from an add-on?
     
  3. Edrondol

    Edrondol Well-Known Member

    So it was the notice addon deletion that did it. Crap.
    Easy way to fix?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You can either navigate directly to the ACP and reinstall it, or try just creating that table manually.

    There must be some old code hanging around, even though you uninstalled it.
     
  5. Edrondol

    Edrondol Well-Known Member

    I'm reinstalling it now. Hope that helps. Then I'll just disable it. Thanks, Bro-gan!
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Get in touch with the add-on author.

    You should be able to uninstall it without borking your site.
     
    Kim and Forsaken like this.
  7. Edrondol

    Edrondol Well-Known Member

    And I'm back up. Stupid addon.
     
  8. Rho Delta

    Rho Delta Well-Known Member

    is it smart to just uninstall all addons before making the jump?
     
  9. Edrondol

    Edrondol Well-Known Member

    Never had an issue before with any. Besides, I'm kind of an addon whore. I love the things and tend to have a lot.
     
  10. Carlos

    Carlos Well-Known Member

    I had this error, too. I don't think it's a problem with anything... I think xenforo has a problem with upgrading when you overwrite files at first - this is something that usually never happens in previous versions. Not even in beta releases....

    But what solved it for me was being online in the AdminCP, and then going back there to upgrade the script from the browser....So that lil "unexpected error" now went boom! lol. :)
     
  11. Edrondol

    Edrondol Well-Known Member

    Nope. Mine was due to an addon that I'd removed. I reinstalled it and it worked fine.
     
  12. Carlos

    Carlos Well-Known Member

    The thing is, I wasn't even running any plugins... so I thought that'd help... but guess not, eh? :(
     
  13. Digital Doctor

    Digital Doctor Well-Known Member

  14. Digital Doctor

    Digital Doctor Well-Known Member

    Could the title be edited from the usual Edrondol drama (in a good way) to something that people could find / and be useful going forward. Obviously at the time, he didn't know what the problem was.

    [Confirmed]Uninstalling [XFR] BoardNotices - advanced notice system addon causes errors in upgrade to xF 1.1 beta1.
     
    Veer likes this.
  15. Edrondol

    Edrondol Well-Known Member

    True, true. This is the very reason I let my users edit the thread titles if they are the thread starter. ;)
     
  16. Digital Doctor

    Digital Doctor Well-Known Member

    Please please please say thread titled editing is in 1.1
    /fingers crossed.
     
  17. Digital Doctor

    Digital Doctor Well-Known Member

    I specifically don't think the word in the title "Boom" applies.
    Good use of the word Boom :
    in a F18 fighter jet ... breaking the sound barrier (Sonic Boom)

    Upgrade goes hiccup ?
    Upgrade give heartburn - TUMS cured it ?

    /imo
     
  18. Edrondol

    Edrondol Well-Known Member

    Nope. But there's an app for that.
     
    Digital Doctor likes this.
  19. Digital Doctor

    Digital Doctor Well-Known Member

  20. Pepelac

    Pepelac Well-Known Member

    Ok, Edrondol, have you got an error Invalid model 'XenForo_Model_BbCodeMediaSites' specified while deleting add-on?
     

Share This Page