Bitcoin Forum
November 12, 2024, 12:39:51 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: RPC error problems. .01btc bounty for guaranteed fix.  (Read 587 times)
lmfsthefounder (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
January 09, 2014, 01:08:54 AM
 #1

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:
<?php require_once 'jsonRPCClient.php';
 
  
$coinye = new jsonRPCClient('http://user:pass@66.227.203.224:41337/');
  echo 
"<pre>\n";
  
print_r($coinye->listaccounts());
  
print_r($btc->getinfo());

  echo 
"</pre>";
  
  
?>

name/pass changed here for security

Any takers on this?
lmfsthefounder (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
January 09, 2014, 01:30:06 AM
 #2

free enterprise system fail
Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
January 09, 2014, 08:44:20 AM
 #3

Did you try this suggestion of mine:

https://bitcointalk.org/index.php?topic=405812.msg4403359#msg4403359
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
January 09, 2014, 02:00:56 PM
 #4

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://bitcointalk.org/index.php?topic=158471.0
lmfsthefounder (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile
January 09, 2014, 11:11:08 PM
 #5

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/
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!