FrontAccountingERP / FA

Official FrontAccounting mirror repository
95 stars 97 forks source link

Direct Invoice Ajax Post response cancelled after 10 seconds on large bills #12

Open M-Shahbaz opened 8 years ago

M-Shahbaz commented 8 years ago

Dear FrontAccounting, Thank you very much for this wonderful software. I already opened ticket: http://mantis.frontaccounting.com/view.php?id=3376

Currently we are facing issue when placing a direct invoice with large number of product items on FrontAccounting 2.3.24.

I enabled the debug option with 2 in config file but the error is not displaying just an exclamation indicator.

Apparently direct invoice generates successfully despite the error but page does not updates.

cancel ajax

js cancel

We have 500+ products listings and database size 30MB+.

I attached the screenshot when I was placing direct invoice with more than 40 products.

I configured php with set_time_limit(500) but error still occurs.

I look forward for your support at your earliest convenience.

Regards, M Shahbaz

M-Shahbaz commented 8 years ago

I set (max_input_vars) in php.ini in start of using this software to 10,000.

M-Shahbaz commented 8 years ago

This issue can be reproduced manually if:

sleep(10);

put first line in _sales/sales_orderentry.php