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

Updated to PhP 5.4 broke the forums

Discussion in 'General PHP and MySQL Discussions' started by bwfcwalshy, Mar 22, 2015.

  1. bwfcwalshy

    bwfcwalshy Member

    Today I updated to PhP 5.4.38 and now my forums are not working. It throws a DB error.
    Code:
    An unexpected database error occurred. Please try again later.
    I needed to upgrade to get another thing on my site working but I also need the forums. Is there anyway to fix this?
     
  2. Mike

    Mike XenForo Developer Staff Member

    The URL in your customer area doesn't appear to work. However, view the source of that page and you'll see a more specific error message in the comments.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    View the page source, it may show the reason.

    I'm on Android so can't check.
     
  4. bwfcwalshy

    bwfcwalshy Member

    Ah, thanks I never knew that. Is there a PhP mysql extension? I hired a guy to setup my VPS last time.

    EDIT1: Just tried "yum install php-mysqli" is there anything else I need to do?

    EDIT2: That's all I needed! Thank you so much both of you.
     
    Last edited: Mar 22, 2015

Share This Page