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

XF 1.4 Database error.

Discussion in 'Troubleshooting and Problems' started by Flocculent, Nov 22, 2014.

  1. Flocculent

    Flocculent Member


    As of a few hours ago, my xenfofo installation randomly stopped working. When visiting any page, I receive the "An unexpected database error occurred. Please try again later." error message. I checked the db config setting, and it's all good. The URL to my xenforo installation is http://snw.io .
    I am running Ubuntu 14.04.1 LTS.
    Any help is appreciated, many thanks.
  2. Mike

    Mike XenForo Developer Staff Member

    The output you have should actually be impossible, so something extra is happening. There should be an HTML comment on the page which will give the specific error message. This isn't present in your case. However, the code can't output that message without immediately outputting the comment and this isn't something I've seen.

    I would have to guess that you have some setting in CloudFlare that is manipulating the output (and stripping the comment). If you can't/won't temporarily disable it, you would need to access your site without going through CloudFlare and then view the page source.
  3. Brad P

    Brad P Active Member

  4. Flocculent

    Flocculent Member

    I will try this thanks.
  5. Flocculent

    Flocculent Member

  6. Flocculent

    Flocculent Member

  7. Flocculent

    Flocculent Member

    I got it fixed. Apparently one of my sysadmins had my domain pointed to an old installation of xenforo on our old machine.
    Brad P likes this.

Share This Page