X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   SQL errors when i apply a patch (https://forum.x-cart.com/showthread.php?t=44587)

modibaba 01-04-2009 04:07 PM

SQL errors when i apply a patch
 
I applied a sql patch part of the telafirma dynamc images mod but it failed and I got an email error message below, i appreciate if anyone can help:

SQL query : INSERT INTO `xcart_modules` VALUES (200, 'Dynamic_Images', 'This module dynamically generates new images from the larger images uploaded', 'Y')
Error code : 1062
Description : Duplicate entry '200' for key 1
Request URI: /admin/patch.php

balinor 01-04-2009 06:05 PM

Re: SQL errors when i apply a patch
 
Moving to Third Party Add-Ons

Vetrivel 01-05-2009 03:12 AM

Re: SQL errors when i apply a patch
 
do you have 200 modules in your store?

Noway
so First Check whether the "Dynamic_Images" is exist in your modules list.(ex:store/admin/modules.php)
if not then try the following patch instead of your patch
INSERT INTO `xcart_modules` ( `module_name` ,
`module_descr` ,
`active`
)
VALUES ('Dynamic_Images', 'This module dynamically generates new images from the larger images uploaded', 'Y');




Quote:

Originally Posted by modibaba
I applied a sql patch part of the telafirma dynamc images mod but it failed and I got an email error message below, i appreciate if anyone can help:

SQL query : INSERT INTO `xcart_modules` VALUES (200, 'Dynamic_Images', 'This module dynamically generates new images from the larger images uploaded', 'Y')
Error code : 1062
Description : Duplicate entry '200' for key 1
Request URI: /admin/patch.php



All times are GMT -8. The time now is 04:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.