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

Installation stalled, can't have Xenforo on my server

Discussion in 'Installation, Upgrade, and Import Support' started by eldritch1969, Mar 7, 2013.

  1. eldritch1969

    eldritch1969 Member

    Hi everyone !
    Sorry to make my first post here a complaint, but so far I have not been able to install Xenforo on my host, which is annoying, to say the least.
    I updated the files, CHMODDED to 777 the proper directories, as stated in the manual, but I ended up with this message :
    Server Error
    Mysqli prepare error: MySQL server has gone away
    1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    4. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
    5. Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1591
    6. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1580
    7. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1381
    8. XenForo_DataWriter->save() in XenForo/Model/AdminNavigation.php at line 653
    9. XenForo_Model_AdminNavigation->importAdminNavigationAddOnXml() in XenForo/Model/AdminNavigation.php at line 608
    10. XenForo_Model_AdminNavigation->importAdminNavigationDevelopmentXml() in XenForo/CacheRebuilder/ImportMasterData.php at line 35
    11. XenForo_CacheRebuilder_ImportMasterData->rebuild() in XenForo/ControllerHelper/CacheRebuild.php at line 26
    12. XenForo_ControllerHelper_CacheRebuild->rebuildCache() in XenForo/Install/Controller/Install.php at line 240
    13. XenForo_Install_Controller_Install->actionStep2b() in XenForo/FrontController.php at line 310
    14. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    15. XenForo_FrontController->run() in /web/retromania/www/install/index.php at line 18
    Well, I don't know what to do at this stage.
    Could anyone help me sort this out ?
    Thanks in advance
  2. Chris D

    Chris D XenForo Developer Staff Member

    This isn't a very common error. Usually the installation is flawless and very easy.

    This particular error indicates that there are issues with your MySQL server. So, with that in mind, your first step should be to contact your host. They will need to verify with you that you are specifying the correct connection details for MySQL and importantly check their error logs to work out why the connection to MySQL is timing out.

    Hope that helps
    Shelley likes this.
  3. Slavik

    Slavik XenForo Moderator Staff Member

    This is a problem with MySQL on your web host.

    Toy would need to contact them to find out why it's stopped working.
  4. eldritch1969

    eldritch1969 Member

    Thanks a lot for your answers, I have opened a ticket at my host. Waiting fot it to be dealt with
    R_A likes this.
  5. Da Bookie Mon

    Da Bookie Mon Well-Known Member

    Good luck! A MySQL service restart should fix it.
  6. eldritch1969

    eldritch1969 Member

    Good evening !
    I have an answer by my host asking what the (I suppose) MySQL pre-requisites for the install of Xenforo are.
    I can't say I know them. Could someone please help me with that ?
    Thx a bunch, guys !
  7. melbo

    melbo Well-Known Member

    XenForo System Requirements

    • PHP: 5.2.4+
    • MySQL: 5.0+
    • PHP extensions: MySQLi, GD (with JPEG support), PCRE, SPL, SimpleXML, DOM, JSON, iconv, ctype
    • PHP safe_mode off
    Da Bookie Mon and Chris D like this.
  8. Da Bookie Mon

    Da Bookie Mon Well-Known Member

    The one that tends to be missing most, from most host people have issues with is the MySQLi extension.
  9. EQnoble

    EQnoble Well-Known Member


    download that file above...

    upload it to your server...

    navigate your web browser to example.com/path/to/file...

    That will output your server's status against xf requirements
  10. eldritch1969

    eldritch1969 Member

    le !
    download that file above...

    upload it to your server...

    navigate your web browser to example.com/path/to/file...

    That will output your server's status against xf requirements
    Done that, answer is : server meets xenforo requirements. I had already done that before, that's why I bought the script :)

    Anyway, thanks EQnoble !

    @melbo : I'll post them your answer. See what they will say. Thx to all, guys, really appreciate you take some of your time
    to help a xenforo newb ! ;)
  11. Da Bookie Mon

    Da Bookie Mon Well-Known Member

    It sounds like the MySQLi extension is installed but isn't loading in Apache.

Share This Page