我是 Symfony 的新手,知道的很少。我刚刚收到了一个可以在我的本地机器上运行的项目,但我刚刚将它移到了一个实时服务器上,现在有些部分已经坏了。
我做了以下事情:
php composer.phar update
(不确定那是做什么的,但它会输出以下内容)
Loading composer repositories with package information
Updating dependencies
出现此错误:
[RuntimeException]
The "https://packagist.org/p/jms/parser-lib.json" file could not be downloaded (HTTP/1.1 404 Not Found)
当我导航到网站的某个部分时,我收到“500 内部服务器错误”
我的 apache 错误日志包含以下内容:
[Wed May 01 11:40:58 2013] [error] [client 88.289.76.212] PHP Fatal error: Class 'Symfony\\Component\\HttpKernel\\Bundle\\Bundle' not found in /var/www/html/newsletters/src/Imagine/NewsletterBundle/ImagineNewsletterBundle.php on line 9
[Wed May 01 11:45:19 2013] [error] [client 88.289.80.249] PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to write cache file "/var/www/html/newsletters/app/cache/prod/classes.php".' in /var/www/html/newsletters/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php:205\nStack trace:\n#0 /var/www/html/newsletters/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php(122): Symfony\\Component\\ClassLoader\\ClassCollectionLoader::writeCacheFile('/var/www/html/n...', '<?php ????name...')\n#1 /var/www/html/newsletters/app/bootstrap.php.cache(756): Symfony\\Component\\ClassLoader\\ClassCollectionLoader::load(Array, '/var/www/html/n...', 'classes', false, false, '.php')\n#2 /var/www/html/newsletters/web/app.php(19): Symfony\\Component\\HttpKernel\\Kernel->loadClassCache()\n#3 {main}\n thrown in /var/www/html/newsletters/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php on line 205, referer: http://newsletters.imagine-publishing.co.uk/web/
[Wed May 01 11:45:40 2013] [error] [client 68.289.78.46] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
任何人都可以就我可能没有执行的任何操作提供一些建议以使网站在新服务器上运行吗?
提前致谢。