XF 2.2 Sudden Error on the Forum Site

WebProTime

Member
I suddenly got an error on my forum. Any idea what went wrong ?


Code:
Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /home1/saptak/forums.webprotime.com/src/XF/Db/Mysqli/Adapter.php:152 Stack trace: #0 /home1/saptak/forums.webprotime.com/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array) #1 /home1/saptak/forums.webprotime.com/src/XF/Error.php(85): XF\Db\Mysqli\Adapter->getConnection() #2 /home1/saptak/forums.webprotime.com/src/XF/App.php(2201): XF\Error->logException(Object(Error), true, '') #3 /home1/saptak/forums.webprotime.com/src/XF.php(167): XF\App->logException(Object(Error), true) #4 [internal function]: XF::handleException(Object(Error)) #5 {main} thrown in /home1/saptak/forums.webprotime.com/src/XF/Db/Mysqli/Adapter.php on line 152

Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /home1/saptak/forums.webprotime.com/src/XF/Db/Mysqli/Adapter.php:152 Stack trace: #0 /home1/saptak/forums.webprotime.com/src/XF/Db/Mysqli/Adapter.php(28): XF\Db\Mysqli\Adapter->makeConnection(Array) #1 /home1/saptak/forums.webprotime.com/src/XF/Error.php(85): XF\Db\Mysqli\Adapter->getConnection() #2 /home1/saptak/forums.webprotime.com/src/XF/App.php(2201): XF\Error->logException(Object(ErrorException), true, '') #3 /home1/saptak/forums.webprotime.com/src/XF.php(207): XF\App->logException(Object(ErrorException), true) #4 [internal function]: XF::handleFatalError() #5 {main} thrown in /home1/saptak/forums.webprotime.com/src/XF/Db/Mysqli/Adapter.php on line 152

Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
 
I asked my hosting provider for this and they fixed this for me. I asked them what change they made and they said they changed the Addhandler code in htaccess file for the website folder. So I am still not sure what caused the error?

PS : the site is working fine now.
 
Top Bottom