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

How to globally disable add-ons

moman

Active member
#1
I recently downloaded XenTrader, but found some bugs so I decided to uninstall it.

The uninstallation ended in a mysql error message and therefore failed. Now, the entire forum is blown up as it seems the add-on is still installed but its fields in the database have been deleted.

My question is simple: is there any way to globally disable add-ons via the config file so that I can properly clean this up?

The following error message is shown everywhere:

Mysqli prepare error: Table 'xentrader_user' doesn't exist

  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 753
  5. Zend_Db_Adapter_Abstract->fetchRow() in XenForo/Model/User.php at line 340
  6. XenForo_Model_User->getUserById() in XenForo/Model/User.php at line 705
  7. XenForo_Model_User->getVisitingUserById() in XenForo/Visitor.php at line 383
  8. XenForo_Visitor::setup() in XenForo/Session.php at line 204
  9. XenForo_Session::startPublicSession() in XenForo/Controller.php at line 286
  10. XenForo_Controller->_setupSession() in XenForo/Controller.php at line 298
  11. XenForo_Controller->preDispatch() in XenForo/FrontController.php at line 309
  12. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
  13. XenForo_FrontController->run() in /forums/index.php at line 13
 

Fuhrmann

Well-known member
#3
add $config['enableListeners'] into your config.php file.
Actually this dont disable add-ons, just the listeners to each one. I have tested this, and I still can use my add-ons with this piece of code.

But might work for this case.