Quote Originally Posted by maishane View Post
Now I try to install the 1.4.14 ver of mod to Zen 1.3.9.h (Not the test site), I overwrite all files and execute the sql file but get this error:

1062 Duplicate entry 'STOCK_SHOW_LOW_IN_CART' for key 'unq_config_key_zen'
in:
[INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Show available stock level in cart when less than order', 'STOCK_SHOW_LOW_IN_CART', 'false', 'When customer places more items in cart than are available, show the available amount on the shopping cart page:', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," ), ('Display Images in Admin', 'STOCK_SHOW_IMAGE', 'false', 'Display image thumbnails on Products With Attributes Stock page? (warning, setting this to true can severly slow the loading of this page):', '9', '6', NULL, now(), NULL, "zen_cfg_select_option(array('true', 'false')," );]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


I can't remember if I upload this sql file before but I think I never gotten this message. Will this cause the issue? How can I fix this??
I do not think there is a problem, this is based on a couple of things, first you indicated in your next post that it is working. Second, normally this error is telling you that you already have the item in your database and thus the script just stops, it should not have added anything new from the error forward, and it did not continue past the error (since it error-ed out on the first entry nothing should have changed in the database).

You may want to look in the admin under configuration/stock and see that both of these option that the script was to install are actually there, if they are I suspect everything is okay.

'Show available stock level in cart when less than order'
'Display Images in Admin'