Author

Topic: How to set up Piwallet PHP script? (Read 1351 times)

full member
Activity: 218
Merit: 101
July 29, 2017, 12:52:16 AM
#6
Hello everyone.
 I'm trying to put a Bitcoin Wallet in place with the PiWallet Script I discovered on Google: https://github.com/johnathanmartin/piWallet
 The problem is that after installing the Daemon (Bitcoind), I tried it if the Daemon works by typing the command: bitcoin-cli getinfo. And it works very well.
 But after installing Apache2, PHP7 and MySQL + PhpMyAdmin under my Linux Ubuntu 16.04 LTS distribution, I run the Piwallet Script in my Firefox "http://localhost/piwallet" and installed it in the /var/www/html directory.

But when I enter the correct User Name and Password, it sends me to a totally blank page.
 So, I wonder where is the error ?
Why does not the Piwallet script work at home ?

Someone can quickly download and install this Script to see if it works at home and inform me so that I know if the problem is common (at the level of the Script) or if it is on my side that it there is a problem ?

Download Link: https://github.com/johnathanmartin/piWallet
Link for installation instructions: https://github.com/johnathanmartin/piWallet/wiki

Thank you for trying and explaining if you also encounter problems on the installation and use of PHP-based script of course.

If you want to, i can try to install this script on your hosting... Seems pretty straightforeward. However, i will not try to install the script on my own server...

https://github.com/johnathanmartin/piWallet/issues/24

Seems like somebody found a way to steal funds from sites running this code, so i wouldn't touch it with a ten foot pole.

My default price for such tasks at this moment is $35/hour in BTC, payed upfront (escrow accepted)

The user provided no details in relations to that and was unresponsive, he probably just didn't follow the instructions and failed to change the default password.
jr. member
Activity: 56
Merit: 10
May 02, 2017, 11:30:44 AM
#5
But currently I do not have any money so how do I make this install in Local Host Huh

It seems like the dev of this script has his own thread on bitcointalk:
https://bitcointalksearch.org/topic/ann-piwallet-opensource-online-altcoin-wallet-911212

That being said, your test to run "bitcoin-cli getinfo" can tell you that bitcoind is running and sync'ed, however, it does not guarantee your json-rpc server is setup correctly... did you setup bitcoin.conf correctly to listen to the correct ip, allow this ip, correct rpc user and rpc password?

Did you try your LAMP setup? Tried , tried creating a database + table with some test info and queried this table?

The howto looks pretty straightforeward, but if you do not have sufficient experience setting up LAMP environments, or a bitcoind json-rpc server there are literally dozens of things that could have gone wrong... It's going to be pretty hard to trouble shoot this problem.

Can you start by testing out your LAMP setup, posting your bitcoin.conf file (edit out your password) and post apache's error.log?

Thank you dear friend mocacinno, Already, I publish you the information concerning the files bitcoin.conf below:

daemon=1
server=1
rpcuser=cheg
rpcpassword=chegadmin


So, do you think the error can come from the bitcoin.conf file?
Do I still need to add IP address to the configuration above. If so, what IP address should I put and how to configure it?

My connection settings for IP address when I type the command: "ifconfig" are just below:

root@seclinux-HP-15-Notebook-PC:/home/seclinux# ifconfig
eno1      Link encap:Ethernet  HWaddr 38:63:bb:8d:08:b6 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)

lo        Link encap:Boucle locale 
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          Packets reçus:8294 erreurs:0 :0 overruns:0 frame:0
          TX packets:8294 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1
          Octets reçus:3533394 (3.5 MB) Octets transmis:3533394 (3.5 MB)

wlo1      Link encap:Ethernet  HWaddr 10:08:b1:65:14:c7 
          inet adr:192.168.137.223  Bcast:192.168.137.255  Masque:255.255.255.0
          adr inet6: fe80::123e:e43b:2b6f:3e55/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:478298 erreurs:0 :0 overruns:0 frame:0
          TX packets:294634 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          Octets reçus:672630664 (672.6 MB) Octets transmis:29453092 (29.4 MB)

root@seclinux-HP-15-Notebook-PC:/home/seclinux#
legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
May 02, 2017, 07:48:31 AM
#4
But currently I do not have any money so how do I make this install in Local Host Huh

It seems like the dev of this script has his own thread on bitcointalk:
https://bitcointalksearch.org/topic/ann-piwallet-opensource-online-altcoin-wallet-911212

That being said, your test to run "bitcoin-cli getinfo" can tell you that bitcoind is running and sync'ed, however, it does not guarantee your json-rpc server is setup correctly... did you setup bitcoin.conf correctly to listen to the correct ip, allow this ip, correct rpc user and rpc password?

Did you try your LAMP setup? Tried , tried creating a database + table with some test info and queried this table?

The howto looks pretty straightforeward, but if you do not have sufficient experience setting up LAMP environments, or a bitcoind json-rpc server there are literally dozens of things that could have gone wrong... It's going to be pretty hard to trouble shoot this problem.

Can you start by testing out your LAMP setup, posting your bitcoin.conf file (edit out your password) and post apache's error.log?
jr. member
Activity: 56
Merit: 10
May 02, 2017, 07:44:35 AM
#3
But currently I do not have any money so how do I make this install in Local Host Huh
legendary
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
May 02, 2017, 07:32:43 AM
#2
Hello everyone.
 I'm trying to put a Bitcoin Wallet in place with the PiWallet Script I discovered on Google: https://github.com/johnathanmartin/piWallet
 The problem is that after installing the Daemon (Bitcoind), I tried it if the Daemon works by typing the command: bitcoin-cli getinfo. And it works very well.
 But after installing Apache2, PHP7 and MySQL + PhpMyAdmin under my Linux Ubuntu 16.04 LTS distribution, I run the Piwallet Script in my Firefox "http://localhost/piwallet" and installed it in the /var/www/html directory.

But when I enter the correct User Name and Password, it sends me to a totally blank page.
 So, I wonder where is the error ?
Why does not the Piwallet script work at home ?

Someone can quickly download and install this Script to see if it works at home and inform me so that I know if the problem is common (at the level of the Script) or if it is on my side that it there is a problem ?

Download Link: https://github.com/johnathanmartin/piWallet
Link for installation instructions: https://github.com/johnathanmartin/piWallet/wiki

Thank you for trying and explaining if you also encounter problems on the installation and use of PHP-based script of course.

If you want to, i can try to install this script on your hosting... Seems pretty straightforeward. However, i will not try to install the script on my own server...

https://github.com/johnathanmartin/piWallet/issues/24

Seems like somebody found a way to steal funds from sites running this code, so i wouldn't touch it with a ten foot pole.

My default price for such tasks at this moment is $35/hour in BTC, payed upfront (escrow accepted)
jr. member
Activity: 56
Merit: 10
May 02, 2017, 07:24:49 AM
#1
Hello everyone.
 I'm trying to put a Bitcoin Wallet in place with the PiWallet Script I discovered on Google: https://github.com/johnathanmartin/piWallet
 The problem is that after installing the Daemon (Bitcoind), I tried it if the Daemon works by typing the command: bitcoin-cli getinfo. And it works very well.
 But after installing Apache2, PHP7 and MySQL + PhpMyAdmin under my Linux Ubuntu 16.04 LTS distribution, I run the Piwallet Script in my Firefox "http://localhost/piwallet" and installed it in the /var/www/html directory.

But when I enter the correct User Name and Password, it sends me to a totally blank page.
 So, I wonder where is the error ?
Why does not the Piwallet script work at home ?

Someone can quickly download and install this Script to see if it works at home and inform me so that I know if the problem is common (at the level of the Script) or if it is on my side that it there is a problem ?

Download Link: https://github.com/johnathanmartin/piWallet
Link for installation instructions: https://github.com/johnathanmartin/piWallet/wiki

Thank you for trying and explaining if you also encounter problems on the installation and use of PHP-based script of course.
Jump to: