
Originally Posted by
diptimoy
ZENCART 154
WHILE INSTALTING THE TEMPLATE GOT THIS
PHP Warning: call_user_func() expects parameter 1 to be a valid callback, function 'zen_cfg_select_option(array('true', 'false'),' not found or invalid function name in E:\xampp\htdocs\zencart\prowood\newsite\vU5sr34K\includes\functions\general.php on line 1774
FILES NEEDS TO BE MODIFIED IS
YOUR_ADMIN_FOLDER\includes\installers\winchester_black\1_0.PHP
near line 255 the query is
$db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
('Version', 'WINCHESTER_BLACK_VERSION', '1.3', 'Version installed:', " . $configuration_group_id . ", 0, NOW(), NOW(), NULL, NULL),
('Home Page Slideshow', 'WIN_SLIDER_STATUS', 'true', 'Activate Home Page Slideshow', " . $configuration_group_id . ", 1, NOW(), NOW(), 'zen_cfg_select_option(array(\'true\', \'false\'),', NULL),
('Banner Display Groups Custom Tab', 'SHOW_BANNERS_GROUP_SETCUSTOMTAB', 'Custom Tab', 'Custom Tab for product info page', " . $configuration_group_id . ", 2, NOW(), NOW(), NULL, NULL),
('EZ Pages in Header Menu', 'SHOW_EZ_PAGES_MENU', 'true', 'Shows the menu option for EZ pages/important links in the header menu', " . $configuration_group_id . ", 3, NOW(), NOW(),'zen_cfg_select_option(array(\'true\', \'false\'),', NULL);");
REPLACE IT WITH
$db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, set_function, use_function) VALUES
('Version', 'WINCHESTER_BLACK_VERSION', '1.3', 'Version installed:', " . $configuration_group_id . ", 0, NOW(), NOW(), NULL, NULL),
('Home Page Slideshow', 'WIN_SLIDER_STATUS', 'true', 'Activate Home Page Slideshow', " . $configuration_group_id . ", 1, NOW(), NOW(), 'zen_cfg_select_option(array(\'true\', \'false\'),', NULL),
('Banner Display Groups Custom Tab', 'SHOW_BANNERS_GROUP_SETCUSTOMTAB', 'Custom Tab', 'Custom Tab for product info page', " . $configuration_group_id . ", 2, NOW(), NOW(), NULL, NULL),
('EZ Pages in Header Menu', 'SHOW_EZ_PAGES_MENU', 'true', 'Shows the menu option for EZ pages/important links in the header menu', " . $configuration_group_id . ", 3, NOW(), NOW(),'zen_cfg_select_option(array(\'true\', \'false\'),', NULL);");
HOPE THIS HELPS
Bookmarks