Jump to content

(solved) Payment Modules refuse to install/configure after upgrading from 1.4.6.2 to 1.4.8.2


Recommended Posts

Hi

 

After updating my shop from PS 1.4.6.2 to 1.4.8.2 all payment modules refuse to install / configure

 

Upon installing a new module:

Nice error message:

The following module(s) were not installed successfully:

  • codwithfee (or what ever other payment module i try to install, including the default modules that comes with Prestashop)

Refreshing the page shows the module as installed, but will not work. Resetting shows

 

Cannot install module

 

Enabling error debugging reveals the following:

 

Duplicate entry '138-1' for key 'PRIMARY'

 

 

INSERT INTO `ps_module_currency` (id_module, id_currency)

SELECT 138, id_currency FROM `ps_currency` WHERE deleted = 0

 

The key / entry (138 in this case) increases by 1 every time i try to install or reset the module

 

I have the default currencies installed but disabled, and has added NOK (Norwegian Krone) as default currency.

 

Installing and configuring payment modules worked before upgrade, so I suspect this is some form of database upgrade error, but I can't figure out what the problem is.

 

There is no duplicate entries in the database, and upon removing the semi-installed module all entries related to it, is being removed.

 

Already installed modules seems to work.

 

Anyone have any idea what to do and how to fix?

 

Thanks in advance for your help!

Edited by spitfire74 (see edit history)
Link to comment
Share on other sites

Since I found the answer myself, I will include it here.

 

I am using a module (stiffmodulecarrier) that was previously installed. This created problems with installation of new payment modules. What I did, was to uninstall the module, copy over "virgin" prestashop-files in place of those that was changed by the module, installed payment module, and copied back changed files. Everything works now.

 

The files in question is described in the documentation for the stiffmodulecarrier module.

Link to comment
Share on other sites

  • 1 year later...

Hi,

I recently installed PrestaShop™ 1.6.0.5, I am going to install payment module on new presta, but I got the message 

The following module(s) were not installed properly:
- authorizeaim : 
The version of your module is not compliant with your PrestaShop version.

Installed this module http://addons.presta...nternal-linking

 

I saw in canfig/settings.inc.php is look ok---> define('_PS_VERSION_', '1.6.0.5');

 

Thanks,

Link to comment
Share on other sites

×
×
  • Create New...