Post
Topic
Board Micro Earnings
Re: Faucetbox Bitcoin Faucet Script - Open your own faucet
by
Salmen
on 12/06/2016, 15:18:19 UTC
from github

I figured out.

In index.php, the login part, change the following code:

Code:
$AddressCheck = $mysqli->query("SELECT * FROM faucet_user_list WHERE address = '$Address' LIMIT 1")->fetch_row()[0];

to

Code:
$AddressCheck = $mysqli->query("SELECT COUNT(id) FROM faucet_user_list WHERE address = '$Address' LIMIT 1")->fetch_row()[0];

This error caused duplicate entries, remove in the table 'user_list' the entries with the same bitcoin address.

In includes/session.php change the code with the new code from github: https://github.com/Salmen2/Faucetbox-Faucet/blob/master/includes/session.php

Cheers
Salmen