Jump to content

Error al instalar modulo Paypal


pepe81

Recommended Posts

Intentando instalar el modulo de paypal, me sale que no se instaló correctamente. Habilitando el reporte de errores me sale esto: 


 


[PrestaShopDatabaseException]

 

Duplicate entry '165-1--2' for key 'PRIMARY'

 

 

INSERT INTO `ps_module_currency` (`id_module`, `id_shop`, `id_currency`)

VALUES (165, "1", -2)

 

at line 635 in file classes/db/Db.php

 

629. WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
630. }

631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))

632. {

633. if ($sql)

634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');

635. throw new PrestaShopDatabaseException($this->getMsgError());

636. }

637. }

638. 

639. /**

 

 

 

DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments]

DbCore->query - [line 465 - classes/db/Db.php] - [1 Arguments]

DbCore->execute - [line 77 - override/classes/PaymentModule.php] - [1 Arguments]

PaymentModule->addRadioCurrencyRestrictionsForModule - [line 23 - override/classes/PaymentModule.php]

PaymentModule->install - [line 123 - modules/paypal/paypal.php]

PayPal->install - [line 805 - controllers/admin/AdminModulesController.php]

AdminModulesControllerCore->postProcessCallback - [line 1045 - controllers/admin/AdminModulesController.php]

AdminModulesControllerCore->postProcess - [line 171 - classes/controller/Controller.php]

ControllerCore->run - [line 373 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 54 - admin/index.php]

 

 

La versión que uso es la 1.6. ¿Me podeis ayudar? Gracias!

Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...