Pages:
Author

Topic: mmcFE v2.1.23-stable - A Clean & Simple Pushpool frontend (PHP/BASH/JS/MYSQL) - page 5. (Read 25023 times)

full member
Activity: 210
Merit: 100
I cant imagine this would be it buit on the lines that are giving you errors change
Other than that...

these are my php deps:


# aptitude search php | grep ^i
i A libapache2-mod-php5             - server-side, HTML-embedded scripting langu
i   php-geshi                       - Generic Syntax Highlighter
i   php5-cli                        - command-line interpreter for the php5 scri
i A php5-common                     - Common files for packages built from the p
i   php5-curl                       - CURL module for php5
i A php5-gd                         - GD module for php5
i   php5-gmp                        - GMP module for php5
i A php5-mcrypt                     - MCrypt module for php5
i A php5-mysql                      - MySQL module for php5
i   php5-suhosin                    - advanced protection module for php5

Maybe you are missing one?

The error log you pasted earlier, really seems to point to an issue with paths somewhere tho. 

If you figure out what it is,  please report back... i really want to make sure its not something silly at my end.
sr. member
Activity: 467
Merit: 250
did you create a datbase user with appropriate perms? did you import the database schema? have you configured all the various config files with paths and user name / pass pairs?  There is something around 4-8 files you need to customize in order for it all to work... (including bitcoind, pushpool, and the various php/bash scripts.   It really should be in the README's.   Cover them carefully.   The onyl tihng not in the readmes is how to set up your DB username and pass.  I assume the user has experience with that.   

1. yes
2. yes
3. believe so, cron stuff all runs right, no path complaints in log
4. believe so, may have missed something
5. hit every readme I could find.

./sql/README
./www/README
./cronjobs/README

I'm going to go back and do it again from scratch... I've been thrashing two different VM's one F14/ one 10.04LTS. The LTS box isn't showing the visible PHP pieces, which tells me it's a dependancy/config issue on the F14 box. Pushpoold is working fine, bitcoin is working fine, I can point miners at either.. and I'm seeing shares appear in the pushpolld DB.

On both however, I'm up to where it's CREATING the users on registration now, but not allowing logins.. I suspect it's because it's on a private IP, being surfed from a private IP, so it's screwing up the cookie process. I can log in via mysql command line as the user/pass listed in the config file, make changes to the DB, etc.

I feel like I'm missing something obvious.. this shouldn't be this hard..



full member
Activity: 210
Merit: 100
did you create a datbase user with appropriate perms? did you import the database schema? have you configured all the various config files with paths and user name / pass pairs?  There is something around 4-8 files you need to customize in order for it all to work... (including bitcoind, pushpool, and the various php/bash scripts.   It really should be in the README's.   Cover them carefully.   The onyl tihng not in the readmes is how to set up your DB username and pass.  I assume the user has experience with that.   
newbie
Activity: 26
Merit: 0
Great front-end.. Now I just need to figure out how to easily make it mine different forks other than just Bitcoins..   Grin
sr. member
Activity: 467
Merit: 250
Does '/sites/mmc/www/includes/requiredFunctions.php' exist on your server?  Probably not.

Took care of this one - it was hard-coded into api.php

Something still not right, seeing this:

Quote
Stats last updated:
getsetting('statstime'))." GMT+2"; ?>

One other thing, and this may be the give-away --- I can't register a new user.. it never writes to the DB.

full member
Activity: 210
Merit: 100
Check each of the 4 directories for README files and follow instructions in each. 

Looks like you havent properly configured your include paths..

Does '/sites/mmc/www/includes/requiredFunctions.php' exist on your server?  Probably not.
member
Activity: 717
Merit: 86
Actually working on an entire new "bitcoin" theme....visual stuff is always last on the list after functionality.....

sr. member
Activity: 467
Merit: 250

Latest trunk (08/23/2011) on Fedora14, think I'm missing a dependancy or two:

Quote
[Tue Aug 23 15:37:00 2011] [error] [client x.x.x.x] PHP Warning:  include(/sites/mmc/www/includes/requiredFunctions.php): failed to open stream: No such file or directory in /var/www/html/api.php on line 7, referer: http://y.y.y.y/stats.php
[Tue Aug 23 15:37:00 2011] [error] [client x.x.x.x] PHP Warning:  include(): Failed opening '/sites/mmc/www/includes/requiredFunctions.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/api.php on line 7, referer: http://y.y.y.y/stats.php
[Tue Aug 23 15:37:00 2011] [error] [client x.x.x.x] PHP Fatal error:  Call to undefined function connectToDb() in /var/www/html/api.php on line 34, referer: http://y.y.y.y/stats.php


I'm seeing the following on the web page, which points me toward something missing:

Quote

getsetting('slogan'); ?>
Home
Register
Stats
Getting Started
Support
About
News



Guessing I shouldn't be seeing the PHP..

thoughts?
newbie
Activity: 26
Merit: 0
Sure...  Grin

but the theme is paid theme.. i not sure we can release it to the public or not... maybe i can sent to you the theme for your own website use ? Smiley

why don't you add recapcha  function like what I does on the sample site ?




I'm interested in this theme, where is it available for purchase? Would love to use something like this with mmcFE!
member
Activity: 717
Merit: 86
As usual your correct Anni...Smiley The shares always seems to report accurate....it was just the MHash/sec and miners connected that would be off every once in a while....it was the slow test miner I had connected.....

We officially opened our new mining pool site using your software and also support forums for bitcoins that is opened to the public.....

The site and forums is located at www.coolcoin.net

If you want to see this front end code in action plz stop by and check us out!

Thanks again for all your help and the great running front end software Anni!

Peace!
full member
Activity: 210
Merit: 100
mmcFE has come a long way since its original release.   Announcing an all new design and the official stable version 2.1 release.

Version 2 (mmcfe-v2.0.75-stable) was already released with the following notable changes:
- notable changes include:
- support for different account types (varying fee structures per user type)
- process locking for cronjob scripts
- share count history archiving
- 1 minor security fix (minor XSS bug)
- stats logic reworked and concept changed to focus on round statistics and not lifetime stats
- round concept evolved and now defined as periods between payouts (confirmed blocks) and not block finds
- much better handling and detection of blocks we find and better handling of payout and calculations
- some style updates and implementation of jquery libs for future eyecandy
- major overhaul of backend functions and complete rewrite of large parts of the code resulting in up to 400x better performance
- changes and expansions to the user and server API's
- account ledger implemented. Users and site admins now have complete history of mutations on accounts.

Version 2.1.0 (mmcfe-v2.1.0-stable) is a visual re-design with new look and feel.  Much fresher and much more suited to the stable pushpool frontend this software has become.

There is still much to do but many issues (the most important ones) have been completely sorted and this should be completely stable code to run for small to mid sized pools (i say this only because i know of no LARGE pool ever running it yet)

Get it here:
http://mmcfe.mfis.net/listing.php?repname=mmcFE+-+A+Pushpool+Frontend&path=%2Ftags%2Fmmcfe-v2.1.0-stable%2F&#a4c362c93ac3a3f573eea43671ac34b5e


An example of this software running can be found here:
https://mining.mainframe.nl/

Enjoy!
full member
Activity: 210
Merit: 100
Sure...  Grin

but the theme is paid theme.. i not sure we can release it to the public or not... maybe i can sent to you the theme for your own website use ? Smiley

why don't you add recapcha  function like what I does on the sample site ?

Oh i thought you made the design yourself.... thats different then... :/

Im not a huge fan of captcha's Smiley  they drive me nuts!
member
Activity: 717
Merit: 86
I have a interesting new problem..hehe...seems the stats will show correctly one moment, then when I come back later it will show 0 except for the bitcoin to usd ...that part seems always accurate....any idea what might be causing the mining workers and MHash/sec stats to work one minute and then show 0 the next???

Peace!
newbie
Activity: 10
Merit: 0
Sure...  Grin

but the theme is paid theme.. i not sure we can release it to the public or not... maybe i can sent to you the theme for your own website use ? Smiley

why don't you add recapcha  function like what I does on the sample site ?


full member
Activity: 210
Merit: 100
Very cool!  We should merge your design idea into the official source tree and ill maintain the backend code and you can maintain the design.... what do you think?
member
Activity: 717
Merit: 86
Forgot to ask also, about how long do you suggest to run the pool_update.sh script? Should we set the crontab to run it every 60 seconds? I am wondering about the sleep commands you used for the different update php files and how this relates to how I should setup the crontab to run the .sh master script?

I am assuming this "timing" would be based on the size of the DB and how they start to take to run or should I say complete.

Thanks as always for your help and time Anni!

Peace!
newbie
Activity: 10
Merit: 0
Check this out : http://bitcoin.evozi.com/ ... I will release the source to you if you wnt.. i not going to start any bitcoin pool Sad


A modified mmcFE
member
Activity: 717
Merit: 86
No, I made a new database....I always save backups in case I need to revert for some reason...

I had forgotten to edit the server.json file so pushpoold was still reporting to old db...hope thats all it was..

Thanks!
full member
Activity: 210
Merit: 100
Update to latest trunk version asap if you are using this software.   Found and fixed some issues today which grandfathered in from the original codebase which could affect payouts, stats, and proper block handling.
full member
Activity: 210
Merit: 100
Quite a few updates to trunk have been made.  If you want bleeding edge newest features check out trunk.   Will get around to tagging the next release very soon. 

When upgrading,  please pay close attention to the differences in the database schema you are using in your current version and the latest schema you have downloaded in newest versions.   There are slight changes being made to the DB structure that will affect functionality if you dont also roll in these structural changes.   

working lost password reset feature is checked into trunk today.
Pages:
Jump to: