View Single Post
  #3  
Old 01-05-2009, 03:12 AM
  Vetrivel's Avatar 
Vetrivel Vetrivel is offline
 

eXpert
  
Join Date: Apr 2008
Posts: 398
 

Default 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
Reply With Quote