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

XF 1.5 Unexpected Error has Occurred

#1
Hey guys! I was updating a theme on my site, and after it was done I started receiving said error above.

Now I'm getting these errors when going to the install page:


Server Error
Server Error

No such file or directory

  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 730
  3. XenForo_Application->loadDb() in XenForo/Application.php at line 973
  4. XenForo_Application->lazyLoad() in XenForo/Application.php at line 1004
  5. XenForo_Application::get() in XenForo/Application.php at line 1609
  6. XenForo_Application::getDb() in XenForo/Session.php at line 236
  7. XenForo_Session->__construct() in XenForo/Install/Controller/Upgrade.php at line 46
  8. XenForo_Install_Controller_Upgrade->_setupSession() in XenForo/Controller.php at line 306
  9. XenForo_Controller->preDispatch() in XenForo/FrontController.php at line 350
  10. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  11. XenForo_FrontController->run() in /home/relixexp/public_html/install/index.php at line 18

The board URL is https://relixexperience.com/install/index.php?upgrade/

Any ideas?? I'm on shared hosting, btw. :) And there's nothing in the error logs.
 
#4
Looking in the Page Source I'm getting a 500 error. There's nothing in the logs as far as I can tell and my files look just fine. Not sure what's happening here, I reverted back to a backup that was taken this morning before I started any of this, as well as reverted the database. Everything looks fine - I even tried repairing the database. I've looked at all these threads that have similar issues and I'm just at a loss now.
 

Brogan

XenForo moderator
Staff member
#5
All URLs which interact with the database return the same error:
Code:
An unexpected database error occurred. Please try again later.
<!-- No such file or directory -->
https://relixexperience.com/deferred.php
https://relixexperience.com/sitemap.php
https://relixexperience.com/admin.php

The server itself appears to be working though: https://relixexperience.com/rgba.php

You should likely contact your host at this point and ask them to check and restore the database and possibly the site from a recent backup, depending what you did.
 
#6
All URLs which interact with the database return the same error:
Code:
An unexpected database error occurred. Please try again later.
<!-- No such file or directory -->
https://relixexperience.com/deferred.php
https://relixexperience.com/sitemap.php
https://relixexperience.com/admin.php

The server itself appears to be working though: https://relixexperience.com/rgba.php

You should likely contact your host at this point and ask them to check and restore the database and possibly the site from a recent backup, depending what you did.
Thanks, I'll contact my host then! Hopefully we can figure out the issue on that end. ^.^