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

XF 1.1 What do I need to relay to my host to stop getting the following errors

Brett Peters

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

I have been getting these intermittent errors since an older version of XF and I was prior considering rolling back to an earlier Beta version of XF that did not give me these errors (beta 3 I think) but I am now on 1.1 and the errors are starting to get to me to the point that I am unable to ignore them any longer.

I have gone over the following threads http://xenforo.com/community/thread...ared-statement-needs-to-be-re-prepared.24497/ and http://xenforo.com/community/threads/error-on-install.17901/ so hopefully brogan will not be upset and point me to them as they were not really helpful to me.

I am not sure if allowing guests to post contributes to the errors but I did start allowing this when I upgraded to an older XF version and found that I had to wait for an update because of known issues with guest content, It was only after the update that fixed this issue that I started getting errors. (With so many XF updates for the life of me I cant remember what version I was running without the errors but was prior to Oct 20, 2011)
The XF test scrip gives the OK "Your server meets all of XenForo's PHP requirements." and I dont have any logged errors to share so any suggestions on what I should suggest to my host to fix these errors would be appreciated.
 

Mike

XenForo developer
Staff member
#2
Unfortunately, this seems to be some sort of MySQL or PHP (or OS) bug, as very few people run into it. The documented reasons for it happening in MySQL are most definitely not happening when this occurs.

Upgrading MySQL or PHP may be the only way around it, but your host may not be keen to do that.