Jump to content

[Inactive] Having a problem installing Xenforo using Heliohost's MySQL database


guntxjak

Recommended Posts

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 212
  1. XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
  2. XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
  3. XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
  4. XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
  5. XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 244
  6. XF\Db\AbstractAdapter->update() in src/XF/Job/Manager.php at line 255
  7. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 187
  8. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 138
  9. XF\Job\Manager->runUnique() in src/XF/Install/Controller/AbstractController.php at line 24
  10. XF\Install\Controller\AbstractController->manualJobRunner() in src/XF/Install/Controller/Install.php at line 196
  11. XF\Install\Controller\Install->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 249
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
  15. XF\App->run() in src/XF.php at line 328
  16. XF::runApp() in install/index.php at line 14

I search up on Google and founds that it may be the max_allowed_packet on MySQL. Is there a way to fix that?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...