Originally Posted by
Limitless
I think the problem is that the script (tries) to insert 11 points of data, the table takes 12.
INSERT INTO configuration VALUES (NULL, 'Wishlist sidebox header link', 'UN_DB_SIDEBOX_LINK_HEADER', 'true', 'Set this option true or false to make the sidebox header a link to the wishlist page.', @configuration_group_id, 711, now(), now(), NULL, "zen_cfg_select_option(array('true', 'false'),");
CREATE TABLE dummy (
`configuration_id` INT(11) NOT NULL AUTO_INCREMENT,
`configuration_title` TEXT NOT NULL,
`configuration_key` VARCHAR(255) NOT NULL DEFAULT '',
`configuration_value` TEXT NOT NULL,
`configuration_description` TEXT NOT NULL,
`configuration_group_id` INT(11) NOT NULL DEFAULT '0',
`sort_order` INT(5) NULL DEFAULT NULL,
`last_modified` DATETIME NULL DEFAULT NULL,
`date_added` DATETIME NOT NULL DEFAULT '0001-01-01 00:00:00',
`use_function` TEXT NULL,
`set_function` TEXT NULL,
`configuration_tab` VARCHAR(32) NOT NULL DEFAULT 'General'
)
My twelfth field is the configuration_tab and most are set to 'General'.
Bookmarks