Jump to content

Invoices not being generated


jta.aus

Recommended Posts

I've been using WHMCS for a few years now, and this issue has only just started to occur.

 

I noticed a couple of days ago that no new invoices were being generated when the cron runs. This is strange - almost every day we see 20-30 invoices being generated.

 

I thought this might have been a one off, but I noticed it again today! Something is definitely wrong.

 

My WHMCS is setup to generate invoices 14 days in advance. I confirmed the issue by checking whether customers who placed orders on the 1st of March have invoices - they don't.

 

No errors are being generated in my Activity Log. I followed WHMCS' suggested debugging strategy by enabling PHP errors and display errors, however the cron page never actually loads - so I can't see an error. This is because the backup never actually completes - a problem I've had for a while, but I'm fairly sure is unrelated.

My max execution time is set to something ridiculous, like 2000 seconds, and I've set memory_limit to 512 M just to be safe.

 

Does anyone have any ideas how this can start occurring? I think the only thing we've done recently is update the CentOS VPS the site is hosted on.

 

For any staff that are looking at this, I have a ticket open - 033902

 

Thanks guys :)

Link to comment
Share on other sites

I am also experiencing this issue - I have a custom admin folder and must manually remember to run my cron (contradiction in terms I believe lol) or I don't get invoices generated / services suspended.

 

This only started happening since the upgrade to 5.3. The custom admin folder has been the same for four years.

 

I had a customer that this was happening with and recompiling Apache / PHP solved his issue, so I tried but no joy.

 

I suppose I'll be opening a ticket also :crushed:

Link to comment
Share on other sites

Thanks John - had I only just set up my cron / WHMCS this would have been helpful but it was working previously.

 

@jta.aus

I resolved this issue by using the full path to php - not sure what changed or why, but using the full path/to/php worked, as it must have been using another php version or php.ini file that wasn't permitting it to run properly.

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