1
cronywell
newbb 5.0 error
  • 4/29 17:48

  • cronywell

  • Just popping in

  • Posts: 1

  • Since: 4/29 17:37


Hello I need help, in the forum module newbb 5.0 comes out: Error : Error: Class 'XoopsLocalAbstract' not found How can I solve it?

2
Mamba
Re: newbb 5.0 error

What version of XOOPS and PHP do you use? This should had nothing to do with NewBB, but more with XOOPS. I would suggest to download the latest XOOPS Code and the NewBB 5.1 Beta 5 and have a fresh installation. I suspect, it has something to do with your local language file. The class XoopsLocalAbstract is located in /class/xoopslocal.php, and is being called in /language/english/locale.php
if (!class_exists('XoopsLocalAbstract')) {
    include_once 
XOOPS_ROOT_PATH '/class/xoopslocal.php';
}

/**
 * A Xoops Local
 *
 * @package             kernel
 * @subpackage          Language
 *
 * @author              Taiwen Jiang <phppp@users.sourceforge.net>
 * @copyright       (c) 2000-2016 XOOPS Project (www.xoops.org)
 */
class XoopsLocal extends XoopsLocalAbstract
{
    
/**
     * Number Formats
     *
     * @param  unknown_type $number
     * @return mixed
     */
    
public function number_format($number)
    {
        return 
number_format($number2'.'',');
    }

    
/**
     * Money Format
     *
     * @param  string $format
     * @param  string $number
     * @return money  format
     */
    
public function money_format($format$number)
    {
        
setlocale(LC_MONETARY'en_US');

        return 
money_format($format$number);
    }
}
Once you download the latest XOOPS code, you might compare your /language/spanish/locale.php to the /language/english/locale.php and see if there is any difference.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Username:
Password:

Lost Password? Register now!

Who's Online

60 user(s) are online (35 user(s) are browsing Support Forums)


Members: 0


Guests: 60


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits