ptoone Posted January 29, 2016 Share Posted January 29, 2016 I have noticed that dbconnect.php is no longer in the root directory in V6. I have another script putting a call out to this file and it only works if it there. When I move the old V5 dbconnect.php into the v6 whmcs it works okay. I know this is not the best practice and wondered if the file has been renamed or moved? - - - Updated - - - I really should search before I post. I keep answering my own questions: http://docs.whmcs.com/Version_6.0_Release_Notes#Removal_of_Dbconnect.php 0 Quote Link to comment Share on other sites More sharing options...
mbit Posted January 30, 2016 Share Posted January 30, 2016 That file is not needed since v5.2 Just include the init.php file and you're ready to go. More info: http://docs.whmcs.com/Version_6.0_Release_Notes#Removal_of_Dbconnect.php 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted January 31, 2016 Share Posted January 31, 2016 That's right it's been removed for a long time. If it's a custom page that's loading this file you need to use the updated custom page code from WHMCS which since loads the init.php file. 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.