Skip to content

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

Open

Description

@Tindalos

This appears on cron run. Any ideas?

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

Activity

  1. mikegogulski commented on Jan 4, 2012

    @mikegogulski
    Contributor

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

  2. Tindalos commented on Jan 4, 2012

    @Tindalos
    Author

    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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions