Post
Topic
Board Service Announcements
Re: Looking for a php developer to help with a error in an altcoin faucet.
by
GWGoods
on 15/06/2015, 19:48:21 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.