I wanted to install Numinix Shipping Boxes Manager and so I tried installing Numinix Product Fields as the first step.
Using ZC 1.5.1, Product Fields 2.0, PHP 5.2.17
I was at step 4 and tried to add the Dimensions field.
I get "WARNING: An Error occurred, please refresh the page and try again."
This is in the log file:
[26-Sep-2014 17:12:47 America/Chicago] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE zc_products ADD products_dim_type ENUM('in','cm') NOT NULL default '' at line 3 :: #MODIFY THE DEFAULT ACCORDINGLY FOR THE NEXT 2 ROWS
ALTER TABLE zc_products ADD products_weight_type ENUM('lbs','kgs') NOT NULL default 'lbs' after products_weight;
ALTER TABLE zc_products ADD products_dim_type ENUM('in','cm') NOT NULL default 'in' after products_weight_type;
ALTER TABLE zc_products ADD products_length DECIMAL(6,2) NULL default NULL after products_dim_type;
ALTER TABLE zc_products ADD products_width DECIMAL(6,2) NULL default NULL after products_length;
ALTER TABLE zc_products ADD products_height DECIMAL(6,2) NULL default NULL after products_width;
ALTER TABLE zc_products ADD products_ready_to_ship ENUM('0','1') NOT NULL default '1' after products_height;
ALTER TABLE zc_products ADD products_actual_weight varchar(32) NULL default NULL after products_weight;
ALTER TABLE zc_products ADD products_diameter varchar(32) NULL default NULL;
INSERT INTO zc_product_type_layout (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, product_type_id, sort_order, last_modified, date_added, use_function, set_function) VALUES
(NULL, 'Show Dimensions', 'SHOW_PRODUCT_INFO_DIMENSIONS', '0', 'Show product dimensions on product info page (requires Numinix Product Fields)?', 1, 17, NULL, NOW(), NULL, 'zen_cfg_select_option(array('1', '0'),'),
(NULL, 'Show Diameter', 'SHOW_PRODUCT_INFO_DIAMETER', '0', 'Show product diameter on product info page (requires Numinix Product Fields)?', 1, 17, NULL, NOW(), NULL, 'zen_cfg_select_option(array('1', '0'),'),
(NULL, 'Show Conversions', 'SHOW_PRODUCT_INFO_CONVERSIONS', '0', 'Show weight and dimension conversions on product info page (requires Numinix Product Fields)?', 1, 17, NULL, NOW(), NULL, 'zen_cfg_select_option(array('1', '0'),'),
(NULL, 'Show Smaller Units', 'SHOW_PRODUCT_INFO_SMALLER_UNITS', '0', 'Show weight and dimensions as g/oz? (requires Numinix Product Fields)?', 1, 17, NULL, NOW(), NULL, 'zen_cfg_select_option(array('1', '0'),'),
(NULL, 'Show Actual Weight', 'SHOW_PRODUCT_INFO_ACTUAL_WEIGHT', '0', 'Show zc_products actual weight on product info page (requires Numinix Product Fields)?', 1, 17, NULL, NOW(), NULL, 'zen_cfg_select_option(array('1', '0'),'); in /home/bandera/public_html/zc/includes/classes/db/mysql/query_factory.php on line 120
I'm not sure what I'm missing in the installation. When I look at the database, it looks like the changes have been made. I can see the fields that were added.