Jump to content

Resellerclub cron broken after update to WHMCS 7.2.1


knipper

Recommended Posts

Hi,

 

I just updated from a very old version of WHMCS to 7.2.1 (and today to 7.2.2) my main cron jobs are working fine, but my resellerclub cron is sending an error with a connection problem. Below is the error:

 

Warning: main(/home/myaccount/public_html/clientarea/modules/registrars/resellerclub/../../../dbconnect.php): failed to open stream: No such file or directory in /home/myaccount/public_html/clientarea/modules/registrars/resellerclub/resellerclubsync.php on line 0

 

Fatal error: main(): Failed opening required '/home/myaccount/public_html/clientarea/modules/registrars/resellerclub/../../../dbconnect.php' (include_path='.:/opt/php56/lib/php') in /home/myaccount/public_html/clientarea/modules/registrars/resellerclub/resellerclubsync.php on line 0

 

I suspect it may be a simple cron entry error or something minor that changed from the old version I am just missing.

 

Any suggestions on this message? Thanks in advance!

Link to comment
Share on other sites

from the v5.1 Release Notes... (from 2012 - so it must be a very old version you were using!!)

 

New Domain Registrar Sync Cron - Until now, each registrar has had it's own sync file. But as of V5.1, the individual sync files are replaced by a single cron file (/crons/domainsync.php) which needs to be configured to run periodically - we recommend every 4 hours. All previous sync cron commands should be deleted/disabled.

and from v6, I can remember that dbconnect.php got removed and is no longer used.

 

http://docs.whmcs.com/Version_6.0_Release_Notes#Removal_of_Dbconnect.php

 

6.0 sees the removal of the dbconnect.php file from the root WHMCS directory. This file has been deprecated since WHMCS Version 5.2 and has remained only for backwards compatibility with older modules. As of 6.0 however, any scripts which still rely on including the dbconnect.php file to function will need to be updated to instead include the init.php file. When including the init.php file, it is not necessary to include any other WHMCS files.

welcome to 2017! :idea:

Link to comment
Share on other sites

Thanks for the reply and links Brian!

 

Long story... As you can tell I've been using WHMCS for a LONG time! Pretty sure I was still on 5.2 before the upgrade. I actually sold my hosting business in 2010, but kept one reseller server for my personal domains... and 2 long time clients who didn't want to move away from me. Of course one of them uses Resellerclub for their domains!

 

Looks like I may need to go thru the docs and set up a new cron!

 

If I have any difficulties or questions I'll pop back in. I think this is the first time I've used the forum for several years as well! Good to see it's still a strong community!

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.

×
×
  • 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