Bitcoin Forum
May 24, 2024, 07:28:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED] Problem With Bitcoin Daemon and PHP - 0.5btc reward  (Read 1326 times)
joeyjoe (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100


View Profile
September 07, 2011, 06:37:17 PM
Last edit: September 07, 2011, 06:51:55 PM by joeyjoe
 #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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!