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

XF 1.2 Database error?

#1
My site went offline a couple hours ago. The page is just pure text "An unexpected database error occurred. Please try again later."

Checking the source, I get a comment as well:

An unexpected database error occurred. Please try again later.
<!-- Mysqli statement execute error : Prepared statement needs to be re-prepared -->

Any insight as to what's up with that? I'm on shared hosting, but it doesn't look like the server is being crowded.
 
#4
Let me correct that: On my server, I have 0 errors.

If I go into my database via phpmyadmin and look in the error log table for xenforo, I see the last few errors logged are "Mysqli statement execute error : Prepared statement needs to be re-prepared", but all the timestamps are very odd. They range from being in the year 2030-2067, for one.
 

Amaury

Well-known member
#5
Let me correct that: On my server, I have 0 errors.

If I go into my database via phpmyadmin and look in the error log table for xenforo, I see the last few errors logged are "Mysqli statement execute error : Prepared statement needs to be re-prepared", but all the timestamps are very odd. They range from being in the year 2030-2067, for one.
Sounds like an issue with your host. Have you tried contacting your host?