douyue1998 2015-07-13 12:31
浏览 54

ERR_EMPTY_RESPONSE symfony2

I've been working on a web application with Symfony2 for the past 6 months on my local server through Xampp. After uploading it to our server something is acting really weird, and we can't seem to find a solution for the problem. After a lot of research on the internet I found that many problems are causing this error, so I started to try and debug my code. After a while I'm not so sure that my code is causing the error.

The error I get is the following:

Chrome:

No data received

ERR_EMPTY_RESPONSE

Unable to load the webpage because the server sent no data.

Firefox:

Dutch error which probably sais; The connection was reset

Safari:

Safari can't open the page "domain" because the server unexpectedly dropped the connection. This sometimes occurs when the server is busy. Wait for a few minutes, and then try again.

The odd thing is that sometimes the page loads, but then after a couple of refreshes or trying a different time the same page gives the error? So it maybe has something to do with caching? I already disabled APC through the .htaccess file.

Here are some things that might be usefull:

Working with PHP Version 5.4.41.

OS X Yosemite Version 10.10.2 (for what its worth)

Symfony 2

FOSUserbundle

FOSRoutingbundle

Ddeboerbundle

knplabsbundle

If you want I can upload my error log, but this doesn't seem to give any errors at all.

This is a discussion from earlier which said that changing the php version solved the problem. The problem might have been the sessions, but I tried the application with these sessions off and still got the error. We changed the php server to 5.4 on our local server but the application still worked. So I guess these are both not the problem.

Symfony 2: session_start causes ERR_EMPTY_RESPONSE

Does anyone have a solution for how to tackle this problem? Or maybe a suggestion on how to receive a more specific error? Because I'm killing my brain here.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 关于#hadoop#的问题
    • ¥15 (标签-Python|关键词-socket)
    • ¥15 keil里为什么main.c定义的函数在it.c调用不了
    • ¥50 切换TabTip键盘的输入法
    • ¥15 可否在不同线程中调用封装数据库操作的类
    • ¥15 微带串馈天线阵列每个阵元宽度计算
    • ¥15 keil的map文件中Image component sizes各项意思
    • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
    • ¥15 划分vlan后,链路不通了?
    • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据