Author

Topic: [SOLVED] Problem With Bitcoin Daemon and PHP - 0.5btc reward (Read 1326 times)

full member
Activity: 224
Merit: 100
Hi,

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.

SOLVED!

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:

Quote
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:

Code:
$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
Jump to: