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

XF 1.2 Help, Forum Down, Add-on Issue

#1
Hi, I'm sorry, I know that technically this isn't an xf issue, but my forum just went down and I have no idea what steps to take to get it back up. I'm panicking a bit here....

Over a year ago I installed xenMedio, but found it didn't suit my needs. I tried to uninstall it, but I got a bunch of errors. I reinstalled the addon, and just left it disabled....

Last week I installed xf 1.2, but before I did that I removed xenMedio, but I found that I would get random errors such as this:

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Table 'admin_xenforo.EWRmedio_media' doesn't exist - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, 5 minutes ago
Stack Trace
#0 /home/admin/domains/civilwartalk.com/public_html/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT * FROM E...')
#1 /home/admin/domains/civilwartalk.com/public_html/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT * FROM E...')
#2 /home/admin/domains/civilwartalk.com/public_html/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('SELECT * FROM E...')
#3 /home/admin/domains/civilwartalk.com/public_html/library/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('SELECT * FROM E...', Array)
#4 /home/admin/domains/civilwartalk.com/public_html/library/EWRmedio/Model/Media.php(7): Zend_Db_Adapter_Abstract->fetchRow('SELECT * FROM E...')
#5 /home/admin/domains/civilwartalk.com/public_html/library/EWRmedio/ControllerPublic/Media.php(136): EWRmedio_Model_Media->getRandom()
#6 /home/admin/domains/civilwartalk.com/public_html/library/XenForo/FrontController.php(337): EWRmedio_ControllerPublic_Media->actionRandom()
#7 /home/admin/domains/civilwartalk.com/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/admin/domains/civilwartalk.com/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
  ["url"] => string(36) "http://civilwartalk.com/media/random"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
I checked the xenmedio discussion and found someone who had a similar problem to me, so I reinstalled and uninstalled xenmedio to report this error:

Code:
Error Info
ErrorException: Invalid argument supplied for foreach() - library/EWRmedio/Install.php:289
Generated By: civilwartalk, 8 minutes ago
Stack Trace

#0 /home/admin/domains/civilwartalk.com/public_html/library/EWRmedio/Install.php(289): XenForo_Application::handlePhpError()
#1 /home/admin/domains/civilwartalk.com/public_html/library/EWRmedio/Install.php(263): EWRmedio_Install->_uninstall_0(Array)
#2 [internal function]: EWRmedio_Install::uninstallCode(Array, Array)
#3 /home/admin/domains/civilwartalk.com/public_html/library/XenForo/DataWriter/AddOn.php(200): call_user_func()
#4 /home/admin/domains/civilwartalk.com/public_html/library/XenForo/DataWriter.php(1767): XenForo_DataWriter_AddOn->_postDelete()
#5 /home/admin/domains/civilwartalk.com/public_html/library/XenForo/ControllerAdmin/AddOn.php(122): XenForo_DataWriter->delete()
#6 /home/admin/domains/civilwartalk.com/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerAdmin_AddOn->actionDelete(Object(XenForo_RouteMatch))
#7 /home/admin/domains/civilwartalk.com/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch()
#8 /home/admin/domains/civilwartalk.com/public_html/admin.php(13): XenForo_FrontController->run()
#9 {main}

Request State

array(3) {
  ["url"] => string(57) "http://civilwartalk.com/admin.php?add-ons/EWRmedio/delete"
  ["_GET"] => array(1) {
    ["add-ons/EWRmedio/delete"] => string(0) ""
  }
  ["_POST"] => array(2) {
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
Jaxel replied to my post and gave me a solution, so this morning, I went to reinstall xenmedio again and I got this error:

Code:
Fatal error: include() [<a href='function.include'>function.include</a>]: Cannot redeclare class ewrmedio_listener_init in /home/admin/domains/civilwartalk.com/public_html/library/XenForo/Autoloader.php on line 119
Then, a few moments later, I noticed that my whole site was down, showing the same error.

Anyone have any clues on how I can get my site back up?