Prestashop数据库的奇怪行为

问题描述 投票:0回答:2

我从Prestashop在线网站导入了一个数据库,但是我无法编辑某些表。

这是ps_category_lang的外观enter image description here

这是全新安装时看起来像同一张表的样子enter image description here

有很多与此问题相关的表,我不知道该如何修复。

有什么想法吗?

phpmyadmin prestashop prestashop-1.6
2个回答
0
投票

在phpMyAdmin的$cfg['RowActionLinksWithoutUnique']设置文件中将true设置为config.inc.php

此选项控制没有唯一键的表中行的操作显示。

https://docs.phpmyadmin.net/en/latest/config.html#cfg_RowActionLinksWithoutUnique


0
投票

您缺少id_category上的唯一/主键。

enter image description here

问候

© www.soinside.com 2019 - 2024. All rights reserved.