Ajeh:
NOTE: If you still cannot find it, run this in the SQL:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, now(), now(), NULL, NULL);
Made this first change and things appear to be working again (thanks!)
> **Ajeh:**
>
> Also, check for these settings ...
> Search for the configuration_key
> PRODUCTS_OPTIONS_TYPE_SELECT
> UPLOAD_PREFIX
>
> If those are missing, you can fix them with:
> ```
INSERT INTO `configuration` VALUES ('', 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL, NULL);
What version of Zen Cart are you using?
I'm using v1.5.1. Those configuration_keys are both missing and when I try to run the code I get an error:
Error
SQL query:
INSERT INTO configuration
VALUES (
'', 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL , '2007-03-19 17:57:39', '2007-03-19 17:57:39', NULL , NULL
)
MySQL said: Documentation
#1136 - Column count doesn't match value count at row 1