Author

Topic: RPC error problems. .01btc bounty for guaranteed fix. (Read 581 times)

full member
Activity: 182
Merit: 100
Ended up being a server issue; does not work on godaddy OR on liquid web servers. I hosted it myself using IIS/PHP5 on my personal computer, now it works;

See:

http://functofx.com/
legendary
Activity: 1512
Merit: 1032
implementations I've seen use this method for authentication:

$bitcoin = new jsonRPCClient('http://localhost:18332', 'user1', 'password1');

Try the php from the last post also if you have no luck with that jsonRPCClient that you have found somewhere:

https://bitcointalksearch.org/topic/bitcoinqt-rpc-php-script-not-connecting-exception-incorrect-response-id-158471
legendary
Activity: 3612
Merit: 1564
Did you try this suggestion of mine:

https://bitcointalksearch.org/topic/m.4403359
full member
Activity: 182
Merit: 100
free enterprise system fail
full member
Activity: 182
Merit: 100
Error I am having:

Fatal error:  Uncaught exception 'Exception' with message 'Incorrect response id (request id: 1, response id: )' in /home/content/61/11420661/html/massivetest/jsonRPCClient.php:144


see full error where I am using it:
http://nobanchan.com/massivetest/index.php

Code I am trying to use:

Code:
require_once 'jsonRPCClient.php';
 
  
$coinye = new jsonRPCClient('http://user:[email protected]:41337/');
  echo 
"
\n";
  
print_r($coinye->listaccounts());
  
print_r($btc->getinfo());

  echo 
"
"
;
  
  
?>

name/pass changed here for security

Any takers on this?
Jump to: