如何解决Prestashop 1.7 白页
由于 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 Fatal error: Class 'Psr\Log\LogLevel' not found in /var/www/vhosts/xxxxx.be/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/Debug .PHP 第 56 行
mod_fcgid: stderr: PHP Warning: 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?
错误很明显,缺少核心 Prestashop 文件:
/vendor/psr/log/Psr/Log/LogLevel.php
您必须通过从相同版本的 ZIP 中获取来恢复它。
我的两分钱:您正在恢复排除“log*”的备份,这导致包含单词 log 的文件无法备份...因此请检查其他所有内容是否完整!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。