ragi
|
|
June 24, 2016, 03:19:52 PM |
|
We lowered our fees to the level of cryptocurrency network fees. Check it out below! The fee for bitcoin deposits is now 1%. Thanks Kaz!
|
no.
|
|
|
NeedIfFindIt
|
|
June 24, 2016, 03:21:18 PM |
|
Hello. I'm having a problem with my faucet, It's new and ready to go , but testing has revealed a problem with the actual faucet script itself . Or at least my implementation of it. When I attempt to use the faucet as a user, The attempt fails, The page appears to reload , but instead of presenting me with the "x satoshis was sent to your address" message it reverts back to the original page and no payment goes through . Interestingly , after Kazuldur suggested that i turn on error display in my config.php file ,The faucet mechanism began to operate properly , a payment was sent successfully to my faucetbox account on a test, but 3 errors print to top of the page and an error log appears in my Public_html directory ...as follows: [23-Jun-2016 09:08:51 UTC] PHP Notice: Undefined index: ip_check_server in/ ####/######/public_html/index.php on line 1570 [23-Jun-2016 09:08:51 UTC] PHP Notice: Undefined index: ip_check_server in /####/######/public_html/index.php on line 1586 [23-Jun-2016 09:08:51 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /#####/#######/public_html/index.php:1570) in /home/#######/public_html/index.php on line 1620 When I turn off the error display parameter in config.php ...the faucet stops working again???!!! I know very little about coding , but I've tried to identify the problems . I think i've located the correct lines of code and it looks to me that something is not right with the retrieval of the NastyHosts.com list. I'm not sure what the header warning is all about though . I've requested help from the faucetbos guru's , but they seem a little busy at the moment ...can anyone else offer a suggestion on what I might do to rectify this fault? I'm very much a novice when it comes to coding so you'll need to be pretty specific ...sorry I've seen this many times. When you try to claim the first time it just reloads the main faucet page. But the second try works. I'm not sure this is your case. I always thought it is a bug in a custom change to the FB script since I'm unable to reproduce myself using the original script. Have you made any custom changes to the script? The notices are not really an error. And the warning is caused because you spit text (the notice error messages) before the headers (session start etc.).
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
June 24, 2016, 03:25:09 PM |
|
Hello. I'm having a problem with my faucet, It's new and ready to go , but testing has revealed a problem with the actual faucet script itself . Or at least my implementation of it. When I attempt to use the faucet as a user, The attempt fails, The page appears to reload , but instead of presenting me with the "x satoshis was sent to your address" message it reverts back to the original page and no payment goes through . Interestingly , after Kazuldur suggested that i turn on error display in my config.php file ,The faucet mechanism began to operate properly , a payment was sent successfully to my faucetbox account on a test, but 3 errors print to top of the page and an error log appears in my Public_html directory ...as follows: [23-Jun-2016 09:08:51 UTC] PHP Notice: Undefined index: ip_check_server in/ ####/######/public_html/index.php on line 1570 [23-Jun-2016 09:08:51 UTC] PHP Notice: Undefined index: ip_check_server in /####/######/public_html/index.php on line 1586 [23-Jun-2016 09:08:51 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /#####/#######/public_html/index.php:1570) in /home/#######/public_html/index.php on line 1620 When I turn off the error display parameter in config.php ...the faucet stops working again???!!! I know very little about coding , but I've tried to identify the problems . I think i've located the correct lines of code and it looks to me that something is not right with the retrieval of the NastyHosts.com list. I'm not sure what the header warning is all about though . I've requested help from the faucetbos guru's , but they seem a little busy at the moment ...can anyone else offer a suggestion on what I might do to rectify this fault? I'm very much a novice when it comes to coding so you'll need to be pretty specific ...sorry I'm sorry, somehow I've lost your message. I get waaay too many PMs... So... I have no idea what's going on. Don't mind the "Cannot modify header information" error, it's just the result of these two errors before that. Now, these two errors shouldn't happen. It's not even a problem with "retrieval of the NastyHosts.com list", it's a problem with even checking if NastyHosts.com is enabled. And it shouldn't cause a payment to fail... The only way I can see for them to happen is corrupted database. $display_errors = true; fixing the faucet is even more bizzare. I'll go through the code again later today and try to find a cause. For now however - as much as I hate to propose such a blunt "solution" - have you tried wiping your database clean and reinstalling the script?
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
getrichquack
Member
Offline
Activity: 162
Merit: 10
Need money
|
|
June 24, 2016, 03:53:43 PM |
|
I'll go through the code again later today and try to find a cause. For now however - as much as I hate to propose such a blunt "solution" - have you tried wiping your database clean and reinstalling the script?
I Have considered. Thought I could update to 64 at the same time if i decided to do it, but I'll have to redo a lot of tweaks I've done ...Its doable ...just a bit of a "head F%$%^", ya know? ...yeah you know ...lol look i might go ahead and do it. Whats impressed me most about you and you're team is that you always sem to have an immediate answer to most problems . If this has you stumped , it must be something really weird ... I gather if i save my existing Config.php and my "template/index.php and reload on completion all should work again yeah?...all things being equal. I'll do this and let you know..asap.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
June 24, 2016, 03:56:29 PM |
|
I'll go through the code again later today and try to find a cause. For now however - as much as I hate to propose such a blunt "solution" - have you tried wiping your database clean and reinstalling the script?
I Have considered. Thought I could update to 64 at the same time if i decided to do it, but I'll have to redo a lot of tweaks I've done ...Its doable ...just a bit of a "head F%$%^", ya know? ...yeah you know ...lol look i might go ahead and do it. Whats impressed me most about you and you're team is that you always sem to have an immediate answer to most problems . If this has you stumped , it must be something really weird ... I gather if i save my existing Config.php and my "template/index.php and reload on completion all should work again yeah?...all things being equal. I'll do this and let you know..asap. Yea, just restoring your config.php and template's index.php should be enough, they're compatible with r64. However, just to be sure, make backup of everything, all files and database.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Ethey
Member
Offline
Activity: 112
Merit: 10
|
|
June 24, 2016, 03:57:27 PM |
|
I really liked the Faucetbox at the Beginning. It paid out to 3000k via faucet and now u can simply gain 100 satoshis Thats not nice do do the work by yourself. i recognize better faucets they paying better rewards like freebitcoin.
|
|
|
|
getrichquack
Member
Offline
Activity: 162
Merit: 10
Need money
|
|
June 24, 2016, 05:45:51 PM |
|
Yea, just restoring your config.php and template's index.php should be enough, they're compatible with r64. However, just to be sure, make backup of everything, all files and database. ok have struck a problem In my (your) original script (r63) i added several lines to the main index.php file, that supplied additional antibot mechanisms. This involved inserting a block of code directly after this line $data[‘captcha_info’] = $captcha; However that line does not appear to exist in r64. Can you suggest somewhere I might stick it ( watch it !!...lol) in the r64 file?
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
June 24, 2016, 05:47:51 PM |
|
$data[‘captcha_info’] = $captcha;
However that line does not appear to exist in r64. Can you suggest somewhere I might stick it ( watch it !!...lol) in the r64 file?
It does, it's line 237 in main index.php file.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
getrichquack
Member
Offline
Activity: 162
Merit: 10
Need money
|
|
June 24, 2016, 05:52:50 PM |
|
oops sorry ...yes found it ...
|
|
|
|
getrichquack
Member
Offline
Activity: 162
Merit: 10
Need money
|
|
June 24, 2016, 06:08:31 PM |
|
WOO HOO!!! YEAH BABY ...all working!!! Love your work Kazuldur...you da man !!! thanks very much for your time .. Please put my site on your Faucet list ASAP
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
June 25, 2016, 02:13:42 PM |
|
1G5Qm8Epq2cbFCkkaAfg4Qe2K4sWoXcjEE 6HUC why..?
6HUC means that transaction was sent to you, but didn't get confirmed for more than 6 hours. There were no transactions sent to you yet (it can take up to 48 hours), so I don't see any problem here.
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
datalore
|
|
June 26, 2016, 05:21:22 PM |
|
1G5Qm8Epq2cbFCkkaAfg4Qe2K4sWoXcjEE 6HUC why..?
6HUC means that transaction was sent to you, but didn't get confirmed for more than 6 hours. There were no transactions sent to you yet (it can take up to 48 hours), so I don't see any problem here. Saint Petersburg, Saint Petersburg City arrived I am suffering constant attacks from this city (Saint Petersburg). How do I block the access of this town? I can only block the access of Russia whole. But I would like to block only this city.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
June 26, 2016, 05:26:38 PM |
|
Saint Petersburg, Saint Petersburg City arrived
I am suffering constant attacks from this city (Saint Petersburg). How do I block the access of this town? I can only block the access of Russia whole. But I would like to block only this city.
You can't really block access just from one town and I think that's not what you really want to do. How do you know it's Saint Petersburg? Maybe you just should ban one specific network or AS that's attacking you?
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
minifrij
Legendary
Offline
Activity: 2324
Merit: 1267
In Memory of Zepher
|
|
June 26, 2016, 05:49:33 PM |
|
You can't really block access just from one town and I think that's not what you really want to do.
If you really did want to though, you could add something like this to block the town in your scripts/common.php file at line ~320. Keep in mind that this isn't a very good solution at all. $geoIP = json_decode(file_get_contents('http://freegeoip.net/json/' . getIP()));
if($geoIP->country_code == 'RU' && $geoIP->region_code == 'SPE'){ die("You're not allowed here"); }
This code gets the contents from http://freegeoip.net/json/USERSIP as a JSON object, then gets both the country and region codes and checks if they are in Russia and St-Petersburg. If they are, it kills the script and says "You're not allowed here".
|
|
|
|
Swagtoshi
|
|
June 27, 2016, 01:52:00 PM |
|
Do any of you know the variable that stores the rewards amount? i want to make an animations based on the reward size when they receive their satoshi's.
|
|
|
|
Kazuldur (OP)
Legendary
Offline
Activity: 971
Merit: 1000
|
|
June 27, 2016, 02:13:37 PM |
|
Do any of you know the variable that stores the rewards amount? i want to make an animations based on the reward size when they receive their satoshi's.
You can extract it from $data["paid"].
|
Unless stated otherwise, all opinions are of my own, not FaucetBOX.com's.
|
|
|
Swagtoshi
|
|
June 27, 2016, 02:35:41 PM |
|
Tried it but it has other stuff like the div and the text. Is there any variable that stores only the reward?
|
|
|
|
minifrij
Legendary
Offline
Activity: 2324
Merit: 1267
In Memory of Zepher
|
|
June 27, 2016, 02:52:55 PM |
|
Tried it but it has other stuff like the div and the text. Is there any variable that stores only the reward?
If you add this line of code to index.php at line 323: $data['rewardInt'] = $reward;
You can then use $data['rewardInt'] to get only the number value.
|
|
|
|
AvalonRychmon
Member
Offline
Activity: 141
Merit: 24
Gr8.cc - Faucet Script
|
|
June 27, 2016, 03:40:22 PM |
|
You can uses a couple of lines to get your rewards with %Chance in array. $rewards = $data["rewards"]; $rewards = explode(',', $rewards);
## $rewards == ## Array ( ## [0] => 100 (50%) ## [1] => 200 (50%) ## )
|
|
|
|
misterbit
|
|
June 28, 2016, 06:04:40 AM |
|
Hello Kazuldur, in the field of blocking of ips I get this error in the database (ip_ban_list) Warning: #1265 Data truncated for column 'value' at row 1
How can I increase the value? I don't understand anything about this thank you.
|
|
|
|
|