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

XF 1.5 Unexpeted Database Error after migrating to New VPS

Discussion in 'Troubleshooting and Problems' started by rbharathi, Sep 1, 2015.

  1. rbharathi

    rbharathi Member

    After migrating to New VPS ,
    I am getting unexpected database error
    data base looks fine and correctly migrated.
    Any clue ??

    An unexpected database error occurred. Please try again later.
  2. rbharathi

    rbharathi Member

    this is the error after turning on Debug,

    An exception occurred: The Mysqli extension is required for this adapter but the extension is not loaded in /home/rbharathi820/public_html/forum/library/Zend/Db/Adapter/Mysqli.php on line 291

    1. Zend_Db_Adapter_Mysqli->_connect() in Zend/Db/Adapter/Abstract.php at line 315
    2. Zend_Db_Adapter_Abstract->getConnection() in XenForo/Application.php at line 728
    3. XenForo_Application->loadDb()
    4. call_user_func_array() in XenForo/Application.php at line 971
    5. XenForo_Application->lazyLoad() in XenForo/Application.php at line 1002
    6. XenForo_Application::get() in XenForo/Application.php at line 1607
    7. XenForo_Application::getDb() in XenForo/Model.php at line 161
    8. XenForo_Model->_getDb() in XenForo/Model/DataRegistry.php at line 138
    9. XenForo_Model_DataRegistry->_getMultiFromDb() in XenForo/Model/DataRegistry.php at line 97
    10. XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 147
    11. XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 127
    12. XenForo_FrontController->run() in /home/rbharathi820/public_html/forum/index.php at line 13
  3. Tracy Perry

    Tracy Perry Well-Known Member

    Your hosting provider needs to add the MySQL PECL to their PHP stack. If you are on a VPS and using cPanel (and this is not a managed system) you need to recompile PHP and use the advanced options and be sure to include the MySQL and GD modules.
    rbharathi likes this.
  4. rbharathi

    rbharathi Member

    Hi @Tracy Perry Thank you for response , im using CPanel WHM ,
    can i use Easy apache installer to re compile?
  5. Sheratan

    Sheratan Well-Known Member

    Yes, you can use easyapache to recompile PHP

Share This Page