ffeingol Posted June 27, 2009 Share Posted June 27, 2009 We recently upgraded to 4.x. I'm trying to manually run invoices but it keeps failing. I have WHMCS setup to display errors and it's running out of memory (PHP error that memory is exhausted). WHMCS runs on a dedicated server with 2 GB of memory so I bumped PHP memory up to 256 MB (yes, I restarted Apache). I re-ran the invoice process and it just ran longer before erroring out. No additional invoices were generated. I have a support ticket open but I figured it can't hurt to see if anyone else has run into this issue. From the error message I'd say that things are blowing up in the PDF invoice generation. We do have a fairly complicated PDF template but it works fine generating on new orders/upgrades etc. TIA 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 28, 2009 Share Posted June 28, 2009 WHMCS still uses tcpdf V3.1 There were memory fixes for tcpdf in V4.5, V4.5.016, and V4.5.018 I have also recently contacted Matt about this and I believe that it will be updated in the next release. 0 Quote Link to comment Share on other sites More sharing options...
ffeingol Posted June 28, 2009 Author Share Posted June 28, 2009 Well a patch sounds great, but we need a short term fix so we can get invoices out ;-) 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 28, 2009 Share Posted June 28, 2009 I had done an upgrade for tcpdf to the latest version as a couple of people with my custom pdf invoice were having the out of memory problem also. Nothing to do with the custom template I should add. From the reports back from those customers the tcpdf upgrade fixed all of their memory problems. @ffeingol - contact me via a ticket and I'll give you a link to the upgrade that I did for you to test. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.