Bitcoin Forum
April 26, 2024, 12:20:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 »  All
  Print  
Author Topic: v5.6.0 ][ Open-Source Pooling Web Software ( MiningFarm )  (Read 57208 times)
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
June 03, 2011, 03:17:05 PM
 #41

Anything higher is a waste.
Definitely not, if you have have some spare cycles why not use them.

1714134023
Hero Member
*
Offline Offline

Posts: 1714134023

View Profile Personal Message (Offline)

Ignore
1714134023
Reply with quote  #2

1714134023
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714134023
Hero Member
*
Offline Offline

Posts: 1714134023

View Profile Personal Message (Offline)

Ignore
1714134023
Reply with quote  #2

1714134023
Report to moderator
1714134023
Hero Member
*
Offline Offline

Posts: 1714134023

View Profile Personal Message (Offline)

Ignore
1714134023
Reply with quote  #2

1714134023
Report to moderator
1714134023
Hero Member
*
Offline Offline

Posts: 1714134023

View Profile Personal Message (Offline)

Ignore
1714134023
Reply with quote  #2

1714134023
Report to moderator
d3c0n808
Full Member
***
Offline Offline

Activity: 434
Merit: 101


View Profile
June 03, 2011, 07:28:02 PM
 #42

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.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 03, 2011, 07:33:27 PM
 #43

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.
simplecoin
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
June 03, 2011, 07:34:19 PM
 #44

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.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 03, 2011, 08:04:25 PM
Last edit: June 03, 2011, 08:19:55 PM by Xenland
 #45

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.
simplecoin
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
June 03, 2011, 08:06:36 PM
 #46

Oh, found an easy way around the fopen includes, I just included the bitcoin.inc.php and created a new instance of it.

Donations: 1VjGJHPtLodwCFBDWsHJMdEhqRcRKdBQk
d3c0n808
Full Member
***
Offline Offline

Activity: 434
Merit: 101


View Profile
June 03, 2011, 09:00:14 PM
 #47

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

Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 03, 2011, 09:32:04 PM
 #48

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.

timmmay
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile
June 04, 2011, 02:09:33 AM
 #49

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.

Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 04, 2011, 02:33:18 AM
 #50

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
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
June 04, 2011, 03:34:13 AM
 #51

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

Wayno
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
June 04, 2011, 08:58:02 PM
 #52

no download link.

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://bitcointalk.org/index.php?topic=623937
dharmapolice
Newbie
*
Offline Offline

Activity: 112
Merit: 0


View Profile
June 05, 2011, 12:59:02 AM
Last edit: June 05, 2011, 01:17:12 AM by dharmapolice
 #53

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!
Txyru
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
June 05, 2011, 04:09:06 AM
 #54

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...
timmmay
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile
June 05, 2011, 06:28:40 AM
 #55

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?

Wayno
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
June 05, 2011, 06:31:13 AM
Last edit: June 05, 2011, 07:44:25 AM by Wayno
 #56

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"];

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://bitcointalk.org/index.php?topic=623937
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 05, 2011, 10:21:14 AM
 #57

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.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 05, 2011, 10:29:33 AM
 #58

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.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 05, 2011, 10:58:30 AM
 #59

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...

Could you elaborate on what features you had to fix?
Wayno
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
June 05, 2011, 04:00:08 PM
Last edit: June 05, 2011, 04:11:22 PM by Wayno
 #60

error in register.php line 67

not getting userid and authpin, also
$message."\n<br/>"."http://$serverAddress/activateAccount.php?authPin=$authPin&userId=$userId";

$message = ."\n<br/>"."http://$serverAddress/activateAccount.php?authPin=$authPin&userId=$userId";

?

and emails still isnt working via link in email still goto add

$userId = $_GET[userId];
$authPin = $_GET[authPin];

before
 $userId = $_GET[userId];
$authPin = $_GET[authPin];

   $activateSuccess = activateAccount($userId, $authPin);

authpin is not being set on signup aswell.

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://bitcointalk.org/index.php?topic=623937
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 »  All
  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!