Bitcoin Forum
September 24, 2018, 01:01:01 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How to set up Piwallet PHP script?  (Read 1234 times)
chegmarco
Jr. Member
*
Offline Offline

Activity: 55
Merit: 10


View Profile
May 02, 2017, 12:24:49 PM
 #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.
1537750861
Hero Member
*
Offline Offline

Posts: 1537750861

View Profile Personal Message (Offline)

Ignore
1537750861
Reply with quote  #2

1537750861
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537750861
Hero Member
*
Offline Offline

Posts: 1537750861

View Profile Personal Message (Offline)

Ignore
1537750861
Reply with quote  #2

1537750861
Report to moderator
1537750861
Hero Member
*
Offline Offline

Posts: 1537750861

View Profile Personal Message (Offline)

Ignore
1537750861
Reply with quote  #2

1537750861
Report to moderator
mocacinno
Legendary
*
Offline Offline

Activity: 1344
Merit: 1198


http://www.mocacinno.com


View Profile WWW
May 02, 2017, 12:32:43 PM
 #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)

chegmarco
Jr. Member
*
Offline Offline

Activity: 55
Merit: 10


View Profile
May 02, 2017, 12:44:35 PM
 #3

But currently I do not have any money so how do I make this install in Local Host Huh
mocacinno
Legendary
*
Offline Offline

Activity: 1344
Merit: 1198


http://www.mocacinno.com


View Profile WWW
May 02, 2017, 12:48:31 PM
 #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://bitcointalk.org/index.php?topic=911212.0

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 <?php phpinfo(); ?>, 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?

chegmarco
Jr. Member
*
Offline Offline

Activity: 55
Merit: 10


View Profile
May 02, 2017, 04:30:44 PM
 #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://bitcointalk.org/index.php?topic=911212.0

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 <?php phpinfo(); ?>, 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#
fitbobcat
Full Member
***
Offline Offline

Activity: 217
Merit: 101


View Profile
July 29, 2017, 05: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.

16XxqtX2AcfRt8J4KGWLxQbs8CQVA1HaDW
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!