我需要在線上傳我的symfony 3項目,但我只能訪問ftp。所以,我沒有,我發現一切必要步驟:Symfony 3通過ftp錯誤部署應用程序
- 作曲家更新
- 清除緩存生產:
php app/console cache:clear --env=prod
- 上傳的服務器
所有的應用程序文件夾後,我打開我的網站,我得到了以下錯誤:
Fatal error: require(): Failed opening required '/nfsmnt/hosting2_1/a/8/a87b3594-7cfe-459e-ad62-286d2dba2c54/zorbfutbal.sk/web/var..\vendor\symfony\symfony\src\Symfony\Component\ClassLoader\ApcClassLoader.php' (include_path='.:/usr/php56/lib/php') in /nfsmnt/hosting2_1/a/8/a87b3594-7cfe-459e-ad62-286d2dba2c54/zorbfutbal.sk/web/var/bootstrap.php.cache on line 1780
我檢查了這個文件,並且在那裏設置了所有文件sions。 什麼讓我感到困惑的是從我的實際域名之前的錯誤的路徑。
"/nfsmnt/hosting2_1/a/8/a87b3594-7cfe-459e-ad62-286d2dba2c54/" I dont know where it comed from and how to fix it. Any idea? Thanks