• 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

#1
Hi
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
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
 

Tracy Perry

Well-known member
#3
this is the error after turning on Debug,
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.
 
#4
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.
Hi @Tracy Perry Thank you for response , im using CPanel WHM ,
can i use Easy apache installer to re compile?