I need help, please.
I disabled the current AddOn, then uploaded all files, then updated the (disabled) AddOn with the new xml. After installation pages the AddOn is GONE. It does not appear in the AddOn-list anymore.
I tried to install (not update) the AddOn again, but after I click on the Install-Button it says "File not found" and give me an AdminCP Error: "ErrorException: Undefined index: upload_file - library/XenForo/ControllerAdmin/AddOn.php:181" ...
$config['debug'] = 1;
The latest TH version before this one.What version were you upgrading from?
That seems to help, thank you, Jake. The addon is now (re)installing.After doing that disable debug mode, and install the add-on.
well the latest update (1.4.14) seems totally hosed.
i tried upgrading it by uploading the zip via the admin cp and the whole plugin has disappeared. it's no longer in my list of plugins.
i tried uploading the files via ftp, overwrote what was there, and installed the plugin via the admin cp with the xml and got the error "Please enter a valid file name. The requested file could not be read." so no go. i'm hoping there's a fix for this.
What version were you upgrading from?
To fix this and reinstall the add-on turn on debug mode by adding the following to the end of your config.php :
Code:$config['debug'] = 1;
Then, in your XenForo Admin Control Panel go to Development -> Admin Template Mods and disable all of them under the 'InstallUpgrade' section (Will likely be prefixed with either Waindigo_ or HexThemes_, depending on the version you upgraded from)
After doing that disable debug mode, and install the add-on. If you want, you can PM me admin and FTP details and I'll take care of it for you
Jake
I'm looking into what would have caused this. However, I did post a temporary solution for this:
Server Error
Invalid argument supplied for foreach()
- XenForo_Application::handlePhpError() in ThemeHouse/InstallUpgrade/Extend/XenForo/ControllerAdmin/AddOn.php at line 184
- ThemeHouse_InstallUpgrade_Extend_XenForo_ControllerAdmin_AddOn->actionUpgrade() in XenForo/FrontController.php at line 351
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
- XenForo_FrontController->run() in /var/www/xxxx.xxx/htdocs/admin.php at line 13
Well, now I can't install any AddOn anymore
Now I disabled [TH] Install and Upgrade and I am able to install/update the other AddOn.
I always loved this AddOn and I am sorry to see that it does not work like before
I just re-enabled this AddOn and tried again.
It happens everytime I try to update an AddOn. No matter if I try uploading the zip, the xml or using the URL.
if (isset($_FILES['upload_file'])) {
$files = $_FILES['upload_file'];
foreach ($files['name'] as $key => $filename) {
$filesArrayKeys = array_keys($files);
$_FILES['upload_file'] = array();
foreach ($filesArrayKeys as $filesArrayKey) {
$_FILES['upload_file'][$filesArrayKey] = $files[$filesArrayKey][$key];
}
$response = parent::actionUpgrade();
if ($response instanceof XenForo_ControllerResponse_View) {
break;
}
}
}
foreach ($files['name'] as $key => $filename) {
$config['debug'] = 1;
Bug Fix:
- Add-on no longer 'disappears' when you upgrade from the previous version.
ThemeHouse updated [TH] Install and Upgrade with a new update entry:
Version 1.4.14 Patch 1 Released
Read the rest of this update entry...
Oh sh***...
after updating my addon disappears... just gone. Before this update it worked fine.
Mysqli prepare error: Table 'db_vt.xf_install_upgrade_login' doesn't exist
Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 661
Zend_Db_Adapter_Abstract->delete() in ThemeHouse/InstallUpgrade/Model/InstallUpgrade.php at line 352
ThemeHouse_InstallUpgrade_Model_InstallUpgrade->addCredentials() in ThemeHouse/InstallUpgrade/Model/InstallUpgrade.php at line 798
ThemeHouse_InstallUpgrade_Model_InstallUpgrade->_storeCredentials() in ThemeHouse/InstallUpgrade/Model/InstallUpgrade.php at line 573
ThemeHouse_InstallUpgrade_Model_InstallUpgrade->checkForUrl() in ThemeHouse/InstallUpgrade/ControllerHelper/InstallUpgrade.php at line 51
ThemeHouse_InstallUpgrade_ControllerHelper_InstallUpgrade->checkForUrl() in ThemeHouse/InstallUpgrade/Extend/XenForo/ControllerAdmin/AddOn.php at line 398
ThemeHouse_InstallUpgrade_Extend_XenForo_ControllerAdmin_AddOn->_checkForUrl() in ThemeHouse/InstallUpgrade/Extend/XenForo/ControllerAdmin/AddOn.php at line 115
ThemeHouse_InstallUpgrade_Extend_XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 351
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/user/public_html/admin.php at line 13
Reinstall the add on. One of the tables weren't created when it installed. Likely due to an opcacheI'm getting this error when I try to install the addon:
Code:Mysqli prepare error: Table 'db_vt.xf_install_upgrade_login' doesn't exist Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115 Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381 Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478 Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 661 Zend_Db_Adapter_Abstract->delete() in ThemeHouse/InstallUpgrade/Model/InstallUpgrade.php at line 352 ThemeHouse_InstallUpgrade_Model_InstallUpgrade->addCredentials() in ThemeHouse/InstallUpgrade/Model/InstallUpgrade.php at line 798 ThemeHouse_InstallUpgrade_Model_InstallUpgrade->_storeCredentials() in ThemeHouse/InstallUpgrade/Model/InstallUpgrade.php at line 573 ThemeHouse_InstallUpgrade_Model_InstallUpgrade->checkForUrl() in ThemeHouse/InstallUpgrade/ControllerHelper/InstallUpgrade.php at line 51 ThemeHouse_InstallUpgrade_ControllerHelper_InstallUpgrade->checkForUrl() in ThemeHouse/InstallUpgrade/Extend/XenForo/ControllerAdmin/AddOn.php at line 398 ThemeHouse_InstallUpgrade_Extend_XenForo_ControllerAdmin_AddOn->_checkForUrl() in ThemeHouse/InstallUpgrade/Extend/XenForo/ControllerAdmin/AddOn.php at line 115 ThemeHouse_InstallUpgrade_Extend_XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 351 XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134 XenForo_FrontController->run() in /home/user/public_html/admin.php at line 13
i'm using the latest version of this plugin (1.4.14 patch 1) and it never saves my xf password, it asks for it every time.
Do you have the mcrypt PHP extension installed on your server?
yep, i should note that this started happening about 2-3 versions ago. my only guess is maybe write permissions on a folder?
We use essential cookies to make this site work, and optional cookies to enhance your experience.