srokatonie Posted May 13, 2013 Share Posted May 13, 2013 Hey, I'm having problem with printing invoices by date - depends on date range it returns blank page instead of pdf file to be downloaded. I.e. 01/mar/2013 - 26/mar/2013 works fine but if I try 01 - 27 or futher it does not... Link to comment Share on other sites More sharing options...
Porpoise Posted May 14, 2013 Share Posted May 14, 2013 It may be a memory issue - depending on the number of PDFs it's trying to generate between those dates. Link to comment Share on other sites More sharing options...
srokatonie Posted May 21, 2013 Author Share Posted May 21, 2013 (edited) Hi! This is what I get from log: [Tue May 21 10:41:59 2013] [warn] [client 109.77.2.27] mod_fcgid: stderr: PHP Warning: array_merge(): Argument #2 is not an array in /var/www/clients/client1/web1/web/controllers/admin/AdminInvoicesController.php on line 266, referer: http://website.com/admin/index.php?controller=AdminInvoices&token=2a452c08c715c3410fef6979c492e118 [Tue May 21 10:41:59 2013] [warn] [client 109.77.2.27] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/clients/client1/web1/web/controllers/admin/AdminInvoicesController.php on line 266, referer: http://website.com/admin/index.php?controller=AdminInvoices&token=2a452c08c715c3410fef6979c492e118 [Tue May 21 10:42:35 2013] [warn] [client 109.77.2.27] mod_fcgid: stderr: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/clients/client1/web1/web/tools/tcpdf/tcpdf.php on line 21460, referer: http://website.com/admin/index.php?controller=AdminInvoices&token=2a452c08c715c3410fef6979c492e118 Edited May 21, 2013 by srokatonie (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts