wpmattuk Posted December 31, 2017 Share Posted December 31, 2017 Hi all Relative newbie to WHMCS, but loving it so far! I've taken time to import all of the domains currently managed, associated them to clients, etc. I've manually added the original registration date and the expiry date - I'm now trying to get the Domain Sync cron job to validate I've got the expiry dates right and also update the Next Due Date (as per https://docs.whmcs.com/Domain_Synchronisation). My registrar's (Heart Internet) module supports the Domain Sync function. I've set up the cron job (currently to run every 5 minutes so that I can see things change real-time). However, no data has changed - Next Due Dates remain within the next 7 days, not as I've configured to be 7 days prior to the expiry date (Setup, General, Domains: Domain Sync enabled and Sync Next Due Date set to 7). What am I missing? Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted December 31, 2017 Share Posted December 31, 2017 Hey @thisismatt, Thanks for your post, please go to Setup > General Settings > Other > Display Errors & Log Errors Then once the cron has run head to Utilities > Logs > Activity Logs and check for any errors Link to comment Share on other sites More sharing options...
wpmattuk Posted December 31, 2017 Author Share Posted December 31, 2017 All done. No errors being reported - see attached. Dates remain as-is, i.e. today and not 7 days prior to expiry date. Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted December 31, 2017 Share Posted December 31, 2017 Are you getting a domain sync cron report in your email? Link to comment Share on other sites More sharing options...
wpmattuk Posted December 31, 2017 Author Share Posted December 31, 2017 Yes, they're always blank - in so much that they don't show any domains, etc (I'm not sure what it would show!)...! Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted December 31, 2017 Share Posted December 31, 2017 Ok, so that indicates the cron is indeed running but not pulling information back from Heart by the looks of it, just checking have you tried registering a domain or any similar commands since setting up? Link to comment Share on other sites More sharing options...
wpmattuk Posted December 31, 2017 Author Share Posted December 31, 2017 Haven't yet registered a domain, no. No real need to do so, but can do one to check if need be. Is there a way to check that the connection with Heart is working OK? Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted December 31, 2017 Share Posted December 31, 2017 The module supports updating nameservers, prehaps giving that a go, if you keep having issues please open a ticket for our team to dig into Link to comment Share on other sites More sharing options...
wpmattuk Posted January 1, 2018 Author Share Posted January 1, 2018 Sorry for asking what may be a simple question; how would I do that @WHMCS ChrisD? Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted January 1, 2018 Share Posted January 1, 2018 @thisismatt pop into a domain, click the Change NameServers button Link to comment Share on other sites More sharing options...
wpmattuk Posted January 2, 2018 Author Share Posted January 2, 2018 I can't see said button sorry @WHMCS ChrisD Link to comment Share on other sites More sharing options...
wpmattuk Posted January 2, 2018 Author Share Posted January 2, 2018 Ok, making progress here! I've added another domain which is with another registrar, and that has updated perfectly fine. It seems that my host is currently either blocking port 700, or hasn't whitelisted the registrar - hence the script failing. I'll update this once the above have been rectified and I'll (hopefully) confirm that all is well Link to comment Share on other sites More sharing options...
wpmattuk Posted January 2, 2018 Author Share Posted January 2, 2018 Right, solved it! The host where WHMCS is installed needed to whitelist the registrars API server. All done - it now works. HOWEVER, the Heart module states that nameserver updating is supported in the Sync - yet I don't see the button appear for a domain associated with Heart (others appear for another domain registered elsewhere). See screengrabs. Any ideas? Link to comment Share on other sites More sharing options...
wpmattuk Posted January 5, 2018 Author Share Posted January 5, 2018 Any ideas? Anyone? Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted January 5, 2018 Share Posted January 5, 2018 Hey @thisismatt Its possible the module only allows this from the client area, do you have a domain you can log into the client area with and test changing the name servers? Link to comment Share on other sites More sharing options...
Recommended Posts