Common Problem about the module compatibility anchor.png

This page collects some known problems common to modules that can't work on Cube Legacy 2.1.

Page Top

The module system is uninstalled anchor.png

Page Top

Description anchor.png

Some Xoops2 modules get a module object from the system module. Since, the module "system" is not required by Legacy, it's not installed by default with Legacy package. So you have to install the module "system" to avoid such issues with those modules.

Page Top

Work around anchor.png

You can install the system module into your site.

Page Top

The list of modules which have this problem. anchor.png

  • Gmap
  • blocksadmin

Note:
If you experiment such problem with other modules, please, update this wiki.

Page Top

The text sanitizer class of module anchor.png

Page Top

Description anchor.png

Some modules have the text sanitizer class as a sub-class of MyTextSanitizer class. If the sub-class overrides the constructor with an empty function, it results in a fatal error.

class FooTextSanitizer extends MyTextSanitizer
{
  function FooTextSanitizer()
  {
  }
}

Unfortunately, it's one of the problems that Legacy can't fix.

Page Top

Work around anchor.png

Developers have to call the class constructor.

class FooTextSanitizer extends MyTextSanitizer
{
  function FooTextSanitizer()
  {
    parent::MyTextSanitizer();
  }
}
Page Top

The list of modules with this problem anchor.png

Page Top
XWords anchor.png

Open class/xwords.textsanitizer.php, and modify with the following code:

function XwordsTextSanitizer()
{
  parent::MyTextSanitizer();
}

Front page   Freeze Diff Backup Copy Rename ReloadPrint View   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom) Powered by xpWiki
Counter: 27457, today: 3, yesterday: 4
Princeps date: 2006-09-15 (Fri) 01:35:37
Last-modified: 2007-11-09 (Fri) 17:44:21 (JST) (4057d) by Anonymous

Welcome | News | Overview | Documentation | Forum | Tutorialstop
Brasilian | French | German | Greek | Japanese | Korean | Russian | T-Chinese
Powered by XOOPS Cube 2001-2011 The XOOPS Cube Project