WEMS Posted April 21, 2016 Share Posted April 21, 2016 I get the following error message when I try to install 3 new module: The following module(s) could not be installed properly: "module name" When I refresh the module page, I see that the module is installed and when I go to the module the module do not work properly. 1 Link to comment Share on other sites More sharing options...
El Patron Posted April 21, 2016 Share Posted April 21, 2016 back office-->advanced parms-->performance scroll to the bottom do you have use File System enabled? This always creates issue you described when working with modules... https://www.prestashop.com/forums/topic/377575-free-module-alert-prestashop-file-cache-enabled-disabled-module-page/ 1 Link to comment Share on other sites More sharing options...
WEMS Posted April 21, 2016 Author Share Posted April 21, 2016 When you mean back office-->advanced parms-->performance -> CACHING My caching is off Link to comment Share on other sites More sharing options...
El Patron Posted April 21, 2016 Share Posted April 21, 2016 then you might have hosting level caching that does not require any ps caching....my idea above is all I have...lol Link to comment Share on other sites More sharing options...
WEMS Posted April 22, 2016 Author Share Posted April 22, 2016 Any other help out there ? Link to comment Share on other sites More sharing options...
El Patron Posted April 22, 2016 Share Posted April 22, 2016 maybe it is a bad module, what is the module? what did you get it? when you say it does not work what do you mean by that? note: please don't bump without adding new information about your issue. Link to comment Share on other sites More sharing options...
WEMS Posted April 22, 2016 Author Share Posted April 22, 2016 I try to install 3 new module one by one. I have installed the 3 Module on a complete other Shop and they are working well and I don't get any error message after installations. 1)The first issue is that I get this error message after installation. 2)The second issue is that after this error message the module still show as "install". By refreshing the module page the status of the module change to "settings". (Looks like installed.) 3) when you try the modules the do not work well or are missing something. I have migrated prestashop from local to hosted, all the settings are done well I think. Everything works well, instead of the new modules installations. Link to comment Share on other sites More sharing options...
El Patron Posted April 22, 2016 Share Posted April 22, 2016 is this first time you run PS on this hosting? This certainly has all the characteristics of cache issue. Also are you using a static cache module? Link to comment Share on other sites More sharing options...
WEMS Posted April 22, 2016 Author Share Posted April 22, 2016 (edited) Yes, it's the first time I run PS on that server.I don't use any caching module or something like that.What do you mean with cash issue ? Edited April 25, 2016 by WEMS (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted April 22, 2016 Share Posted April 22, 2016 Try these things: enable ps debug mode https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ then replicate issue and see if you see any php errors... Also I would create a subdomain and test db. download from here your version of ps https://www.prestashop.com/en/developers-versions#previous-version Run the ps installer, it checks for hosting issues which is easier than wondering if you have hosting issues. Let us know how it goes. el Link to comment Share on other sites More sharing options...
WEMS Posted April 25, 2016 Author Share Posted April 25, 2016 After enabling debug mode I get the following message when I install the first Module: [PrestaShopDatabaseException]Duplicate entry '0' for key 'PRIMARY' INSERT INTO `ps_theme_meta` (`id_theme`, `id_meta`, `left_column`, `right_column`) VALUES ('2', '48', '1', '0'), ('2', '49', '1', '0')at line 791 in file classes/db/Db.php 786. if ($webservice_call && $errno) {787. $dbg = debug_backtrace();788. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {790. if ($sql) {791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');792. }793.794. throw new PrestaShopDatabaseException($this->getMsgError());795. }796. } DbCore->displayError - [line 425 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 763 - classes/db/Db.php] - [1 Arguments] DbCore->q - [line 514 - classes/db/Db.php] - [2 Arguments] DbCore->insert - [line 2706 - classes/module/Module.php] - [2 Arguments] ModuleCore->installControllers - [line 351 - classes/module/Module.php] ModuleCore->install - [line 88 - modules/allinone_rewards/allinone_rewards.php] allinone_rewards->install - [line 867 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcessCallback - [line 1116 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] Link to comment Share on other sites More sharing options...
WEMS Posted April 25, 2016 Author Share Posted April 25, 2016 I have not created a test subdomain yet, let me know if you still need this. Link to comment Share on other sites More sharing options...
WEMS Posted April 26, 2016 Author Share Posted April 26, 2016 Hello, we just resolved an other issue I had: https://www.prestashop.com/forums/topic/522235-error-message-in-check-your-configuration/ maybe this help... As you ask, I have installed the recommended PS version in a subfolder of my Live site named /test/ . Installation works well and I have no issue. I have also made some check with the hosting provider of my customer. There are no issue found on the server. I still have this error message after installing a Plugin: The following module(s) could not be installed properly: hspointofsalepro : Link to comment Share on other sites More sharing options...
OpenSource Expert Posted April 27, 2016 Share Posted April 27, 2016 It's possible that the module may have some error, that's why its not getting installed properly. Can you provide some detail of that module or its code. Then we can check what is the issue. Also provide Your site URL. you can pm Link to comment Share on other sites More sharing options...
WEMS Posted April 27, 2016 Author Share Posted April 27, 2016 I try to install 3 new module one by one. I have installed the 3 Module on a complete other Shop and they are working well and I don't get any error message after installations. The modules should be good, they are also very good noticed... The download is 2 weeks old and I have the last version. 1) RockPOS Point of Sale (POS) pro Module http://addons.prestashop.com/de/13654-rockpos-point-of-sale-pos-pro.html 2) All-in-one Rewards - http://addons.prestashop.com/de/4414-all-in-one-rewards-treue-sponsorenprogramm-affiliate.html 3) Yourbarcode (barcode generator) - the link to the modules do not work actually on prestashop ! The link of the shop is actually: web136.login-4.hoststar.ch/swissprimenails.ch Link to comment Share on other sites More sharing options...
WEMS Posted April 27, 2016 Author Share Posted April 27, 2016 I just try to install a module that are in the the module list: 1-Click Upgrade The following module(s) could not be installed properly: autoupgrade : Unable to create the "AdminSelfUpgrade" tab Link to comment Share on other sites More sharing options...
WEMS Posted April 27, 2016 Author Share Posted April 27, 2016 I think that this is a no end story... I will take my older version and copy past everything and re-upload the template. You can close the case for me. Link to comment Share on other sites More sharing options...
WEMS Posted April 27, 2016 Author Share Posted April 27, 2016 Thank you to all for your time ! 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