【问题标题】:Prestashop 1.7 white pagePrestashop 1.7 白页
【发布时间】:2021-06-14 05:34:04
【问题描述】:

由于 OVH 崩溃,我必须将我的 prestashop 1.7 迁移到另一台服务器。

但我在后台和前台都有空白页。 调试模式下没有错误显示。

PHP 版本:7.1(带有 plesk 的 apache 服务器)

有什么想法吗?

警告:

mod_fcgid: stderr: PHP Warning: include(): Failed opening '/var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/../psr/log/Psr/Log/LogLevel.php' for包含(include_path='/var/www/vhosts/xxxxx.be/httpdocs/tools/htmlpurifier/standalone:/var/www/vhosts/xxxxx.be/httpdocs/vendor/pear/pear_exception:/var/www/vhosts/ xxxxx.be/httpdocs/vendor/pear/console_getopt:/var/www/vhosts/xxxxx.be/httpdocs/vendor/pear/pear-core-minimal/src:/var/www/vhosts/xxxxx.be/httpdocs/ vendor/pear/archive_tar:.:/opt/plesk/php/7.1/share/pear') 在 /var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/ClassLoader.php 第 444 行

mod_fcgid:stderr:PHP 致命错误:在 /var/www/vhosts/xxxxx.be/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/Debug 中找不到类“Psr\Log\LogLevel” .php 在第 56 行

mod_fcgid:stderr:PHP 警告:include(/var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/../psr/log/Psr/Log/LogLevel.php):无法打开流:在第 444 行的 /var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/ClassLoader.php 中没有这样的文件或目录

【问题讨论】:

    标签: prestashop plesk prestashop-1.7


    【解决方案1】:

    什么版本的 Prestashop?

    错误很明显,缺少核心 Prestashop 文件:

    /vendor/psr/log/Psr/Log/LogLevel.php
    

    您必须通过从相同版本的 ZIP 中获取它来恢复它。

    我的两分钱:您正在恢复排除“log*”的备份,这导致包含单词 log 的文件不被备份...所以检查其他所有内容是否完好无损!

    【讨论】:

      猜你喜欢
      • 2018-03-19
      • 2017-11-10
      • 1970-01-01
      • 1970-01-01
      • 2018-06-01
      • 2018-05-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多