2016-10-02 4 views
0

専門家:Symfonyアプリケーションのデプロイ方法は? Symfony2の

Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) in /home/mgdatos/public_html/nival7/vendor/zendframework/zend-cache/src/Storage/AdapterPluginManager.php on line 27 

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Parse Error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING)' in /home/mgdatos/public_html/nival7/vendor/zendframework/zend-cache/src/Storage/AdapterPluginManager.php:27 Stack trace: #0 {main} Next exception 'Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException' with message 'Circular reference detected for service "ps_pdf.listener", path: "ps_pdf.listener -> ps_pdf.cache".' in /home/mgdatos/public_html/nival7/app/bootstrap.php.cache:2114 Stack trace: #0 /home/mgdatos/public_html/nival7/app/cache/prod/classes.php(2350): Symfony\Component\DependencyInjection\Container->get('ps_pdf.listener') #1 /home/mgdatos/public_html/nival7/app/cache/prod/classes.php(2338): Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->lazyLoad('kernel.controll...') #2 /home/mgdatos/public_html/nival7/app/bootstrap.php.cache(3091): Symfony\Component\EventDispatcher\ContainerAwa in /home/mgdatos/public_html/nival7/app/bootstrap.php.cache on line 2114 

はあなたが私に手掛かりを与えてもらえ:

イムは、私のVPSでのSymfonyのアプリケーションを実行しようとするとエラーメッセージが表示されましたか?

+2

2番目のメッセージは、コンテナ構成の問題を示しています。開発マシンをセットアップし、展開しようとする前にアプリを実行させてください。 – Cerad

答えて

0

ありがとうございました。私は5.6のPHPバージョンにアップグレードしなければなりませんでした。

関連する問題