Large invoices stall out in browser

When creating itemized invoices, when I add a 10th row (or so) and click save, I get a Gears of Doom and eventual message “It seems that the application stuck because of an error.” After reloading the page, the item is actually there. It happens on our local install, but I can duplicate this on demo.invoiceplane.com.

Firefox developer tools shows the POST getting a 502 (Bad Gateway) but my Apache logs only show a 200 response going out. Is anyone able to duplicate this?

Which version are you using? no error on 1.4.3

I am using 1.4.3. Are you able to replicate the issue on the demo site?

Not sure if this might be the same problem as mine but when i had the same issue on a CentOS 6 x64 i increased the memory_limit and max_execution_time higher and it worked …

Unfortunately, bumping memory_limit and max_execution_time to 1G and 60s didn’t fix anything. I suspect the javascript frontend is timing out too quickly for some of the longer running queries. Aside from changing the queries to run faster, probably there’s a timeout that can be bumped, or made into a runtime configurable?

Hi I too have the same problem ??? And increasing memory_limit and max_execution_time the situation does not change??? Over the line no.4 the application crashes … records the data but crashes???

The version is 1.4.4