Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Mark876 on August 03, 2018, 01:40:58 AM



Title: help with my faucet
Post by: Mark876 on August 03, 2018, 01:40:58 AM
Hi! I'm having an issue with my faucet. When I try to claim i have an error:
Notice: Post request, but invalid address input name. in /home/kbnwblfn/public_html/index.php on line 94
anyone know what could be?
Regards


Title: Re: help with my faucet
Post by: Initscri on August 03, 2018, 04:47:04 AM
Hi! I'm having an issue with my faucet. When I try to claim i have an error:
Notice: Post request, but invalid address input name. in /home/kbnwblfn/public_html/index.php on line 94
anyone know what could be?
Regards

Did you use a specific script to create the faucet, or develop it yourself.
If so, could you post a link to the script, and the code if it's opensource.

Maybe even post a link to your site for further analysis.


Title: Re: help with my faucet
Post by: bob123 on August 03, 2018, 05:25:06 AM
I'm having an issue with my faucet. When I try to claim i have an error:
Notice: Post request, but invalid address input name. in /home/kbnwblfn/public_html/index.php on line 94
anyone know what could be?

Well.. what about showing us line 94 of your index.php ?
Your script somehow regards your address as invalid.

What address did you type in?
It might be possible that this old script is only working with legacy addresses (starting with 1..), which would be quite awkward since it at least should accept p2sh too (starting with 3..).
Did you enter a bech32 address (starting with bc1..) ? If yes, this might be the issue since your (probably very old) script does see bech32 addreses as invalid.

But without lookink at the source code (preferably not ONLY line 94), nothing more specific can be said. Feel free to post the relevant snippet here, so we can take a look at it.



Title: Re: help with my faucet
Post by: mk4 on August 03, 2018, 05:26:55 AM
I'm afraid people wouldn't be able to help you by just telling us the line number of your error. Like what Mark876 said, did you write your own script or did you use downloaded scripts like FaucetInABox? Edit your post and be more specific with the details.