shopEx出现”对不起,无法找到您访问的页面,请返回重新访问”的解决办法

一些使用ShopEx采集接口的用户出现了”对不起,无法找到您访问的页面,请返回重新访问”的问题。

在产品列表可以看到产品的链接,访问链接却出现上述错误,重新编辑一下商品以后,问题解决。

后来发现是sdb_products中的数据没有同步。手工使用sql同步一下,问题可以解决。

以下sql中的sdb_是shopex默认表前缀,请根据你的表前缀进行修改。
[sql]INSERT INTO `sdb_products` (goods_id,bn,price,cost,mktprice,name,store)
SELECT goods_id,bn,price,cost,mktprice,`name`,store from sdb_goods where cat_id > 0 AND goods_id not in (SELECT DISTINCT goods_id from sdb_products);[/sql]
以上版本在shopEx 4.8.5版本中使用!

[sql]INSERT INTO `sdb_products` (goods_id,bn,price,cost,name,store)
SELECT goods_id,bn,price,cost,`name`,store from sdb_goods where cat_id > 0 AND goods_id not in (SELECT DISTINCT goods_id from sdb_products);[/sql]
以上版本在shopEx 4.8.4版本中使用!

发表评论