Bitcoin Forum
June 23, 2024, 03:40:44 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 ... 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 [123] 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 »
  Print  
Author Topic: FaucetBOX.com Discussion  (Read 236942 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
ragi
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500



View Profile
June 24, 2016, 03:19:52 PM
 #2441

Quote
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
Full Member
***
Offline Offline

Activity: 500
Merit: 100



View Profile
June 24, 2016, 03:21:18 PM
 #2442

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 Sad


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 Offline

Activity: 971
Merit: 1000


View Profile
June 24, 2016, 03:25:09 PM
 #2443

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 Sad

I'm sorry, somehow I've lost your message. I get waaay too many PMs... Smiley

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 Offline

Activity: 162
Merit: 10


Need money


View Profile
June 24, 2016, 03:53:43 PM
 #2444



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 Offline

Activity: 971
Merit: 1000


View Profile
June 24, 2016, 03:56:29 PM
 #2445



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 Offline

Activity: 112
Merit: 10


View Profile
June 24, 2016, 03:57:27 PM
 #2446

I really liked the Faucetbox at the Beginning. It paid out to 3000k via faucet and now u can simply gain 100 satoshis Sad Thats not nice do do the work by yourself.
i recognize better faucets they paying better rewards like freebitcoin.

getrichquack
Member
**
Offline Offline

Activity: 162
Merit: 10


Need money


View Profile
June 24, 2016, 05:45:51 PM
 #2447


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 Offline

Activity: 971
Merit: 1000


View Profile
June 24, 2016, 05:47:51 PM
 #2448

$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 Offline

Activity: 162
Merit: 10


Need money


View Profile
June 24, 2016, 05:52:50 PM
 #2449

oops sorry ...yes found it Huh...

getrichquack
Member
**
Offline Offline

Activity: 162
Merit: 10


Need money


View Profile
June 24, 2016, 06:08:31 PM
 #2450

WOO HOO!!!

YEAH BABY ...all working!!!  Grin  Grin  Grin

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 Offline

Activity: 971
Merit: 1000


View Profile
June 25, 2016, 02:13:42 PM
 #2451

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
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
June 26, 2016, 05:21:22 PM
 #2452

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 Offline

Activity: 971
Merit: 1000


View Profile
June 26, 2016, 05:26:38 PM
 #2453


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 Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
June 26, 2016, 05:49:33 PM
 #2454

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.
Code:
$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
Full Member
***
Offline Offline

Activity: 261
Merit: 102


View Profile
June 27, 2016, 01:52:00 PM
 #2455

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 Offline

Activity: 971
Merit: 1000


View Profile
June 27, 2016, 02:13:37 PM
 #2456

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
Full Member
***
Offline Offline

Activity: 261
Merit: 102


View Profile
June 27, 2016, 02:35:41 PM
 #2457

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 Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
June 27, 2016, 02:52:55 PM
 #2458

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:
Code:
$data['rewardInt'] = $reward;
You can then use $data['rewardInt'] to get only the number value.
AvalonRychmon
Member
**
Offline Offline

Activity: 141
Merit: 24

Gr8.cc - Faucet Script


View Profile WWW
June 27, 2016, 03:40:22 PM
 #2459

You can uses a couple of lines to get your rewards with %Chance in array.

Code:
$rewards = $data["rewards"];
$rewards = explode(',', $rewards);

## $rewards ==
## Array (
## [0] => 100 (50%)
## [1] => 200 (50%)
## )

misterbit
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
June 28, 2016, 06:04:40 AM
 #2460

Hello Kazuldur, in the field of blocking of ips I get this error in the database (ip_ban_list)

Code:
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.
Pages: « 1 ... 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 [123] 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!