vyskoczilova Posted October 20, 2016 Share Posted October 20, 2016 (edited) Hi I wanted to install "1-Click Upgrade v1.6.7 - by PrestaShop" plugin, but I'm not able to because of following error: The following module(s) were not installed properly: autoupgrade : Unable to create the "AdminSelfUpgrade" tab I have checked enabled modules and all of them are up to date and issued by PrestaShop. Could anybody help me, please? I'm currently running PrestaShop™ 1.6.0.11. Thanks for your help. Turned on Prestashop Debugger: [PrestaShopDatabaseException]Unknown column 'hide_host_mode' in 'field list' INSERT INTO `ps_tab` (`id_parent`, `position`, `module`, `class_name`, `active`, `hide_host_mode`) VALUES ('17', '10', 'autoupgrade', 'AdminSelfUpgrade', '1', '0')at line 639 in file classes/db/Db.php 634. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);635. }636. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))637. {638. if ($sql)639. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');640. throw new PrestaShopDatabaseException($this->getMsgError());641. }642. }643.644. /** DbCore->displayError - [line 333 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 613 - classes/db/Db.php] - [1 Arguments] DbCore->q - [line 398 - classes/db/Db.php] - [2 Arguments] DbCore->insert - [line 480 - classes/ObjectModel.php] - [3 Arguments] ObjectModelCore->add - [line 103 - classes/Tab.php] - [2 Arguments] TabCore->add - [line 442 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 115 - classes/Tab.php] TabCore->save - [line 74 - modules/autoupgrade/autoupgrade.php] Autoupgrade->install - [line 828 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcessCallback - [line 1071 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 374 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] Edited October 22, 2016 by vyskoczilova (see edit history) Link to comment Share on other sites More sharing options...
vyskoczilova Posted October 27, 2016 Author Share Posted October 27, 2016 Following this thread and adding the column into correct table as tinyint solved my trouble: https://www.prestashop.com/forums/topic/393533-1-click-upgrade-module-installation-problem/ (in case anyone else is getting the same notice) Link to comment Share on other sites More sharing options...
Enrique Gómez Posted February 17, 2017 Share Posted February 17, 2017 In short Unable to create the "AdminSelfUpgrade" tab check that hide_host_mode is in table ps_tab if not ALTER TABLE `ps_tab` ADD `hide_host_mode` TINYINT(1) NOT NULL DEFAULT '0' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now