1
Mox20
Asked about some messages debug
  • 2008/12/28 1:02

  • Mox20

  • Just popping in

  • Posts: 16

  • Since: 2008/12/13


Good evening,
Following an updated version 2.0.18 to 2.3.2b I had some error messages with certain modules with xcgal example:

WarningMyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning
MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning
MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning
MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642
Warning
MyTextSanitizer::makeTboxData4Show is deprecated in file /class/module.textsanitizer.php line 642



The 642 line is in the function below:

function makeTboxData4Show($text$smiley=0)

    {

        
trigger_error(__CLASS__."::".__FUNCTION__.' is deprecated'E_USER_WARNING);

        
$text $this->htmlSpecialChars($text);

        return 
$text;

    }


I just see that these messages appear only on pages containing images.

These messages are numerous, but the modules operate normally at first sight. Someone has information on these messages?


Sorry for my bad English,
is a translation google

2
trabis
Re: Asked about some messages debug
  • 2008/12/28 2:06

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Those are warnings for module developers and you should not worry about them. That means that your modules are not 100% compatible with XOOPS 2.3 but they should work fine anyway(SHOULD).

3
Mox20
Re: Asked about some messages debug
  • 2008/12/28 2:11

  • Mox20

  • Just popping in

  • Posts: 16

  • Since: 2008/12/13



Ok, thank you trabi

4
kerkyra
Re: Asked about some messages debug
  • 2009/3/22 12:48

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


hey mate i get that kind of notices too, how should we change the code in order to make it 100% compatible with 2.3? It happens the same with xoopstree. Are there any examples/guidelines on the subject? Could someone give an example?
whttp://www.guidemap.gr - Beta is out...

Login

Who's Online

347 user(s) are online (237 user(s) are browsing Support Forums)


Members: 0


Guests: 347


more...

Donat-O-Meter

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

Latest GitHub Commits