Bitcoin Forum
December 07, 2016, 06:42:57 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED] Problem With Bitcoin Daemon and PHP - 0.5btc reward  (Read 1143 times)
joeyjoe
Full Member
***
Offline Offline

Activity: 224


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

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

Bitcoin PHP programmer for hire! (HTML / CSS / JQuery / AJAX / .NET).
Pages: [1]
  Print  
 
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!