Pages:
Author

Topic: v5.6.0 ][ Open-Source Pooling Web Software ( MiningFarm ) - page 12. (Read 57276 times)

legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
v3 is very very very broken with the current code for download.

I have spent the past 3 hours going through and fixing all I can so far, there is still more to fix...

I haven't tried it yet but had a skim through it.  It certainly looks cleaner.

Xenland - how much testing are you doing on this code before releasing it?  Is your goal to get us to help you find bugs?  Like I've said before, I'm happy to beta test it and show you bugs etc.  However it doesn't help if you start completely rewriting things...

How are you going setting up a github?

The last 2 versions I would just test out each feature and if it works then I'd release it but alot of people started complaining that there were alot of bugs so. Too squish the bugs I compeltly whipped the VPS harddrive and installed my front-end on to it. My results were I had absolutely no problems except the email sending and the validation abruptly stopped working.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
This will be the last time i re-write the code. The last one was getting wayyyy tooo hard to figure out what was going on and what required what to do what. Anyways, on my VPS server I wiped it clean, just rebooted the WHOLE thing, uploaded my code, tested everything works great. The only thing that I knew that does not work is sending mail, but it only stopped working when i uploaded a php.ini file. So I guess I assumed it was that. I would like everyone to know that I would like to start my own pool so I'll always be constantly working towards making Mining Pool bug free.
member
Activity: 61
Merit: 10
register stops on sending email. guessing its bugged there?

Update
when registering the authpin isnt being set.
no code to enter it into the db.

email isnt being sent via sendConfirmationEmail
added
$emailSent = sendConfirmationEmail($insertId, $authoriseEmailPin, $email);
and function sendConfirmationEmail($userId, $authPin, $email)

activating account doesnt work
added
$userId = $_GET["userId"];
$authPin = $_GET["authPin"];
member
Activity: 84
Merit: 10
v3 is very very very broken with the current code for download.

I have spent the past 3 hours going through and fixing all I can so far, there is still more to fix...

I haven't tried it yet but had a skim through it.  It certainly looks cleaner.

Xenland - how much testing are you doing on this code before releasing it?  Is your goal to get us to help you find bugs?  Like I've said before, I'm happy to beta test it and show you bugs etc.  However it doesn't help if you start completely rewriting things...

How are you going setting up a github?
member
Activity: 61
Merit: 10
v3 is very very very broken with the current code for download.

I have spent the past 3 hours going through and fixing all I can so far, there is still more to fix...
newbie
Activity: 112
Merit: 0
Hey, this looks great!  

I was just wondering where miningpool.sql file was, or if it was left out accidentally?


miningpool.sql seems to have changed names to insert_into_db.sql

I'm having an issue logging in, though.  After registering, I get the hash in my database, but I can't login with that username and password.  I'm heading out at the moment, but will take a look when I get back.

Also, the download link at the top of this page should be pointing to http://mp2.fleshvirus.com/download/v3/miningpoolv3.tar.gz

Thanks for all your work, this all is amazing!
member
Activity: 61
Merit: 10
no download link.
legendary
Activity: 1372
Merit: 1008
1davout
I wonder if im hashing towards bitcoind or pushpoold my self, but i can tell now by looking in the database in the shares and if there are recent ones that are poping up then i know for sure im hashing with pushpoold
Or you can check with requests.log
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
I wonder if im hashing towards bitcoind or pushpoold my self, but i can tell now by looking in the database in the shares and if there are recent ones that are poping up then i know for sure im hashing with pushpoold
member
Activity: 84
Merit: 10
So how can I actually verify that what my miners are hashing is coming from the bitcoin network?  I'm paranoid that I'm wasting my hashing power on nothing lol.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
I'm sorry everytime i try to login i get this error any idea how to fix it? 



[Fri Jun 03 10:53:01 2011] [error] [client 192.168.1.100] PHP Warning:  mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/htdocs/login.php on line 46, referer: http://192.168.1.114/register.php



Just wait till the next version there are soo many bugs I over looked trying cram more features into the thing. I'll have the bugs fixed in the next version.

full member
Activity: 434
Merit: 101
I'm sorry everytime i try to login i get this error any idea how to fix it? 



[Fri Jun 03 10:53:01 2011] [error] [client 192.168.1.100] PHP Warning:  mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/htdocs/login.php on line 46, referer: http://192.168.1.114/register.php

sr. member
Activity: 406
Merit: 250
Oh, found an easy way around the fopen includes, I just included the bitcoin.inc.php and created a new instance of it.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
As for the loadModules.php problem just remove the print_r() at the the end of the code, I'm going to be less reckless with my next releases and do some in-depth testing before the release.
Im removing the annoying bitcoind.php file, thought it might work but its do more harm then good.
sr. member
Activity: 406
Merit: 250
So, I went for the 2.0 upgrade.... seems like I have a lot of work to do.

Everyone received random account balances, the current round was reset, bitcoincontroller includes are all messed up. Lots of problems off the bat.
I was able to revert, but I recommend anyone attempting this be overly cautious and have backups ready.

That said the fopen includes with gets do not work for me with bitcoind.php. I can point it at a url, but it seems to behave awkwardly.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
So I added the following to register.php:

$act = $_POST["act"];

above

if($act == "auth"){

and that fixed the registration.  I haven't configured mail properly so I just activated my account manual and gave myself admin.

I'm now successfully running a pool and it all seems to be working!  My miners are hashing away and the shares are being recorded.

Are you planning on added the ability to show shares based on workers?

Still seems to be a few more bugs.  I'm happy to work closer with you to debug them and improve the product further.

Ill deffinatly get dynamic databases going and fix the registration out of the box.
full member
Activity: 434
Merit: 101
So I've setup version 2 from scratch with new database based on the sql file you have included.

I can't get past registering a user.  There seems to be some undefined variables causing the problem and these are:

From index.php:
PHP Notice:  Undefined variable: files1 in /srv/www/htdocs/req/modules/loadModules.php on line 47

From register.php:
PHP Notice:  Undefined variable: act in /srv/www/htdocs/register.php on line 41
PHP Notice:  Undefined variable: act in /srv/www/htdocs/register.php on line 58
PHP Notice:  Undefined variable: goodMessage in /srv/www/htdocs/register.php on line 156
PHP Notice:  Undefined variable: returnError in /srv/www/htdocs/register.php on line 157
PHP Notice:  Undefined variable: goodMessage in /srv/www/htdocs/register.php on line 160

Cheers

Were you able to fix this issue?  And if so what was your resolution?  Im curious because ive been tinkering for a few hours and have been unable to login to a registered user.  I made admin in the database but it will still not allow me to login and create workers.
legendary
Activity: 1372
Merit: 1008
1davout
Anything higher is a waste.
Definitely not, if you have have some spare cycles why not use them.
kjj
legendary
Activity: 1302
Merit: 1026
Another question...

When I query bitcoind getinfo, the hashespersec value is at 0.  Shouldn't this be showing up the total hash value of the pool?

Cheers

That is the hashing rate of your local node.  Zero is a good number here.  Anything higher is a waste.
legendary
Activity: 1372
Merit: 1008
1davout
When I query bitcoind getinfo, the hashespersec value is at 0.  Shouldn't this be showing up the total hash value of the pool?
Nope, that's normal.
Pages:
Jump to: