phpapachecakephp-1.3

What would be the cause of server closing a connection before data was sent?


I have a cakephp (1.3.10) application that seemed to work fine, but recently I get an error page that shows "No data received" in chrome. This happens randomly on various pages and in various browsers. I googled the the error and found only unrelated information.

I haven't changed any code or upgraded the framework nor did we do any updates on the server that is running the application.

What could be the cause of this? Is this code related, if so where can I start looking to solve it in cakephp?

Any help will be greatly appreciated.


Solution

  • "No data received" could mean

    If you're using Apache, check out its error.log first. Chances are there is something enlightening in there.

    If that doesn't help, you could try logging your PHP errors into a file.