Search code examples
javascripthtmlapachephpphpbb

website cannot connect after pressing submit on post in phpbb


Around 1 out of 5 times when I write a post in phpbb then press submit it will give a server error with the following -

The connection was reset. The connection to the server was reset while the page was loading.

Does anyone know what might be the likely cause of this? I'm not sure if it's an inadequate php.ini setting or if it's one of the many javascripts interfering with the phpBB submit, or ?


Solution

  • Technically, it means the server sent a TCP "reset" packet, which basically means "this connection can't be completed for some reason, so I'm killing it".

    In my experience, that error usually means something went seriously wrong in the guts of the server. Maybe some daemon crashed... you'd have to check the server logs.

    Perhaps it's simply overloaded, sometimes forums can require expensive hardware and they rarely have the budget for it.

    Or it could be a bug in PHP or Apache.

    It probably isn't a bug in the PhpBB code itself, but that's always possible. Only way to find out is to step through every line of code and see where it blows up.