colossus
Full Member
Offline
Activity: 121
Merit: 100
Obey me and live or disobey and die.
|
|
June 08, 2011, 12:35:50 PM |
|
I'm having a problem with the cronjobs. I installed php-cli - was this needed? Here is my crontab: */10 * * * * /home/miningsite/req/cronjob/blockUpdater.php */12 * * * * /home/miningsite/req/cronjob/blockFound.php Should I be running PHP? Also, when trying to run the command from the command line I get this error: $:php blockUpdater.php PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0 PHP Parse error: syntax error, unexpected '{' in /home/miningsite/req/cronjob/blockUpdater.php on line 45 Thanks! same problem here im not a php wizard but it doesn't look that syntactically incorrect
|
|
|
|
davout
Legendary
Offline
Activity: 1372
Merit: 1008
1davout
|
|
June 08, 2011, 12:47:26 PM |
|
The crontab looks fine.
You can probably run PHP directly if you have the correct shebang line and the executable flag on the file
|
|
|
|
colossus
Full Member
Offline
Activity: 121
Merit: 100
Obey me and live or disobey and die.
|
|
June 08, 2011, 12:48:15 PM |
|
ok I think, think not sure this is the problem line there where 2 sets of brackets it was missing one of the end, I added while($accounts = mysql_fetch_array($getListOfAccountsQ)) however...... i now get PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/btcfinland/req/cronjob/blockUpdater.php on line 46 Now in my experience php developers always say ignore the warning if they are not fatal so it could be that this worked or not
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 08, 2011, 06:13:52 PM |
|
ok I think, think not sure this is the problem line there where 2 sets of brackets it was missing one of the end, I added while($accounts = mysql_fetch_array($getListOfAccountsQ)) however...... i now get PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/btcfinland/req/cronjob/blockUpdater.php on line 46 Now in my experience php developers always say ignore the warning if they are not fatal so it could be that this worked or not This issue along with the misspelling issue will be updated with the graphing update. Get ready for some Mhash STAT!
|
|
|
|
unixdude
Newbie
Offline
Activity: 47
Merit: 0
|
|
June 08, 2011, 06:34:06 PM |
|
ok I think, think not sure this is the problem line there where 2 sets of brackets it was missing one of the end, I added while($accounts = mysql_fetch_array($getListOfAccountsQ)) however...... i now get PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/btcfinland/req/cronjob/blockUpdater.php on line 46 Now in my experience php developers always say ignore the warning if they are not fatal so it could be that this worked or not This issue along with the misspelling issue will be updated with the graphing update. Get ready for some Mhash STAT! Awesome can't wait!
|
|
|
|
lexa500
Newbie
Offline
Activity: 46
Merit: 0
|
|
June 09, 2011, 05:57:52 AM |
|
thanks for your work! i have i question about rpc server. what should i use for it? push pool?
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 09, 2011, 06:31:28 AM |
|
thanks for your work! i have i question about rpc server. what should i use for it? push pool?
Rpc server information will be your RPC information in your config file for bitcoind. RPC server information is used to get information about the bitcoin network and your current balance in your wallet. It is also used for sending payments to users.
|
|
|
|
Wayno
Member
Offline
Activity: 61
Merit: 10
|
|
June 09, 2011, 01:25:11 PM |
|
Hello pplz.
i was looking over networkblocks and found something intresting
id blockNumber timestamp accountAddress confirms 9 129583 1307622747 (blank) 0
just wondering if anyone else is getting this i seem to cant get
$transactions[$i]["confirmations"]; $transactions[$i]["category"]; $transactions[$i]["address"]
to display anything.
|
|
|
|
|
davout
Legendary
Offline
Activity: 1372
Merit: 1008
1davout
|
|
June 09, 2011, 02:07:25 PM |
|
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 09, 2011, 08:37:06 PM |
|
Well i do Looks great, i love the feeling of my software being used
|
|
|
|
openrune
|
|
June 09, 2011, 10:18:46 PM Last edit: June 09, 2011, 10:49:35 PM by openrune |
|
I test now with two miners connected 1. Dablo Miner: works good 2. Gui Miner: works good
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 10, 2011, 12:30:41 AM |
|
I test now with two miners connected 1. Dablo Miner: works good 2. Gui Miner: works good
|
|
|
|
unixdude
Newbie
Offline
Activity: 47
Merit: 0
|
|
June 10, 2011, 06:48:17 AM |
|
Just finished last set of tests so we will be going live with our private pool on the weekend, so far works great the only thing I think I am going to do is migrate the DB to a machine we have with SSD's and a bit more ram to mitigate any future IO problems we may experience.
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 10, 2011, 09:08:30 AM |
|
Just finished last set of tests so we will be going live with our private pool on the weekend, so far works great the only thing I think I am going to do is migrate the DB to a machine we have with SSD's and a bit more ram to mitigate any future IO problems we may experience.
Keep us posted and I'll throw the link up in the examples sections as soon as its ready
|
|
|
|
Koalemos
Newbie
Offline
Activity: 2
Merit: 0
|
|
June 10, 2011, 02:33:32 PM |
|
I don't understand why you want a nice design. People are gonna change it anyway. I guess all the functions put together in a stupid design is better, people can change it then the way the want. Or do you aim at people without the dev-skills?
|
|
|
|
Xenland (OP)
Legendary
Offline
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
|
|
June 10, 2011, 03:38:06 PM |
|
I don't understand why you want a nice design. People are gonna change it anyway. I guess all the functions put together in a stupid design is better, people can change it then the way the want. Or do you aim at people without the dev-skills?
You are correct it's only a matter of time until users knowledgeable about just bitcoins will want to get into mining pool and won't have enough money hire a web designer them self s. So in the mean time why not have there mining pool look great until they mine enough BTC to hire a web designer. I'm trying to work with the designer best as possible to make the stylesheeting flexible as possible so when you guys want to put int your own style sheets you wont have to fuss with figuring out complicated tag structures. The web design it self will also be another way of branding the official website, i guess. Considering the offical website( comming soon) will have a market place for modules and merchendising,etc ,etc, etc I'm also hoping that this new design will show what you can do with my software in terms of design, something that will make you feel free when you do your "OWN" design and say , I can do this! and this, and on my page I'll put the login box over here, I just want it to be flexible and look good at the same time so it appeals to Devs & non-Devs alike
|
|
|
|
warweed
|
|
June 10, 2011, 04:48:02 PM |
|
So I'm a bit of a n00b and have been racking my head but is designed to use Linux bitcoind and just run it with the bitcoin conf setup for rpc or am I missing something ?
|
|
|
|
redhatzero
|
|
June 10, 2011, 05:05:03 PM |
|
yes.. you're missing the pushpoold between bitcoind and the web frontend
|
|
|
|
warweed
|
|
June 10, 2011, 05:15:02 PM |
|
Ah ok is there separate installation instructions for pushpool or is anyone up to the challange of doing a full on install if I give shell access ? If I pay in btc ?
Just tell me what you require for OS an i shall tell you what I require
This crap is just starting to bug me to the pint I rather get some one else to do it
Prefferably the OP I will gladly clear up the rest of the bounty plus A few extra
|
|
|
|
|