Symfony2和nginx网络主机

Symfony2和nginx网络主机,symfony,nginx,Symfony,Nginx,您好,我在我的nginx网络主机上安装了symfony2,但它最密集地显示了我完成的项目 这是网站,我使用这个命令来配置服务器 这里有一些错误日志 tail -f logs/error_log #4 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5519): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array) #5 /home/intelm

您好,我在我的nginx网络主机上安装了symfony2,但它最密集地显示了我完成的项目

这是网站,我使用这个命令来配置服务器

这里有一些错误日志

tail -f logs/error_log 
#4 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5519): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array)
#5 /home/intelmarketing.es/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionL in /home/intelmarketing.es/public_html/app/cache/prod/classes.php on line 5141" while reading response header from upstream, client: 180.211.176.176, server: intelmarketing.es, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9007", host: "www.intelmarketing.es"
2013/08/14 18:15:05 [error] 2583#0: *3 FastCGI sent in stderr: "PHP Fatal error:  Uncaught exception 'UnexpectedValueException' with message 'The stream or file "C:/wamp/www/symfony/app/logs/prod.log" could not be opened: failed to open stream: No such file or directory' in /home/intelmarketing.es/public_html/app/cache/prod/classes.php:5141
Stack trace:
#0 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5089): Monolog\Handler\StreamHandler->write(Array)
#1 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5018): Monolog\Handler\AbstractProcessingHandler->handle(Array)
#2 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5204): Monolog\Handler\AbstractHandler->handleBatch(Array)
#3 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5419): Monolog\Handler\FingersCrossedHandler->handle(Array)
#4 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5519): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array)
#5 /home/intelmarketing.es/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionL in /home/intelmarketing.es/public_html/app/cache/prod/classes.php on line 5141" while reading response header from upstream, client: 180.211.176.176, server: intelmarketing.es, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9007", host: "www.intelmarketing.es"
有什么问题吗

多谢各位
/亚历山大

清除您的
应用程序/日志
应用程序/缓存
目录,并授予您的web服务器对其进行写入(读取)的权限。您在开发机器上留下了一些文件。

“流或文件”C:/wamp/www/symfony/app/logs/prod.log“无法打开:无法打开流:没有这样的文件或目录”我不太确定,但是你认为问题是没有这样的文件吗?是的,但是我需要更改从C到我的web主机的路径,它类似于/home/intelmarketing/。。。ETCC这个错误发生在linux生产服务器上,在开发服务器(您的本地windows机器)上写入并上传后,我是否正确?如果您有SSH访问权限,我会进去做一个
rm-rf-app/cache/*
是的mohammed您是正确的