Jump to content

Davelaar

Members
  • Content count

    26
  • Joined

  • Last visited


Reputation Activity

  1. Like
    Davelaar reacted to raiwa in [Contribution] iOSC - mobile version of OSC on your iPhone   
    It seems you have a different (newer) sql version which doesn't accept "null" value for "set function".
     
    Try this:
     

    INSERT INTO `configuration_group` (`configuration_group_id`, `configuration_group_title`, `configuration_group_description`, `sort_order`, `visible`) VALUES ('6128', 'Mobile Site', 'Configuration values for mobile site', '160', '1'); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Enable Mobile Site?', 'MOBILE_SITE', 'True', 'Do you want to enable the mobile version of the site?', '6128', '1', NULL, '', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Mobile Image Width', 'MOBILE_IMAGE_WIDTH', '80', 'The pixel width of mobile images', '6128', '2', NULL, '', '', ''); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Mobile Image Height', 'MOBILE_IMAGE_HEIGHT', '80', 'The pixel height of mobile images', '6128', '3', NULL, '', '', ''); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Mobile Product Name Length', 'MOBILE_PRODUCT_NAME_LENGTH', '55', 'The max length of product names shown in product listing', '6128', '4', NULL, '', '', ''); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Mobile Debug Mode', 'MOBILE_DEBUG', 'false', 'Mobile debug mode: leave false for live shops', '6128', '5', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Enable Ajax', 'AJAX_ENABLED', 'false', 'Ajax enabled', '6128', '6', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Compatibility Mode', 'COMPATIBILITY_MODE', 'false', 'Enable compatibility mode for testing purpose, leave false for live shops', '6128', '7', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Mobile Footer Date', 'FOOTER_DATE_ENABLED', 'true', 'Show the date in the mobile footer.', '6128', '8', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Mobile Footer Statistics', 'FOOTER_SITE_STATS_ENABLED', 'true', 'Show the statistics in the mobile footer.', '6128', '9', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Manufacturers in Advanced Mobile Search', 'SHOW_MANUFACTURERS_SEARCH_MENU', 'true', 'Show the manufacturers drop down menu in the advanced mobile search page.', '6128', '10', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Categories in Advanced Mobile Search', 'SHOW_CATEGORIES_SEARCH_MENU', 'true', 'Show the categories drop down menu in the advanced mobile search page.', '6128', '11', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Price range in Advanced Mobile Search', 'SHOW_SEARCH_BY_PRICE_RANGE', 'true', 'Show the price range option in the advanced mobile search page.', '6128', '12', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), '); INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES (NULL, 'Date range in Advanced Mobile Search', 'SHOW_SEARCH_BY_DATE_RANGE', 'true', 'Show the date range option in the advanced mobile search page.', '6128', '13', NULL, '', NULL, 'tep_cfg_select_option(array(''true'', ''false''), ');
×