ADz83 Posted September 16, 2015 Share Posted September 16, 2015 Hopefully somebody can see what is wrong. I'm getting this error with the test option after installing a Coinbase module. As far as I can tell it's installed in correct folders and the coinbase.php is in the correct place as well and folder permissions seem fine. Server responded with: 200 Warning: include(../../../dbconnect.php): failed to open stream: No such file or directory in /home/grim/public_html/clients/modules/gateways/callback/coinbase.php on line 4 Warning: include(../../../dbconnect.php): failed to open stream: No such file or directory in /home/grim/public_html/clients/modules/gateways/callback/coinbase.php on line 4 Warning: include(): Failed opening '../../../dbconnect.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/grim/public_html/clients/modules/gateways/callback/coinbase.php on line 4 Fatal error: Class 'WHMCS\Invoice' not found in /home/grim/public_html/clients/includes/gatewayfunctions.php on line 0 Anybody have any ideas of what is causing it? TIA 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 16, 2015 Share Posted September 16, 2015 http://docs.whmcs.com/Version_6.0_Release_Notes#Removal_of_Dbconnect.php 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. you will likely need to find an updated, or alternative, version. 0 Quote Link to comment Share on other sites More sharing options...
ADz83 Posted September 16, 2015 Author Share Posted September 16, 2015 http://docs.whmcs.com/Version_6.0_Release_Notes#Removal_of_Dbconnect.php you will likely need to find an updated, or alternative, version. Ah I see, thankyou 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.