Today I have come across a lot of people having issues with the Domain Sync / domain expiry date syncing issue. So I'm putting this post up to hopefully help someone out there.
I'm using Version 6 of WHMCS
First of all go to:
SETUP > GENERAL SETTINGS > DOMAINS tab.
Make sure " Sync Next Due Date" is ENABLED
Make sure " Domain Sync Notify Only" is DISABLED.
- Edit your "domainsync.php.new" file (rename to domainsync.php) - This file is in your Crons folder
- If you moved your writable directory's (crons folder) to another directory than the WHMCS root folder you will need to update the "domainsync.php" file
Add or edit the WHMCS dir path "$whmcspath = '/home/YOUR DIRECTORY/';
Create Cron Job - php -q /home/YOUR DIRECTORY/crons/domainsync.php
Have your Crons Job going for each min to confirm this is working correctly then adjust to every 4 hours as recommended by WHMCS.
Hope this helps someone - Any dramas let me know