Post
Topic
Board Service Announcements
Re: Looking for a php developer to help with a error in an altcoin faucet.
by
Starin
on 15/06/2015, 21:01:55 UTC
Sorry had to go out earlier.

Quote
Line 82: simple_faucet.php: if (!mysqli_connect_error() && !is_null($this->balance = $this->rpc("getbalance")))

Else

Quote
Line 190: simple_faucet.php: $this->status = SF_STATUS_MYSQL_CONNECTION_FAILED;

So it basically checks your db settings and rpc getbalance, if one is wrong then return SF_STATUS_MYSQL_CONNECTION_FAILED

That isnt such a 'nice' way to do it.

Hmm, I guess I missed that part. Assuming it connects to the DB, I am pretty sure about my rpc config too since we run a profit calculator from that wallet too. Any possibility that the code is outdated to work on newer updates of qts, etc?