New Zenner
- Join Date:
- Jul 2005
- Posts:
- 85
- Plugin Contributions:
- 0
Post #121 by funkey
I think I see the problem:
You seem to have modified the SQL to change your configuration prefix to zen_ -- but your database actually is looking for hotrod_zc1. (requires the dot)
Boognish:
I have reinstalled sql several times and I'm still getting this at the bottom of the page:
[I]1146 Table 'hotrod_zc1.TABLE_ANTI_ROBOT_REGISTRATION' doesn't exist
in:
[DELETE FROM TABLE_ANTI_ROBOT_REGISTRATION WHERE timestamp < '1173066328' OR session_id = '6ee1140ffc6f8e53f4de896c83b68f08'][/I]
>
> ```
# CAPTCHA Verification SQL Install
# For Zen-Cart 1.3.6
# Last Updated: 31/10/2006
SELECT @sortorder:=max(sort_order)
FROM zen_configuration_group;
INSERT INTO `zen_configuration_group` VALUES (NULL, 'CAPTCHA Validation', 'Anti-Robot Registration/Verification', @sortorder+1, 1);
SELECT @captchaid:=max(configuration_group_id)
FROM zen_configuration_group;
INSERT INTO zen_configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function ) VALUES ( 'Activate Validation', 'ACCOUNT_VALIDATION', 'true', 'Enables CAPTCHA Verification Code. This is used to verify that the customer is real and valid, rather than a bot or spider session.', @captchaid, 10, NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),' );
INSERT INTO zen_configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function ) VALUES ( 'Activate Validation on Create Account page', 'CREATE_ACCOUNT_VALIDATION', 'true', 'Enables verification on Create Account page. (Recommended)', @captchaid, 20, NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),' );
INSERT INTO zen_configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function ) VALUES ( 'Activate Validation on Login page', 'LOGIN_VALIDATION', 'true', 'Enables verification on Login page. (Optional)', @captchaid, 30, NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),' );
INSERT INTO zen_configuration ( configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function ) VALUES ( 'Length of Validation Code', 'ENTRY_VALIDATION_LENGTH', '5', 'Default Length = 5, Maximum Length = 32', @captchaid, 50, NULL, NULL );
DROP TABLE IF EXISTS zen_anti_robotreg;
CREATE TABLE zen_anti_robotreg (session_id char(32) DEFAULT '' NOT NULL, reg_key char(32) NOT NULL, timestamp int(11) unsigned NOT NULL, PRIMARY KEY (session_id));