Prestashop 1.7 白页
Prestashop 1.7 white page
由于 OVH 崩溃,我必须将我的 prestashop 1.7 迁移到另一台服务器。
但我在后台和前台都有空白页。
调试模式下无错误显示。
PHP 版本:7.1(带有 plesk 的 apache 服务器)
有什么想法吗?
警告:
mod_fcgid: stderr: PHP 警告: include(): 打开失败 '/var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/../psr/log/Psr/Log/LogLevel.php' 用于包含 (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 致命错误: Class 'Psr\Log\LogLevel' 在 /var/www/vhosts/xxxxx.be/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/Debug.[=59= 中找不到] 第 56 行
mod_fcgid:标准错误:PHP 警告:包括(/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?
错误很明显,缺少核心 Prestashop 文件:
/vendor/psr/log/Psr/Log/LogLevel.php
您必须从相同版本的 ZIP 中取出它来恢复它。
我的两分钱:您正在恢复排除了“log*”的备份,这导致包含单词 log 的文件无法备份...所以请检查其他一切是否完好无损!
由于 OVH 崩溃,我必须将我的 prestashop 1.7 迁移到另一台服务器。
但我在后台和前台都有空白页。 调试模式下无错误显示。
PHP 版本:7.1(带有 plesk 的 apache 服务器)
有什么想法吗?
警告:
mod_fcgid: stderr: PHP 警告: include(): 打开失败 '/var/www/vhosts/xxxxx.be/httpdocs/vendor/composer/../psr/log/Psr/Log/LogLevel.php' 用于包含 (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 致命错误: Class 'Psr\Log\LogLevel' 在 /var/www/vhosts/xxxxx.be/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/Debug.[=59= 中找不到] 第 56 行
mod_fcgid:标准错误:PHP 警告:包括(/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?
错误很明显,缺少核心 Prestashop 文件:
/vendor/psr/log/Psr/Log/LogLevel.php
您必须从相同版本的 ZIP 中取出它来恢复它。
我的两分钱:您正在恢复排除了“log*”的备份,这导致包含单词 log 的文件无法备份...所以请检查其他一切是否完好无损!