jta.aus Posted March 17, 2014 Share Posted March 17, 2014 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 0 Quote Link to comment Share on other sites More sharing options...
ADz83 Posted March 18, 2014 Share Posted March 18, 2014 Have you recently changed admin folder name, If so remember to also update cron. 0 Quote Link to comment Share on other sites More sharing options...
gohigher Posted March 18, 2014 Share Posted March 18, 2014 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 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted March 19, 2014 WHMCS Support Manager Share Posted March 19, 2014 Hi, Please start your troubleshooting at http://docs.whmcs.com/Invoicing_Issues 0 Quote Link to comment Share on other sites More sharing options...
gohigher Posted March 19, 2014 Share Posted March 19, 2014 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. 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.