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

XF 1.5 Random Error with xenforo- An unexpected database error occurred. Please try again later.

Discussion in 'Troubleshooting and Problems' started by MrCleverTrevor, Nov 24, 2015.

  1. There was a random problem with my website today.

    that all the info i have

    Staff Online
    Anyone else i would love the help!
  2. Tracy Perry

    Tracy Perry Well-Known Member

    Check ownership and permissions of files. Is this a shared hosting environment or VPS?
  3. I'm checking permissions, It's shared.
  4. Tracy Perry

    Tracy Perry Well-Known Member

    In that case, the owernship of the files (I'm pretty sure) need to be yourusername:nobody where it's owned by you (your username) and the group is nobody. That's pretty much the standard setup for them.
  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    That error has nothing to do with files. Verify your database credentials.
  6. Tracy Perry

    Tracy Perry Well-Known Member

    That's a new one.. the SQL error that I've been used to seeing is something like
    An unexpected database error occurred. Please try again later.
    <!-- Access denied for user 'xxx@'localhost' (using password: YES) -->
    when looking at the source code. His site showed the permission denied. Is that (permission denied) an Apache specific error return?
  7. it worked fine before, it just randomly stopped working. in the process of trying to fix this i accidently set all the files to 777 and messed it up. I have sumbitted a ticket, but i dont know which is faster if someone could help me that would be great.

    New Error:
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator at webmaster@ragecraft.trevormillett.com to inform them of the time this error occurred, and the actions you performed just before this error.
    More information about this error may be available in the server error log.
    forums site: http://www.ragecraft.net/
  8. Brogan

    Brogan XenForo Moderator Staff Member

    I have responded to your ticket.

    Random errors of this nature are typically server/host related.
  9. i just did a fresh install of xenforo hopefully this doesnt happen again :/

Share This Page