简体   繁体   English

app.php在symfony2.3中不起作用

[英]app.php not working in symfony2.3

I create a symfony 2.3 project. 我创建一个symfony 2.3项目。 some times all the pages shows 500 error. 有时所有页面都显示500错误。 app.php also shows error. app.php也显示错误。 i dont know why can any one help 我不知道为什么有人可以帮忙

www.dotcue.in/sandp/web/app.php [HTTP/1.0 500 Internal Server Error 353ms] www.dotcue.in/sandp/web/app.php [HTTP / 1.0 500内部服务器错误353ms]

I'm going to take a wild stab in the dark here and conclude that it is one of the following problems: 在这里,我将在黑暗中暗刺,得出结论,这是以下问题之一:

  1. The prod cache is out of date, to fix it run: php app/console --env=prod cache:clear 产品缓存已过期,要解决此问题,请运行: php app/console --env=prod cache:clear

  2. The vendors are missing, to fix it run: php composer.phar install 供应商不见了,要修复此问题,请运行: php composer.phar install

If it is a problem when code that you have written however, we need to see the errors. 但是,如果在编写代码时出现问题,我们需要查看错误。

Too much HTTP headers (ex 4 kB) can cause this error depending on the hosting server. 过多的HTTP headers (例如4 kB)会导致此错误,具体取决于托管服务器。 ChromePHP sends all of its data in HTTP headers. ChromePHP在HTTP标头中发送其所有数据。 (you wrote you use ChromePHP) (您写过使用ChromePHP)

Try turning it off or lowering the data sent with ChromePHP. 尝试关闭它或降低ChromePHP发送的数据。 Did it help? 有帮助吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM