Jump to content

Callback URL Test Error


ADz83

Recommended Posts

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

Link to comment
Share on other sites

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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