Show Posts
|
Pages: [1]
|
1
|
Economy / Micro Earnings / Re: [ANN] FaucetBOX.com - free API & faucet script, create your own crypto faucet
|
on: November 13, 2014, 12:13:55 PM
|
@NeedIfFindIt THANK YOU! for your help, but the tipps didnt worked for me So i changed in the FaucetBOX.php to public function __exec($method, $params = array()) { $params = array_merge($params, array("api_key" => $this->api_key, "currency" => $this->currency));
$ch = curl_init($this->api_base . $method); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = json_decode(curl_exec($ch), true); $this->last_status = $response['status']; curl_close($ch);
return $response; } Nothing happend: The plumber-curl.php already shows "SSL Cert Problem" and if i try claim on my faucet i get: Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /hp/ca/aa/gh/www/LandOfDogecoin/libs/faucetbox.php on line 32
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /hp/ca/aa/gh/www/LandOfDogecoin/libs/faucetbox.php on line 44 In the FaucetBOX admin Panel these message is shown: Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to support@faucetbox.com if you need help. also is protected $api_base = "https://faucetbox.com/api/v1/"; right?
|
|
|
3
|
Economy / Micro Earnings / Re: [ANN] FaucetBOX.com - free API & faucet script, create your own crypto faucet
|
on: November 13, 2014, 11:03:53 AM
|
PHP Version: 5.2.10 OPENSSL Version: OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 allow_url_fopen: Success DNS Response: 104.28.28.86
--- Trying FSOCKOPEN - HTTP --- Success
--- Trying FSOCKOPEN - HTTPS - IP method --- Success
--- Trying FSOCKOPEN - HTTPS - gethostbyname method --- Success
--- Trying FSOCKOPEN - HTTPS --- Success So is it right, that the errors are normal on OpenSSL 0.9.x with PHP 5.2? Is there a fix, to get it working?
|
|
|
4
|
Economy / Micro Earnings / Re: [ANN] FaucetBOX.com - free API & faucet script, create your own crypto faucet
|
on: November 12, 2014, 08:12:29 PM
|
I get these error messages: Notice: Undefined index: currency in /hp/ca/aa/gh/www/LandOfDogecoin/index.php on line 522 Warning: Invalid argument supplied for foreach() in /hp/ca/aa/gh/www/LandOfDogecoin/index.php on line 622 Warning: Invalid argument supplied for foreach() in /hp/ca/aa/gh/www/LandOfDogecoin/index.php on line 651 Thanks for your fast and nice support
|
|
|
5
|
Economy / Micro Earnings / Re: [ANN] FaucetBOX.com - free API & faucet script, create your own crypto faucet
|
on: November 12, 2014, 07:46:29 PM
|
I have the FaucetBOX Script for my site, but it doesn´t worked for me to change to this: public function __exec($method, $params = array()) { $params = array_merge($params, array("api_key" => $this->api_key, "currency" => $this->currency));
$ch = curl_init('https://104.28.29.86/api/v1/'); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Host: faucetbox.com')); //curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = json_decode(curl_exec($ch), true); $this->last_status = $response['status']; curl_close($ch);
return $response; } Any other IDEAS to solve the "Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to support@faucetbox.com if you need help." Also I see an Update Messsage on the top of the Admin Panel.
|
|
|
|