Totally Zenned
- Join Date:
- Aug 2007
- Location:
- Gijón, Asturias, Spain
- Posts:
- 2,880
- Plugin Contributions:
- 7
Using one single listing template
Well it looks like only two of the four entries were inserted into the database. Trying to run the install again will give the error as it tries to re-insert one of these fields.
**Obviously you already made a database backup before installing this mod **so either you could revert to that and try again or you could use this edited version to insert the two remaining fields.
If it gives another duplicate error maybe you have some other mod installed that uses one of the same field names.
## The following may be run via phpMyAdmin rather than in Zen Cart Admin (if it gives an error)
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 ('Featured Listing Template', 'INDEX_FEATURED_USE_PRODUCT_LISTING', '1', 'Set to 1 to use the original listing templates, 2 to use the new index_listing template, 3 to use the Product Listing template.', 24, 2, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''1'', ''2'', ''3''),'),
('Template Debugging', 'TEMPLATE_DEBUG', 'False', 'Display the template filenames where used', 24, 4, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''False'', ''True''),');
good luck
Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...