POST/Redirect throws a `Connection was reset` browser error

前端 未结 2 1705
鱼传尺愫
鱼传尺愫 2020-12-11 19:50

I\'m building a one-page checkout for a customer of ours. This checkout is supposed to contain all forms for credentials, shipment and payment. Editing previously entered va

2条回答
  •  清歌不尽
    2020-12-11 20:51

    "Connection was reset"

    Can sometimes mean a php crash. Without seeing the exact files it's hard to guess if and why this is happening.

    Make sure to check the error_log, type: php --info | grep error to see what file it's being logged to (if you are on linux/unix).

    My guess is a stray break; statement somewhere see this answer for a possible cause: https://stackoverflow.com/a/20036720/988324

    You would find some trace of this in your error logs though. If you can provide this I might be able to help more.

提交回复
热议问题