![]() |
critical DB error - Printable Version +- Incentive Scripts Community (http://www.incentivescripts.com/forum) +-- Forum: General (/forumdisplay.php?fid=1) +--- Forum: Support (/forumdisplay.php?fid=3) +--- Thread: critical DB error (/showthread.php?tid=245) |
critical DB error - piramida8 - 09-21-2012 02:25 AM After i try to install new version , when i go to login , this show me : Critical DB Error! Date: [21-09-2012 05:24:28] MySQL Error: [Unknown column 'proxy_check_pending_count' in 'field list'] Query: [/home/.../ClixScript_PHP_DOCS/login.php] File: [/home/.../ClixScript_PHP_DOCS/classes/class.router.php] Line: [95] Any idea what i do wrong? Best Regards RE: critical DB error - admin - 09-21-2012 05:13 AM Hello, Please open php my admin, copy/paste and run these queries one by one: Code: ALTER TABLE `tb_users` ADD `proxy_check_pending_count` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'The higher count, the more failed (skipped proxy tets)' AFTER `login_count` Code: ALTER TABLE `tb_users` ADD `proxy_check_detected_count` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Total number of times that a proxy has been detected' AFTER `proxy_check_pending_count` Code: CREATE TABLE IF NOT EXISTS `proxy_detector_adv` ( Code: ALTER TABLE `tb_users` ADD `login_token` VARCHAR( 255 ) NOT NULL COMMENT 'Login Token (used by remember me), if empty, user may only login using login..' Code: ALTER TABLE `tb_users` ADD INDEX (`login_token`) This should solve your problems, if not, let me know. RE: critical DB error - piramida8 - 09-25-2012 12:13 PM THX i fixed, but now i finde 1 more problem: The new problem are: Critical DB Error! Date: [25-09-2012 15:11:06] MySQL Error: [Table 'gptclick_gpt.blocked_countries' doesn't exist] Query: [SELECT * FROM blocked_countries WHERE country_code = 'HR'] File: [/home/gptclick/ClixScript_PHP_DOCS/register.php] Line: [15] RE: critical DB error - admin - 09-28-2012 03:54 PM Code: CREATE TABLE IF NOT EXISTS `blocked_countries` ( run this one too |