Bitcoin Forum
April 23, 2018, 02:38:55 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: [SOLVED] Problem With Bitcoin Daemon and PHP - 0.5btc reward  (Read 1240 times)
Full Member
Offline Offline

Activity: 224
Merit: 100

View Profile
September 07, 2011, 06:37:17 PM


Ive been creating sites using PHP and the daemon for the past couple of weeks. But keep running into the same problem on each site.


Turns out i had the wrong password! it was only in 1 part of my code so it broke when ever that was called before hand! ahh

I have the daemon running on a virtual machine, and the web server as WAMP.

I use the daemon with getbalance, move, sendtoaddress etc.

Occasionally, the daemon would randomly stop working.

For example:

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to .... in jsonRPCClient.php on line 140

The error would link back to this command:

$bitcoin->move("account", "user2", $jackpot, 1);

sometimes it would work, and other times the error. Usually the error happens on that particuar line of a file. and sometimes on a GetBlance command.

Its very tempremental so i have no idea whats causing it!

To the first person that comes up with a solution will get 0.5btc

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!