When debugging on, I get:
Fatal error: Cannot redeclare class Category in /home/maispira/www/modules/newbb/class/category.php on line 62
This is the entire class of the file:
class Category extends XoopsObject {
var $db;
var $table;
var $groups_cat_access;
function Category()
{
$this->db = &Database::getInstance();
$this->table = $this->db->prefix("bb_categories");
$this->initVar('cat_id', XOBJ_DTYPE_INT);
$this->initVar('pid', XOBJ_DTYPE_INT, 0);
$this->initVar('cat_title', XOBJ_DTYPE_TXTBOX);
$this->initVar('cat_image', XOBJ_DTYPE_TXTBOX);
$this->initVar('cat_description', XOBJ_DTYPE_TXTAREA);
$this->initVar('cat_order', XOBJ_DTYPE_INT);
$this->initVar('cat_state', XOBJ_DTYPE_INT);
$this->initVar('cat_url', XOBJ_DTYPE_URL);
$this->initVar('cat_showdescript', XOBJ_DTYPE_INT);
}
function imgLink()
{
global $xoopsModule;
$ret = "
" . "";
return $ret;
}
function textLink()
{
global $xoopsModule;
$ret = "
" . $this->getVar('cat_title') . "";
return $ret;
} //THIS IS LINE 62
} //THIS IS LINE 63
Really I've noticed that it beguns after installing the newbb