OPENCART 3.0.3.1 发布产品的时候报如下错误:
Fatal error: Uncaught exception ‘Exception’ with message ‘Error: Duplicate entry ‘0’ for key ‘PRIMARY'<br />Error No: 1062<br />INSERT INTO oc_product_advertise_google…….(后面省略)
解决方法:
到PHPMYADMIN, SQL如下命令:
ALTER TABLE oc_product_advertise_google CHANGE product_advertise_google_id product_advertise_google_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT