Author

Topic: bitcoind and jsonRPCClient on Ubuntu (Read 922 times)

hero member
Activity: 615
Merit: 500
December 22, 2013, 04:56:46 AM
#4
hey mate make sure you're password and use name are the same in you conf file and your login file. Think it should work then. I'm just assuming that's the probable. Let e know if not Smiley
Cheers
full member
Activity: 189
Merit: 100
जगत् िमत
December 21, 2013, 07:02:22 PM
#3
ok "walks off with tail between legs"... my bad might have been a password problem (blush)

I am also having same issue.
I am not able to access it via php.
You can check it here : http://162.243.208.132/bit.php
hero member
Activity: 615
Merit: 500
September 13, 2013, 05:40:32 AM
#2
ok "walks off with tail between legs"... my bad might have been a password problem (blush)
hero member
Activity: 615
Merit: 500
September 13, 2013, 05:28:33 AM
#1
Hi - I'm not sure if this is the right place to put this or not but I've got bitcoind installed on ubuntu and I'm trying to use it on a website via php using the jsonRPCClient.php download. I've got it all working great locally but live I just get a blank page. From terminal I can do:

Code:
bitcoind getinfo

And i get info so it's definitely running but from a web page I just get a blank, no errors nothing. I've checked the username and password (a few times now) and all seems good.

All the code is i'm running is:

Code:
$this->bitcoin = new jsonRPCClient('http://'.$this->bitcoin_user.':'.$this->bitcoin_password.'@127.0.0.1:8332/');
$test = $this->bitcoin->getinfo();

print_r ($test);

as i say this works great locally but not live. The blockchain hasn't quite finished downloading but I would have thought it would still give the info?

Any ideas would be amazing - thanks Smiley
Jump to: