| Pages: [1] :: one page |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

HELLAH LAYBOOOL
Lone Star Exploration Lone Star Partners
|
Posted - 2011.02.06 20:34:00 -
[1]
having a issue with miningbuddy and not really sure where the problem is. This is a previously working install - has been for over 6 months with hundreds of users and runs - so, it's not an install issue.
error from the php_errorlog file is:
[06-Feb-2011 12:16:36] PHP Fatal error: Cannot use object of type DB_Error as array in /<mywebhost>/mining/functions/admin/getConfig.php on line 63
Line 63 in the getConfig.php for MB is:
$_SESSION["config_$var"] = $setting[0];
Have no idea what's causing the issue - I think it's mb not seeing the database and can't establish the session - but not a php guru so I don't know.
Tried updating the username/pass used to access the db, but didn't work.
Checking the DB from the cpanel reports db is ok. Db is there and referenced correctly in the config.www.yourhost.com.php file along with the username/pw of the db.
Any ideas?
|

Devilen
Caldari Shadovar Inc.
|
Posted - 2011.02.06 22:41:00 -
[2]
What version of Miningbuddy are you using?
6.1? 8.2? A different Version modded?
|

HELLAH LAYBOOOL
Lone Star Exploration Lone Star Partners
|
Posted - 2011.02.07 07:02:00 -
[3]
Edited by: HELLAH LAYBOOOL on 07/02/2011 07:02:28 it's our own branch - v 7.2 - but i think it was released publicly by the dev that modified it - either way - replacing the getconfig.php from an original mb release (6.1) didn't work either.
|

Devilen
Caldari Shadovar Inc.
|
Posted - 2011.02.07 22:38:00 -
[4]
Edited by: Devilen on 07/02/2011 22:44:31 If its your own version then there will be more little issue because of the issue in what was changed and what wasnt.
I Can try to help you but I cant say I will fix it but I have updated 6.1 to 8.2 Public and 8.3 private and working on 8.4 currently.
Let me know if you want me to take a look, I will need to have contact with you while its done because you will need to look into the Database. Also this sounds to me like your config Database is corrupted some how to be honest.
Check the config table in the miningbuddy database and the Static database information within the mining buddy code. They HAVE to match up else you are going to have problems.
|

Kelmac
Caldari Navy of Xoc Trading Company Navy of Xoc Investment Alliance
|
Posted - 2011.02.12 05:15:00 -
[5]
You have been using it for a long time. It seems that your cache may be crupted. I actually have the original file that the dev you talk about designed. The best part is the ability to log in all accounts with one E-mail. I also have redesigned a verson of mining buddy I call 9.0, but its not out for release. Here is the code, its a log in problem that is the issue, your trying to log in but the cache info does not match, more then likly just data corption and a full cache reset should do.
function getConfig($var, $forceFresh = false) {
// Globals! Yay! global $DB;
// Check that we have a descriptor. if ($var == "") { makeNotice("Invalid descriptor in getConfig!", "error", "internal Error!"); }
// Sanitize it. $var = sanitize($var);
// Check if the value has been cached, unless forced. if (!$forceFresh) { if (isset ($_SESSION["config_$var"])) { return ($_SESSION["config_$var"]); } }
// Not cached, get from DB. $setting = $DB->getCol("SELECT value FROM config WHERE name='$var' LIMIT 1");
// Cache it. $_SESSION["config_$var"] = $setting[0];
// And return it. //switch($setting[0]){ //case("0"): //return(false); //break; //case("false"): //return(false); //break; //case("1"): //return(true); //break; //case("true"): //return(true); //break; //default: //return($setting[0]); //} return($setting[0]);
}
Just try to clear all your caches, which there are a few, and it should get it up and runnning about. The Problem is its not getting the correct info that is cached.
|

Devilen
Caldari Shadovar Inc.
|
Posted - 2011.02.15 21:10:00 -
[6]
Did you get this resolved?
|

Yuna Aubaris
|
Posted - 2011.03.18 16:40:00 -
[7]
Sorry about hijacking this thread.
"Please set up MiningBuddy first by copying /etc/config-release.php to /etc/config.stargateindustries.x10.mx.php and edit it to suit your needs."
copy that file to where?
I am very confused about this step. It is most likely something obvious.....sadly i dont have database knowledge </3
|

Devilen
Caldari DOUBLE IDENTITY
|
Posted - 2011.03.19 03:23:00 -
[8]
Originally by: Yuna Aubaris Sorry about hijacking this thread.
"Please set up MiningBuddy first by copying /etc/config-release.php to /etc/config.stargateindustries.x10.mx.php and edit it to suit your needs."
copy that file to where?
I am very confused about this step. It is most likely something obvious.....sadly i dont have database knowledge </3
what that means is copy rename the file config-release.php to config.stargateindustries.x10.mx.php in the etc file under your mining buddy install. Configure every part in the file to match the settings you have.
Working on 8.4 almost fixed the last Major kill bug and will have a install script with that version for people to use.
|

Dutch Psycho00
|
Posted - 2011.03.19 15:53:00 -
[9]
any ETA on MB 8.4 devilen im really excited about it. and my corp is loving it since it is real easy to use.
keep us updated please
|

Devilen
Caldari DOUBLE IDENTITY
|
Posted - 2011.03.19 16:29:00 -
[10]
Originally by: Dutch Psycho00 any ETA on MB 8.4 devilen im really excited about it. and my corp is loving it since it is real easy to use.
keep us updated please
Right now the bug we have is due to adding a Weighted Payment System and its causing it to fail so we are looking into why this is going on. Doesn't happen 100% of the time but does about 97%
|

Dutch Psycho00
|
Posted - 2011.03.31 17:15:00 -
[11]
any progress on the update?
|

Devilen
Caldari DOUBLE IDENTITY
|
Posted - 2011.03.31 18:09:00 -
[12]
A update to 8.4 or this patch?
For 8.4 we are working hard but the past few weeks RL is kicked our rears big time!
I will have a Change log soon for 8.4 though on whats fixed and so on soon.
|
| |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |