There was a problem loading the comments.

I am getting error after migrating my Mamboo based site from php 5.2 to 5.3. How to resolve

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Resolution for PHP Error "Fatal error: Call to undefined method mosMenu::mosDBTable() in //home/username/public_html/mambo/includes/core.classes.php on line XXXX "

1. Open /include/database.php in an editor.

2. Add the given function just after "var $_db = null;"

  function mosDBTable($table='', $keyname='id', $db='') {
 $this->mosDBAbstractRow ($table, $keyname, $db);
  }

3. Save and upload database.php.

4. If you getting any warning in public_html/includes/Cache/Lite/Function.php,

Replace 
$result = call_user_func_array($target, $arguments);
with
$result = call_user_func_array($target, &$arguments);


Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© Balasai Net Pvt Ltd