清除缓存后,我的presthop站点显示以下错误:
[PrestaShopDatabaseException]未知列。Id_shop ' in 'where子句'
SELECT cl.`meta_title`, cl.`link_rewrite`
FROM `ps_cms_lang` cl
INNER JOIN `ps_cms` c
ON (cl.`id_cms` = c.`id_cms`)
WHERE cl.`id_cms` = 1
AND (c.`active` = 1 OR c.`id_cms` = 1)
AND cl.`id_shop` = 1
AND cl.`id_lang` = 1 LIMIT 1
执行以下查询:
ALTER TABLE `ps_cms_lang` ADD `id_shop` int NOT NULL DEFAULT 1 AFTER `id_lang`