呵呵 我知道怎么解决这问题 哈哈!!
楼主打开includes\modules\integrates目录下的ecshop.php
修改里面的74行 $this->db->query('INSERT INTO ' . $GLOBALS['ecs']->table("users") . "(`user_id`, `email`, `user_name`, `reg_time`, `last_login`, `last_ip`) VALUES ('$uid', '$email', '$uname', '$reg_date', '$reg_date', '$ip')");
把代码改为 $this->db->query('INSERT INTO ' . $GLOBALS['ecs']->table("users") . "(`email`, `user_name`, `reg_time`, `last_login`, `last_ip`) VALUES ( '$email', '$uname', '$reg_date', '$reg_date', '$ip')");
173行 $this->db->query('INSERT INTO ' . $GLOBALS['ecs']->table("users") . "(`user_id`, `email`, `user_name`, `reg_time`, `last_login`, `last_ip`) VALUES ('$uid', '$email', '$username', '$reg_date', '$reg_date', '$ip')");
改为 $this->db->query('INSERT INTO ' . $GLOBALS['ecs']->table("users") . "(`email`, `user_name`, `reg_time`, `last_login`, `last_ip`) VALUES ('$email', '$username', '$reg_date', '$reg_date', '$ip')");
试试
就是去掉其中的UID那项!去掉就应该能注册了!