1
i am updating my module (in this case the latest version of smartsection), it worked fine previously but then strange thing happened. i always got error in:
Adding module config data...
Config itemtype added to the database.
Config option added. Name: Articles Value: article
Config option added. Name: Items Value: item
Config option added. Name: Turorials Value: tutorial
Config option added. Name: Stories Value: story
ERROR: Could not insert config allowsubmit to the database.
ERROR: Could not insert config anonpost to the database.
ERROR: Could not insert config allowupload to the database.
ERROR: Could not insert config dateformat to the database.
ERROR: Could not insert config displaytype to the database.
ERROR: Could not insert config show_subcats to the database.
ERROR: Could not insert config displaylastitems to the database.
ERROR: Could not insert config use_wysiwyg to the database.
ERROR: Could not insert config displaylastitem to the database.
ERROR: Could not insert config lastitemsize to the database.
ERROR: Could not insert config titlesize to the database.
ERROR: Could not insert config displaysubcatdsc to the database.
ERROR: Could not insert config display_date_col to the database.
ERROR: Could not insert config display_hits_col to the database.
etc.
this now happens to all my modules, everytime i try to update the module i experience the same issue, for example (on the AMS):
Adding module config data...
ERROR: Could not insert config storyhome to the database.
ERROR: Could not insert config displaynav to the database.
ERROR: Could not insert config max_items to the database.
ERROR: Could not insert config autoapprove to the database.
ERROR: Could not insert config newsdisplay to the database.
ERROR: Could not insert config displayname to the database.
ERROR: Could not insert config columnmode to the database.
ERROR: Could not insert config storycountadmin to the database.
ERROR: Could not insert config uploadgroups to the database.
ERROR: Could not insert config maxuploadsize to the database.
ERROR: Could not insert config restrictindex to the database.
ERROR: Could not insert config anonymous_vote to the database.
ERROR: Could not insert config com_rule to the database.
ERROR: Could not insert config com_anonpost to the database.
ERROR: Could not insert config notification_enabled to the database.
ERROR: Could not insert config notification_events to the database.
for all the issue, the MySQL debug mode show this message:
INSERT INTO xoops_config (conf_id, conf_modid, conf_catid, conf_name, conf_title, conf_value, conf_desc, conf_formtype, conf_valuetype, conf_order) VALUES (0, 30, 0, 'storyhome', '_AMS_MI_STORYHOME', '5', '_AMS_MI_STORYHOMEDSC', 'select', 'int', 0)
Error number: 1062
Error message: Duplicate entry '65535' for key 1
INSERT INTO xoops_config (conf_id, conf_modid, conf_catid, conf_name, conf_title, conf_value, conf_desc, conf_formtype, conf_valuetype, conf_order) VALUES (0, 30, 0, 'displaynav', '_AMS_MI_DISPLAYNAV', '1', '_AMS_MI_DISPLAYNAVDSC', 'yesno', 'int', 1)
Error number: 1062
Error message: Duplicate entry '65535' for key 1
INSERT INTO xoops_config (conf_id, conf_modid, conf_catid, conf_name, conf_title, conf_value, conf_desc, conf_formtype, conf_valuetype, conf_order) VALUES (0, 30, 0, 'max_items', '_AMS_MI_MAXITEMS', '30', '_AMS_MI_MAXITEMDESC', 'text', 'int', 2)
Error number: 1062
Error message: Duplicate entry '65535' for key 1
all the error message refer to that:
Error number: 1062
Error message: Duplicate entry '65535' for key 1
please help. thanks.