Pages:
Author

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

hero member
Activity: 630
Merit: 500
My github fork has been updated with some quick initial changes.  I hope to contribute as much as I can to this project while I test my private pool and try to make it public.  Currently I am only editing the fork with bits and pieces of what I like, it's not a clone of my current pool code which would change everything and break things.  "inset_into_database.sql" needs some major editing.  The version on github is horrible, while the version in your released tarballs is pretty close.  I suggest deleting the original in your master branch and pasting in a copy from your tarballs.  Cheers!
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Sorry everyone, I technically have 3 different versions on my computer, all on different partitions/servers. I'm just going to download the 4.1.2 version again and start over. This may take a bit longer for another daily update, to prevent this from happening again I'll try using github so I can stop fussing with all these regressions I keep finding. Hopefully github will play nice this time. Again sorry for the inconvenience.
newbie
Activity: 28
Merit: 0
There are two other stats that have been broken with 4.1.2 :

accountDetails.php :

Estimated Reward this Round

header.php :

Estimated
 

Huh


...
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Wow the Frontpage looks great when a worker is active Wink

but i have an other error on the stats page aswell as in the blocksUpdater.php:

Uncaught BitcoinClientException:
  • : Didn't receive 200 OK from remote server. (HTTP/1.0 401 Authorization Required) thrown in on line 0

i allso have a lot rpc upstream erros in the miner, but he allready was abot to find valid and rejected blocks,

thats a bit wired Wink

Yes im receving this too it started happening around 12-2am my time(when i wasnt playing with code)
Looking for a fix could be a bitcoin-php problem or bitcoimd problem possibly.

Im trying github again and ill just keep backups before updating to prevent this problem
member
Activity: 62
Merit: 10
Wow the Frontpage looks great when a worker is active Wink

but i have an other error on the stats page aswell as in the blocksUpdater.php:

Uncaught BitcoinClientException:
  • : Didn't receive 200 OK from remote server. (HTTP/1.0 401 Authorization Required) thrown in on line 0

member
Activity: 70
Merit: 10
I'll find something that tracks changes better, last time github ruined everything it appended old code with my new code for some reason and it took me 6 hours to clean up the code.

You probably f*cked something up when you committed your changes to git.  I have never had that issue.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Xenland : in the 4.1.2 version the serverFeepercentage column was removed from the SQL script, is that on purpose ?



No please add serverFeePercentage back this was a regression.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
I'll find something that tracks changes better, last time github ruined everything it appended old code with my new code for some reason and it took me 6 hours to clean up the code.
member
Activity: 62
Merit: 10
thanks peedee that solved the problem
hero member
Activity: 630
Merit: 500
It is supposed to be a varchar and 'x%' or an int and 'x'?
newbie
Activity: 28
Merit: 0
Hi all, i just installed the actual Farm 4.1.2 everything works good exept this:

When i should type in the auth code i get wired errors above the code field but to add the code provided in the mail works

then when i login i see in on top left, aswelll on the statistics page and in the percentage field in the administrator section

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in .../req/functions.php on line 340

guess there is a little mess in the sql file

Smiley


Lol. thats the missing column I just pointed out. It tries to get the serverfeepercentage Smiley

Try :

ALTER TABLE websiteSettings ADD  serverFeePercentage varchar(20) NOT NULL AFTER browserTitle;

Then add a percentage and see if it works.


member
Activity: 62
Merit: 10
Hi all, i just installed the actual Farm 4.1.2 everything works good exept this:

When i should type in the auth code i get wired errors above the code field but to add the code provided in the mail works

then when i login i see in on top left, aswelll on the statistics page and in the percentage field in the administrator section

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in .../req/functions.php on line 340

guess there is a little mess in the sql file

Smiley
member
Activity: 70
Merit: 10
I agree, but he used Github already and abandoned it!  We want github again!   Grin

Github is <3
newbie
Activity: 28
Merit: 0
Xenland : in the 4.1.2 version the serverFeepercentage column was removed from the SQL script, is that on purpose ?

newbie
Activity: 28
Merit: 0
hero member
Activity: 630
Merit: 500
I agree, but he used Github already and abandoned it!  We want github again!   Grin
hero member
Activity: 938
Merit: 501
Hey Xenland, you should move to SVN or GIT to track your changes better  Wink
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Can you update the changelog ?

Added serverFeePercentage mysql.

And fixed the accounts not being rewarded bug

Sorry cant have more detailed changelog, but its just me and i cant rememeber every change
"Accounts not being rewarded bug" - I thought it was just me running on testnet that broke things, I solved 14 blocks and all balances were 0, so I have a private pool going now on the real blockchain.  Because I have modified your v4.0.1 release *heavily*, do you mind posting a diff or describing how this bug was fixed?

Honestly i dont remeber, i get so many fix/suggestion requests i just cant remeber changes in the code it self. the top half of blockUpdater.php was wierd i keptd hacking at it until i worked correctly.

I honestly think it was a misspelling somewere and on top of that the if statements didnt work.

When i upload 4.2.2 the stats will get purged after a certain amount of time to save memory.
hero member
Activity: 630
Merit: 500
Can you update the changelog ?

Added serverFeePercentage mysql.

And fixed the accounts not being rewarded bug

Sorry cant have more detailed changelog, but its just me and i cant rememeber every change
"Accounts not being rewarded bug" - I thought it was just me running on testnet that broke things, I solved 14 blocks and all balances were 0, so I have a private pool going now on the real blockchain.  Because I have modified your v4.0.1 release *heavily*, do you mind posting a diff or describing how this bug was fixed?
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Ahh I see what your saying, all i need to do is add a mysql_real_escape_string() that will be in version 2,

When working with SQL you should escape every variable going in.  It doesn't matter if it came from you hand carving it into a piece of stone and transplanting it into the server like an act of god.  All it takes is one oops to turn a "safe" variable into an attack vector.
Wow your response is wayyy late, were at version 4 buddy, try again Smiley

lol sorry.  I'm half asleep >_<
Tongue its all good!

You can check out the updated version here if your intention is to stay up that is: http://173.212.217.202/
Pages:
Jump to: