Pages:
Author

Topic: OpenFaucet: The open source coin faucet implementation! - page 2. (Read 8785 times)

full member
Activity: 147
Merit: 100
I'm still getting the same error in the setting.php

Code:
PHP Fatal error:  Call to undefined method mysqli_stmt::get_result() in /var/www/openfaucet/public/include/classes/setting.class.php on line 16

I'm wondering if there needs to be some values in the DB or it's returning no values for tcertain tables. Would you be able to provide a dump of your test DB so I can import those values and test with them?
member
Activity: 112
Merit: 10
Found 2 new critical bugs in the crons which would cause them to fail. Please update now to have working crons. Also, remember to set your crons .sh files as executable.
sr. member
Activity: 294
Merit: 250
I just want to give my review of Zen00 for the community to find out what type of guy he is.

Zen00 is dedicated to the success of any coin, without him worrying about his pockets or constantly asking for bounties. He has been proactive and making new updates and backing up his word with his new open source faucet because he really believes in himself. He is even humble enough to push updates without much crypto coins trying to jump on his software. Zen00 is a go getter.

If any crypto currency wants an official or even community driven (adopters) faucet hosted on your domain without worrying about being scammed by a third party faucet holder, or virus driven site filled with ads that can potentially hurt you and your community, this is the right faucet to go to. Not only is this project open source (we all love that) the best part is -- Zen00 is here to back you up through the entire process. I see a big window of opportunity for many crypto currencies to use his software, and I for one, am a big 42 coin adopter, and would like to get this faucet updated on 42 coin very soon, and any of my other adoptions.

He is worth being paid bounty!  Zen00 please post your 42 Coin Address here or pm me that info. I'll donate to you.

I haven't fully installed it on the site yet but I want to make sure others know about you and you are paid for your
efforts to help the crypto currency industry. I'll make a donation on behalf of the Bitcointalk (Crypto) community now.



Okay, for all you people out there who have had trouble. I just went through the entire setup process with a fresh install of Ubuntu Server 12.0.4 and here are my findings.

You need to remember to install all dependencies, namely these ones in particular.

Code:
apt-get install php5-mysqlnd php5-curl build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev git

Additionally you need to remember to set file permissions, own your public folders with the Apache file group, www-data, and make your logging directory writable, for testing purposes I just 777'd all the files and folders, never do that on a production site. See MPOS setup for more information.

Code:
chown www-data public/templates/compile public/templates/cache logs


Also remember to update to the latest version of all things with apt-get update/upgrade.

This should clear up any errors you're having, if you experience any other errors, well let me know as usual.


And thanks to those who found bugs for this project and reported them.
member
Activity: 112
Merit: 10
Okay, for all you people out there who have had trouble. I just went through the entire setup process with a fresh install of Ubuntu Server 12.0.4 and here are my findings.

You need to remember to install all dependencies, namely these ones in particular.

Code:
apt-get install php5-mysqlnd php5-curl build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev git

Additionally you need to remember to set file permissions, own your public folders with the Apache file group, www-data, and make your logging directory writable, for testing purposes I just 777'd all the files and folders, never do that on a production site. See MPOS setup for more information.

Code:
chown www-data public/templates/compile public/templates/cache logs


Also remember to update to the latest version of all things with apt-get update/upgrade.

This should clear up any errors you're having, if you experience any other errors, well let me know as usual.


And thanks to those who found bugs for this project and reported them.
legendary
Activity: 1414
Merit: 1000
Great contribution this is!
member
Activity: 112
Merit: 10
So since I don't have this issue with my server which was already being used for other things, I'm going to start with a clean server as well to see if I can find the root of your issues.
full member
Activity: 147
Merit: 100
Yea no dice for me. I get the same error after updating and also starting with a clean install.
sr. member
Activity: 490
Merit: 250
i got the same error,

first time i've to set up my config file and rename it and run sql on database?
member
Activity: 112
Merit: 10
Alright, I updated that SQL typo you found and updated the settings class to the latest version, however I'm not having that issue you're having, so no idea what may be causing it. Maybe the update will fix it for you. As far as it goes, the statement referred to is a MySQLi statement, so it could be possible I messed something up, or possibly that you have the wrong user info somewhere in your config file, maybe you're using a none-admin account for your table?
full member
Activity: 147
Merit: 100
I'd be happy to help you debug. I am experiencing the blank page still after redoing the install from the ground up. I followed the MPOS instructions excluding the stratum section so I hope I'm not missing something really simply.

First, you need to update the 000_base_structure.sql file. There is a syntax error preventing the final table creation. Remove the last comma from the syntax KEY `type` (`type`),.

Code:
CREATE TABLE IF NOT EXISTS `transactions` (
  `id` int(255) NOT NULL AUTO_INCREMENT,
  `type` varchar(25) DEFAULT NULL,
  `coin_address` varchar(255) DEFAULT NULL,
  `amount` double DEFAULT '0',
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `txid` varchar(256) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `type` (`type`),
) ENGINE=InnoDB DEFAULT CHARSET=utf8

becomes

Code:
CREATE TABLE IF NOT EXISTS `transactions` (
  `id` int(255) NOT NULL AUTO_INCREMENT,
  `type` varchar(25) DEFAULT NULL,
  `coin_address` varchar(255) DEFAULT NULL,
  `amount` double DEFAULT '0',
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `txid` varchar(256) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `type` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8

Also, the blank page is providing the error:
Quote
PHP Fatal error:  Call to undefined method mysqli_stmt::get_result() in /var/www/openfaucet/public/include/classes/setting.class.php on line 16.

I'm not sure what this means. Any help is appreciated.
member
Activity: 112
Merit: 10
I'm just curious how this is coming along. I'm currently looking for a good faucet software and there is a need for this.

I did get the latest git and am having issues with it working. I edited the global.inc.dist.php accordingly and then figured out I needed to rename it to global.inc.php but now all I get is a blank index.php page.

Any more instructions for setup would be great. Thanks for the work!


Instructions are identical to those for setting up MPOS, minus the stratum mining portion.

Check your Apache error logs, the reason for your blank page is to be found in there.

The software works, though I would like some more help to do the debugging and fixing as really I need to be looking for a job of my own, I'm not really making any money doing this.
full member
Activity: 147
Merit: 100
I'm just curious how this is coming along. I'm currently looking for a good faucet software and there is a need for this.

I did get the latest git and am having issues with it working. I edited the global.inc.dist.php accordingly and then figured out I needed to rename it to global.inc.php but now all I get is a blank index.php page.

Any more instructions for setup would be great. Thanks for the work!
member
Activity: 112
Merit: 10
Transaction page is now back to normal, just need to work on the monitoring page to have everything up and running.
member
Activity: 112
Merit: 10
Got templates back up, there are still a few bugs to work out though, but for the most part everything seems to be working again, just some annoying error messages and displays that don't query right yet.
member
Activity: 112
Merit: 10
Pretty cool. Let us know when it's fixed !

It's working, but somehow I killed templates for logged in users, and admin authentication. I'll figure it out eventually though.
sr. member
Activity: 266
Merit: 250
Pretty cool. Let us know when it's fixed !
member
Activity: 112
Merit: 10
Just pushed a new update that will break everything. This update creates a new database, cuts out unused classes, finalizes a lot of presets, updates the config file, and more! Also it's guaranteed to not be working for at least another 8 hours until I've had time to debug it thoroughly.
sr. member
Activity: 294
Merit: 250
I want to get one of these up and running for 42 some day. Tongue
member
Activity: 112
Merit: 10
Wow, this is a great contribution to the community. Thank you alot for the work you put into this.
zens a great user and is amazing a contributing!
This is a great step for the community as a whole,
are the current reqs the same as mpos for running the system,?




No, you can run this implementation on much leaner hardware as it completely eliminates stratum and the huge amount of database calls required under it for things like stats and user account information.
hero member
Activity: 854
Merit: 658
rgbkey.github.io/pgp.txt
Wow, this is a great contribution to the community. Thank you alot for the work you put into this.
Pages:
Jump to: