hello all,
I am attempting to get uc_bitcoin to work with drupal (6.20 -- havent fully updated to 6.22 just yet). I have configured ubercart just as specified @ https://github.com/mikegogulski/uc_bitcoin - yet I get an error everytime cron runs =>
warning: include_once(bitcoin.inc) [function.include-once]: failed to open stream: No such file or directory in [...]/html/sites/all/modules/uc_bitcoin/uc_bitcoin.module on line 250.
warning: include_once() [function.include]: Failed opening 'bitcoin.inc' for inclusion (include_path='.:/usr/local/php5/lib/php') in [...]/html/sites/all/modules/uc_bitcoin/uc_bitcoin.module on line 250.
at line 250, there is an include_once("bitcoin.inc"); line. so my question is where is the bitcoin.inc file?! that seems to be the root issue. I tried to put the bitcoin.inc file from https://github.com/mikegogulski/bitcoin-php but get an Exception error. I just cant seem to get this to work due to the bitcoin.inc file is not there... does anyone have this working with drupal6? any help/suggestions are welcome,
thanks much!
Comments
works now!
ok, here is how I fixed it (the last piece of the puzzle provided by the kind person who runs iusecoins.com, I <3 u man!) ::
'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");
good 2 go. works 4 me!
New error
Very effective advice, agentdcooper!
Though I'm now getting "Fatal error: Class 'BitcoinClient' not found in [foo]\modules\uc_bitcoin\uc_bitcoin.module on line 251"
Any ideas?
check the latest releases
check the latest releases from the uc_bitcoin project page
http://dgtlmoon.com