简体   繁体   English

在“ Symfony \\ Component \\ HttpKernel \\ EventListener \\ RouterListener”之后,Symfony2静默失败

[英]Symfony2 fails silently after 'Symfony\Component\HttpKernel\EventListener\RouterListener'

My Symfony2 project is failing silently. 我的Symfony2项目无声地失败了。 No fatal errors output in PHP, nothing in the PHP error log. 在PHP中没有致命错误输出,在PHP错误日志中没有任何致命错误。

The last line of the dev.log is always: dev.log的最后一行始终是:

[2012-12-27 01:14:05] event.DEBUG: Notified event "kernel.request" to listener 
 "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". [] []

Any ideas on why it is dying? 关于它为什么要死的任何想法?

Update 更新资料

Also worth noting this is on my prod server only. 同样值得注意的是,这仅在我的产品服务器上。 Local is fine. 当地很好。

Fixed. 固定。

Managed to get an infinite loop in there using forward() . 使用forward()设法在其中获得无限循环。

It must have just crashed. 它一定是崩溃了。

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

相关问题 Symfony2缓慢的RouterListener或防火墙 - Symfony2 slow RouterListener or Firewall 身份验证在Symfony2中无提示失败 - Authentication fails silently in Symfony2 Symfony2内核与HttpKernel - Symfony2 Kernel vs HttpKernel Symfony2身份验证通过自定义UserProvider静默失败 - Symfony2 Authentication fails silently with custom UserProvider Symfony2 HttpKernel控制器中的之前和之后方法(Kohana风格) - Symfony2 HttpKernel Before and after methods in controllers (Kohana Style) Symfony \\组件\\ HttpKernel \\异常\\ NotFoundHttpException - Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException Symfony \\ Component \\ HttpKernel \\ Exception \\ MethodNotAllowedHttpException,删除按钮 - Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException, delete button 获取Symfony \\组件\\ HttpKernel \\异常\\ NotFoundHttpException - Getting Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException 找不到接口'Symfony \\ Component \\ HttpKernel \\ HttpKernelInterface' - Interface 'Symfony\Component\HttpKernel\HttpKernelInterface' not found Symfony \\ Component \\ HttpKernel \\ Exception \\ NotFoundHttpException:找不到对象 - Symfony\Component\HttpKernel\Exception\NotFoundHttpException: object not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM