Jump to content

Monthly Invoices Not Generating


Recommended Posts

Hi Everyone,

It appears every time I upgrade it messes with my monthly invoices going out. I don't know until it's to late or a customer contacts me which is starting to look very unprofessional. Is anyone else getting the same issue? I have the latest version installed, the cron status says it's working correctly and I get update notifications but stopped generating monthly invoices?

 

Thanks

 

Bossmanuk

Link to comment
Share on other sites

Hi Arjanvr,

Have you managed to resolve it? I was asked by support to check the cron path but is all fine and nothing has changed apart from the core program update? Have you run php -q /path/to/your/crons/cron.php all --force debug within ssh? You'll want to be sure to replace the /path/to/your/crons/cron.php bit with the actual path to your cron.php file.

 

Thanks

 

Bossmanuk

Link to comment
Share on other sites

Well in automation settings in WHMCS it says it's setup correctly

 

*/5 * * * * php -q /home/********/public_html/clients/whmcs/crons/cron.php

 

Cron Status Ok

Last Run: 04/12/2016 07:17

 

So it seems to be running so why is it not sending out incouices?

 

No i did not run the --force command. Was it already solved for you?

Link to comment
Share on other sites

Hi Guys,

 

Each time the cron runs you should get an email to show what has been executed this will go to which ever email you have specified under your cPanel Cron Configuration, check that email account around the time you have the daily cron scheduled to run under Setup -> Automation Settings and see what shows in there.

Link to comment
Share on other sites

Hi there,

 

I have the same issue. In cpanel /home/username/crons I see a file error_log in which I see:

[07-Dec-2016 22:00:01 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/username/public_html/whmcs/init.php on line 0

 

I have asked the hosting provider and they says that ini_set is activated.

 

How can this be solved?

 

thank you

Link to comment
Share on other sites

Each time the cron runs you should get an email to show what has been executed this will go to which ever email you have specified under your cPanel Cron Configuration, check that email account around the time you have the daily cron scheduled to run under Setup -> Automation Settings and see what shows in there.

I seem to recall that with the shift to running the cron every 5 minutes in WHMCS, we were told to suppress that email by sending it to dev/null? The emails would only come from WHMCS itself, which will not send if it fails to run.

Link to comment
Share on other sites

I seem to recall that with the shift to running the cron every 5 minutes in WHMCS, we were told to suppress that email by sending it to dev/null? The emails would only come from WHMCS itself, which will not send if it fails to run.

 

V7.1 reduces these notifications so you be able to remove /dev/null and not get hammered with the emails :)

Link to comment
Share on other sites

I am now noticing this email i got.. what can cause this? And can this also be the issue for the primairy issue?

The email address for the cronjob is setup correctly though

 

The cron has run within the last 24 hours.

To force the cron to run all operations immediately, please invoke with the following arguments "all --force".

Perform WHMCS Update Check

Check for Updates Failed: Unable to connect to the WHMCS Update Server. Please try again later or contact support.

Link to comment
Share on other sites

Check for Updates Failed: Unable to connect to the WHMCS Update Server. Please try again later or contact support.

That error indicates your server was not able to reach the WHMCS update server.

 

Check in WHMCS yourwhmcsinstall.com/admin/systemhealthandupdates.php for some help on this perhaps.

Link to comment
Share on other sites

Well one of the messages is this but in WHMCS it says it has run..

 

 

"System Cron Tasks

 

The system cron does not appear to have completed successfully within the last 24 hours. Check your activity logs or learn more about enabling the cron in our documentation."

 

What cron should i check for or create that runs the invoices being generated?

Edited by arjanvr
Link to comment
Share on other sites

Whenever i try to upgrade from utilities -> update whmcs - check for updates it also says it cannot connect to the update server. What can be causing this as i might also be the origin of the main issue?

Your server is not able to communicate with the update server in this case. Maybe check with your host? Also check the page /admin/systemhealthandupdates.php on your install for any obvious issues with your hosting setup

Link to comment
Share on other sites

This is in warnings and seems to be the only thing anyway related.

 

"Automatic Update Requirements

 

Automatic Updates require the allow_url_fopen setting to be enabled in your PHP configuration.

Automatic Updates require a writeable directory for staging files during an update. You must provide a directory via the Updater Configuration before you can update."

 

But manual checking also fails. Where is the update server located so i know where to ping to?

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