我在PrestaShop上尝试1click更新,但失败。尝试还原并失败。不知道哪里出了问题。这是错误消息。谢谢你的帮助
[PrestaShopDatabaseException]
Table 'd90629_xxx.ps_shop_url' doesn't exist
SELECT s.id_shop, CONCAT(su.physical_uri, su.virtual_uri) AS uri, su.domain, su.main
FROM ps_shop_url su
LEFT JOIN ps_shop s ON (s.id_shop = su.id_shop)
WHERE (su.domain = 'xxx.com' OR su.domain_ssl = 'xxx.com')
AND s.active = 1
AND s.deleted = 0
ORDER BY LENGTH(CONCAT(su.physical_uri, su.virtual_uri)) DESC
at line 639 in file classes/db/Db.php
634. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
635. }
636. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
637. {
638. if ($sql)
639. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
640. throw new PrestaShopDatabaseException($this->getMsgError());
641. }
642. }
643.
644. /**
DbCore->displayError - [line 333 - classes/db/Db.php] - [1 Arguments]
DbCore->query - [line 509 - classes/db/Db.php] - [1 Arguments]
DbCore->executeS - [line 329 - classes/shop/Shop.php] - [1 Arguments]
ShopCore::initialize - [line 97 - config/config.inc.php]
require - [line 27 - index.php] - [1 Arguments]
似乎d90629_xxx.ps_shop_url表不存在,您是否在数据库中查找过它?也许使用phpmyadmin或MySQL控制台?
如果不存在,则可以从以前的备份中将其导入回来。
此错误与升级无关。
这是无法在页面index.php(// require - [line 27 - index.php] - [1 Arguments]
)上升级后出现的错误
要查找原始错误,您需要检查服务器日志