Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught BitcoinClientException: [0]: Scheme must be http or https thrown in on line 0 #7

Open
Tindalos opened this issue Jan 4, 2012 · 2 comments
Labels

Comments

@Tindalos
Copy link

Tindalos commented Jan 4, 2012

This appears on cron run. Any ideas?

Drupal 6-x.x, with curl and both RPCs present.

@mikegogulski
Copy link
Collaborator

How are you invoking it? Doc for the constructor is at https://github.com/mikegogulski/bitcoin-php/blob/master/src/bitcoin.inc#L259

@Tindalos
Copy link
Author

Tindalos commented Jan 4, 2012

Solution found. As per here: http://groups.drupal.org/node/162454

the trick is to edit the file located @ [$DRUPAL_HOME]/sites/all/modules/uc_bitcoin/uc_bitcoin.module and change each of the lines that call ::

'include_once("bitcoin.inc");

and change it to the FULL-PATH to your bitcoin-php/bitcoin.inc file, on godaddy for me it is ::
'include_once("/home/content/XX/XXXXXX/html/sites/all/libraries/bitcoin-php/src/bitcoin.inc");

Now to deal with "Fatal error: Class 'BitcoinClient' not found in C:\foo\modules\uc_bitcoin\uc_bitcoin.module on line 251"

@artob artob added the bug label Aug 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants