I'm using XOOPS 2.3.x and when installed Pical the following message appeared on the page of the module:
Page:
http://sulinvest.com/modules/piCal/Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /home/janer/public_html/class/module.textsanitizer.php on line 619
How can this message does not appear on this page because the module is very useful.
Thank you
Just ignore it.
...
Thanks Arts and GIJOE
I update this site to xoops 232b and this problem is solved.
See at page:
http://sulinvest.com/modules/piCal/Bye bye
I'm having the same issue and just installed a clean xoops 2.3.3.
What settings need changing to remove these warnings from the top of the page? I'm guessing this is a bug reporting message that can be turned off.
The are the warnings I getting:
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /public_html/cubs/comm/class/module.textsanitizer.php on line 665
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /public_html/cubs/comm/class/module.textsanitizer.php on line 665
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /public_html/cubs/comm/class/module.textsanitizer.php on line 665
Warning: MyTextSanitizer::makeTboxData4Show is deprecated in /public_html/cubs/comm/class/module.textsanitizer.php on line 665
The xoops is set to debug off. I tried turning it on in a couple capacities and then turning it off again add the warning still show up.
Is there a config. file I can adjust?
Below are the settings in the /include/common.php
--------
// #################### Error reporting settings ##################
if ( $xoopsConfig['debug_mode'] == 1 || $xoopsConfig['debug_mode'] == 2 ) {
error_reporting(E_ALL);
$xoopsLogger->enableRendering();
$xoopsLogger->usePopup = ( $xoopsConfig['debug_mode'] == 2 );
} else {
error_reporting(0);
$xoopsLogger->activated = false;
}
$xoopsSecurity->checkBadips();
---------
Thanks vietnam. That worked.
Quote:
return $myts->makeTboxData4Show( $data ) ;
change
return $data;
suggest:
return htmlSpecialChars($data);
look at \class\module.textsanitizer.php
for other deprecated in new Xoops