Php 网站上的空白页在prestashop Uncaught exception';未找到店铺';
直到上周,我的网站运行良好。管理员和前端在本地和服务器上都工作正常。在我的系统的本地服务器上,该站点仍然可以正常工作。我在实时服务器上遇到问题 在过去的几天里,我在服务器上得到了一个空白页面 检查错误日志后,我发现以下错误::Php 网站上的空白页在prestashop Uncaught exception';未找到店铺';,php,prestashop,Php,Prestashop,直到上周,我的网站运行良好。管理员和前端在本地和服务器上都工作正常。在我的系统的本地服务器上,该站点仍然可以正常工作。我在实时服务器上遇到问题 在过去的几天里,我在服务器上得到了一个空白页面 检查错误日志后,我发现以下错误:: Fatal error: Uncaught exception 'PrestaShopException' with message 'Shop not found' in /home/thebaker/public_html/demo/classes/shop/Sho
Fatal error: Uncaught exception 'PrestaShopException' with message
'Shop not found' in /home/thebaker/public_html/demo/classes/shop/Shop.php:369
Stack trace: #0 /home/thebaker/public_html/demo/config/config.inc.php(91):
ShopCore::initialize() #1 /home/thebaker/public_html/demo/index.php(27):
require('/home/thebaker/...')
#2 {main} thrown in /home/thebaker/public_html/demo/classes/shop/Shop.php
on line 369
管理面板显示以下错误
警告:中为foreach()提供的参数无效
/第671行的home/thebaker/public_html/demo/classes/Language.php
警告:中为foreach()提供的参数无效
/第671行的home/thebaker/public_html/demo/classes/Language.php
警告:中为foreach()提供的参数无效
/第261行的home/thebaker/public_html/demo/classes/Tab.php
警告:中为foreach()提供的参数无效
/第208行的home/thebaker/public_html/demo/classes/Tab.php
警告:中为foreach()提供的参数无效
/home/thebaker/public_html/demo/classes/Profile.php,第145行
警告:中为foreach()提供的参数无效
/home/thebaker/public_html/demo/classes/controller/AdminController.php
在线1250
警告:中为foreach()提供的参数无效
/第231行的home/thebaker/public_html/demo/classes/Tab.php
警告:中为foreach()提供的参数无效
/第671行的home/thebaker/public_html/demo/classes/Language.php
警告:中为foreach()提供的参数无效
/第969行的home/thebaker/public_html/demo/classes/module/module.php
警告:中为foreach()提供的参数无效
/第164行的home/thebaker/public_html/demo/classes/module/module.php
警告:中为foreach()提供的参数无效
/主页/thebaker/public_html/demo/modules/watermark/watermark.php
第55行
警告:中为foreach()提供的参数无效
/第1115行的home/thebaker/public_html/demo/classes/module/module.php
我已经尝试过实现一些解决方案,比如在服务器上更改权限(从755更改为775)以及上载一个新的.htaccess文件,但我无法解决这个问题
有人能帮我一下吗。我是prestashop的新手,不喜欢核心开发。这是我第一次尝试在Prestashop建立一个网站
非常感谢
注意:我的网站是建立在Prestashop 1.5.4.1上的,如果您忘记在1.4.xx之后将db升级到Prestashop 1.5.xx,它可能会出现
或者您只是从备份中恢复非常旧的DB(v1.4)。从1.4.11->1.6.0升级后,我也遇到了同样的问题 我已重命名/override文件夹,eshop再次开始工作 其中一个旧的重写可能与新类冲突
暂时删除所有旧的覆盖,看看是否有帮助。您在live server的“demo”文件夹中是正常的吗?该站点尚未启用。因此,它位于“演示”文件夹中。由于网站最初是基于prestashop 1.5.4.1本身构建的,因此未升级prestashop版本。