Jump to content

Invoices won't generate


ffeingol

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated