我要在新的托管服务提供商中迁移使用PrestaShop
构建的网站http://farmtrust.tn。这是新的URL http://shop.farmtruster.com。现在,当我尝试访问管理员后端时,我得到了FatalErrorException
。
FatalErrorException
Compile Error: Symfony\Component\Debug\DebugClassLoader::loadClass(): Failed opening required '/var/www/html/vendor/composer/../symfony/symfony/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/RegisterCsrfTokenClearingLogoutHandlerPass.php' (include_path='/var/www/html/vendor/pear/pear_exception:/var/www/html/vendor/pear/console_getopt:/var/www/html/vendor/pear/pear-core-minimal/src:/var/www/html/vendor/pear/archive_tar:.:/usr/share/php')
in DebugClassLoader.php line 156
此外,该网站无法正常运行http://shop.farmtruster.com,显示未找到。
在此服务器上找不到请求的URL。
我正尝试在我先安装xampp
的EC2实例中托管AWS,然后突然停止运行,所以我手动安装了PHP MySQL Apache ...
网站文件位于var/www/html
文件夹中。请注意,http://shop.farmtruster.com将我重定向到http://shop.farmtruster.com/fr/,因此我得出结论,翻译工作正常。
希望您能帮助我
答案 0 :(得分:0)
调试步骤:
检查该.php文件是否确实存在于该位置,如果没有,请从原始Prestashop存档中复制该文件。
完全删除var / cache,它将被重新创建。
检查文件和目录的所有权/权限。所有者应为apache用户,目录的权限为0755,文件的权限为0644。