|
我下载了opencart中文免费版,下载文件名是 opencart-v30-free-20180307.zip,我在安装时PHP出现一个致命SQL错误
然后我看到字段表中的数据如图片,并没有定义email字段,所以出现这个错误,请问是我的原因还是该版本打包出现了问题?
[09-Mar-2018 05:58:16 UTC] PHP Fatal error: Uncaught Exception: Error: Key column 'email' doesn't exist in table<br />Error No: 1072<br />CREATE TABLE `oc_customer_login` (
`customer_login_id` int(11) NOT NULL AUTO_INCREMENT,
`customer_id` int(11) NOT NULL,
`ip` varchar(40) NOT NULL,
`total` int(4) NOT NULL,
`date_added` datetime NOT NULL,
`date_modified` datetime NOT NULL,
PRIMARY KEY (`customer_login_id`),
KEY `email` (`email`),
KEY `ip` (`ip`)
) ENGINE=MyISAM CHARSET=utf8 COLLATE=utf8_general_ci;
in D:\UPUPW_AP7.0\htdocs\opencartcn\system\library\db\mysqli.php:40
Stack trace:
#0 D:\UPUPW_AP7.0\htdocs\opencartcn\system\library\db.php(53): DB\MySQLi->query('CREATE TABLE `o...')
#1 D:\UPUPW_AP7.0\htdocs\opencartcn\install\model\install\install.php(49): DB->query('CREATE TABLE `o...')
#2 D:\UPUPW_AP7.0\htdocs\opencartcn\system\engine\loader.php(252): ModelInstallInstall->database(Array)
#3 D:\UPUPW_AP7.0\htdocs\opencartcn\system\engine\proxy.php(47): Loader->{closure}(Array, Array)
#4 D:\UPUPW_AP7.0\htdocs\opencartcn\install\controlle in D:\UPUPW_AP7.0\htdocs\opencartcn\system\library\db\mysqli.php on line 40 |
|