Bitcoin Forum

Economy => Micro Earnings => Topic started by: tungaqhd on November 30, 2016, 11:43:15 AM



Title: Need Minifaucet Setup Help
Post by: tungaqhd on November 30, 2016, 11:43:15 AM
Hello, i am setting up minifaucet script. I filled database info, but when fill address and click go, form action is
Code:
  <form action='<?php echo urlFor("post_faucet"); ?>' method='POST'> 
, and after click, it redirect me to mysite.com/faucet , but there is no faucet folder
I don't know how to fix it , please help. (Sorry for my bad English :( )


Title: Re: Need Minifaucet Setup Help
Post by: Bitckerz on November 30, 2016, 02:09:07 PM
Hello, i am setting up minifaucet script. I filled database info, but when fill address and click go, form action is
Code:
  <form action='<?php echo urlFor("post_faucet"); ?>' method='POST'> 
, and after click, it redirect me to mysite.com/faucet , but there is no faucet folder
I don't know how to fix it , please help. (Sorry for my bad English :( )

There is no faucet folder, but faucet.php in templates folder

Code:
 <form action='<?php echo urlFor("post_faucet"); ?>' method='POST'>
, this is on main.php, on submit the user is directed to faucet.php

https://gitlab.com/minifaucet/public


Title: Re: Need Minifaucet Setup Help
Post by: minifrij on November 30, 2016, 02:17:13 PM
Due to a rewrite condition in the .htaccess file all requests for new folders are handled by the index.php file in the main folder. To find the code that deals with faucet claiming, look at line 313 in that file.

There is no faucet folder, but faucet.php in templates folder
That is the template for the faucet page I believe.


Title: Re: Need Minifaucet Setup Help
Post by: Bitckerz on November 30, 2016, 02:25:51 PM
Due to a rewrite condition in the .htaccess file all requests for new folders are handled by the index.php file in the main folder. To find the code that deals with faucet claiming, look at line 313 in that file.

There is no faucet folder, but faucet.php in templates folder
That is the template for the faucet page I believe.

Yeah, that is the template for the faucet page. I have been using this script on my faucet for about an year now, no issues with installing. No idea where the OP messed it up.


Title: Re: Need Minifaucet Setup Help
Post by: tungaqhd on November 30, 2016, 02:48:20 PM
https://s17.postimg.org/l0pb5eccf/Screenshot_2016_11_30_21_41_56.png
This is the file after i extract zip flie,no faucet folder,
Can you give me a suggestion how to fix it :(


Title: Re: Need Minifaucet Setup Help
Post by: Bitckerz on November 30, 2016, 03:09:26 PM
https://s17.postimg.org/l0pb5eccf/Screenshot_2016_11_30_21_41_56.png
This is the file after i extract zip flie,no faucet folder,
Can you give me a suggestion how to fix it :(

http://imgur.com/a/nIPI8

Like I said there is no faucet folder, check the templates folder, faucet.php

You have changed config.sample.php to config.php (hope edited it properly) so everything should work fine unless you deleted some file.



Title: Re: Need Minifaucet Setup Help
Post by: wnj4 on November 30, 2016, 10:40:18 PM
https://s17.postimg.org/l0pb5eccf/Screenshot_2016_11_30_21_41_56.png
This is the file after i extract zip flie,no faucet folder,
Can you give me a suggestion how to fix it :(
Check templates folder for faucet.php file if this file is missing reuplaod it from extract zip faucet script

 also you have to quote block.io lines in core.php due needs of GMP installed on your web-hosting.