guntxjak Posted February 22, 2020 Share Posted February 22, 2020 I install Xenforo on my VPS machine (on another host) and it returns this error XF\Db\Exception: MySQL statement prepare error [2006]: MySQL server has gone away in src/XF/Db/AbstractStatement.php at line 212XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196 XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39 XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54 XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79 XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 244 XF\Db\AbstractAdapter->update() in src/XF/Job/Manager.php at line 255 XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 187 XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 138 XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 24 XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Install.php at line 196 XF\Install\Controller\Install->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 249 XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88 XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41 XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931 XF\App->run() in src/XF.php at line 328 XF::runApp() in install/index.php at line 14I search up on Google and founds that it may be the max_allowed_packet on MySQL. Is there a way to fix that? Quote Link to comment Share on other sites More sharing options...
Krydos Posted February 23, 2020 Share Posted February 23, 2020 Does it always return that error or only occasionally? Quote Link to comment Share on other sites More sharing options...
guntxjak Posted February 26, 2020 Author Share Posted February 26, 2020 I tried to install it many times but sometimes it returns like HTTP Error 404 Quote Link to comment Share on other sites More sharing options...
Krydos Posted February 26, 2020 Share Posted February 26, 2020 Mysql was probably restarting at the time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.