Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
7 - 0 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Text sanitizer fix test
by Mithrandir on 2005/8/30 12:51:16

I can't get that error to show up (but I'm on PHP 5.1 so... and I'm not touching our production server that is running PHP 4.3.11) so I'm fighting somewhat in the blind.
Re: Text sanitizer fix test
by phppp on 2005/8/30 12:46:20

I spent some time testing module.textsanitizer.php by switching references, including the above one.

For my case, the problem was tracked down to calling function "codePreConv" and "codeConv" in "function displayTarea()".
I am not sure whether the problem exists in the two/either functions, or references are not used properly in other places and cause error in module.textsanitizer.php.

Was not able to get more time for test.
Text sanitizer fix test
by Mithrandir on 2005/8/30 11:32:43

Another possible fix:

/class/module.textsanitizer.php, line 158
le="color: #000000"><?php function [d]&[/d]xoopsCodeDecode(&$text, $allowimage = 1)

and on line 233:
le="color: #000000"><?php [d]$text =[/d][color=ff0000]return[/color] preg_replace($patterns, $replacements, $text);


Does that fix the fatal error on line 168 as has been reported?

Preferably test this on PHP 4.3.11 or earlier

Who's Online

221 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits