[ Reload ]   [ Source ]  [ Top | Page List | Search | Recent | Backup | Help ]

Counter: 25900, today: 1, yesterday: 3

Common Problem about the module compatibility

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

The module system is uninstalled

Description

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.

Work around

You can install the system module into your site.

The list of modules which have this problem.

  • Gmap
  • blocksadmin

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

The text sanitizer class of module

Description

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.

Work around

Developers have to call the class constructor.

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

The list of modules with this problem

  • XWords

XWords

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

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

Reload   Diff Source Attach Attach List   Wiki Top Page List Search Resent Chenges Backup   Help   RSS feed
Page name:XOOPSCubeLegacy/ModuleCompatibility/CommonProblem
Author:minahito [dAKzwn0Lw5c.] - 2007/11/09 17:44:21 JST(3427d)
Last edit:Anonymous - 2007/11/09 17:44:21 JST(3427d)
Editers:Registered Users
Back Link:XOOPSCubeLegacy(2089d) ModuleCompatibility(2089d)

Comment
The comments are owned by the poster. We aren't responsible for their content.

Activity | Contributions



Who's Online
10 user(s) are online (8 user(s) are browsing Wiki)

Members: 0
Guests: 10

more...

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