XF 1.4 Rebuild Xenforo not working


Well-known member
I moved to a new server today. And wanted to rebuild Xenforo, but get this message, it is not working.

An exception occurred: Mysqli prepare error: MySQL server has gone away in /home/***/public_html/library/Zend/Db/Statement/Mysqli.php on line 77

    Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 632
    Zend_Db_Adapter_Abstract->update() in XenForo/Session.php at line 805
    XenForo_Session->saveSessionToSource() in XenForo/Session.php at line 541
    XenForo_Session->save() in XenForo/Controller.php at line 412
    XenForo_Controller->updateSession() in XenForo/Controller.php at line 356
    XenForo_Controller->postDispatch() in XenForo/FrontController.php at line 354
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /home/***/public_html/admin.php at line 13


XenForo moderator
Staff member
That is typically a server issue.

You may need to contact your host for support.
Reactions: sbj


XenForo developer
Staff member
Specifically, I would guess it's related to any extremely low wait_timeout setting in MySQL.
Reactions: sbj


Well-known member
Hmm, thx. But you can't say what it is particularly, right?
It would be interesting, if my host doesnt know what to do :).
I contacted them. Will inform you here, when I get a response.


Well-known member
Wow, I am speechless. I should have moved to a VPS I assume. Now again a problem with a shared host.

I quote them:

Our values are set as per shared hosting environment, changing them or adjusting them can create server loads. Unfortunately, your site may not be suitable for our shared environment.
We have all values set to an optimised values so unfortunately we can't help with it. We can refund if you want.
But to be fair, they also installed a module for me. So, they are supporting but I am just unlucky I assume.