davout
Legendary
Offline
Activity: 1372
Merit: 1008
1davout
|
|
June 03, 2011, 03:17:05 PM |
|
Anything higher is a waste.
Definitely not, if you have have some spare cycles why not use them.
|
|
|
|
d3c0n808
|
|
June 03, 2011, 07:28:02 PM |
|
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
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 03, 2011, 07:33:27 PM |
|
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
|
|
June 03, 2011, 07:34:19 PM |
|
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
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 03, 2011, 08:04:25 PM Last edit: June 03, 2011, 08:19:55 PM by Xenland |
|
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
|
|
June 03, 2011, 08:06:36 PM |
|
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
|
|
June 03, 2011, 09:00:14 PM |
|
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
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 03, 2011, 09:32:04 PM |
|
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.phpJust 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
Activity: 84
Merit: 10
|
|
June 04, 2011, 02:09:33 AM |
|
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
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 04, 2011, 02:33:18 AM |
|
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
Activity: 1372
Merit: 1008
1davout
|
|
June 04, 2011, 03:34:13 AM |
|
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
Activity: 61
Merit: 10
|
|
June 04, 2011, 08:58:02 PM |
|
no download link.
|
|
|
|
dharmapolice
Newbie
Offline
Activity: 112
Merit: 0
|
|
June 05, 2011, 12:59:02 AM Last edit: June 05, 2011, 01:17:12 AM by dharmapolice |
|
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
Activity: 61
Merit: 10
|
|
June 05, 2011, 04:09:06 AM |
|
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
Activity: 84
Merit: 10
|
|
June 05, 2011, 06:28:40 AM |
|
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
Activity: 61
Merit: 10
|
|
June 05, 2011, 06:31:13 AM Last edit: June 05, 2011, 07:44:25 AM by Wayno |
|
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"];
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 05, 2011, 10:21:14 AM |
|
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
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 05, 2011, 10:29:33 AM |
|
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
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 05, 2011, 10:58:30 AM |
|
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
Activity: 61
Merit: 10
|
|
June 05, 2011, 04:00:08 PM Last edit: June 05, 2011, 04:11:22 PM by Wayno |
|
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.
|
|
|
|
|