OpenCart - 中文论坛

标题: 安装后不正常 [打印本页]

作者: cyb19920    时间: 2015-3-23 10:20
标题: 安装后不正常
Notice: Error: Subquery returns more than 1 row
Error No: 1242
Error in: E:\wamp\www\yincart\catalog\model\catalog\product.php line 8
SELECT DISTINCT *, pd.name AS name, p.image, m.name AS manufacturer, (SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount, (SELECT price F



作者: sunboy    时间: 2015-3-24 00:36
请删除原来的数据库,重新建立一个数据库,
或者手工删除数据库中所有的表

然后再重新安装




欢迎光临 OpenCart - 中文论坛 (https://bbs.opencart.cn/) Powered by Discuz! X3.2