11
trabis
Re: Module PM 1.06
  • 2011/10/27 18:37

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Hi Roby, is the problem in pm module only? Did you tested nested quotes in other modules or in blocks?
Did you test it with utf8?

Can you replace line 404 with:
le="color: #000000"><?php return preg_replace_callback($regex, array(&$this, 'quoteConv'), $text);

12
Roby73
Re: Module PM 1.06
  • 2011/10/27 22:42

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


I tried too utf8, but do not work.

The problem is only in pm with many tag quote.
I tried in different online server and in local LAMP. result is "internal server error" or download viewpmsg.php.

I have many users with this problem, all errors are in long pm with many quote.

I modified with your code, the problem do not resolved. .

13
trabis
Re: Module PM 1.06
  • 2011/10/27 23:15

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Try set a limit for quotes
le="color: #000000"><?php return preg_replace_callback($regex, array(&$this, 'quoteConv'), $text, 10);

14
Roby73
Re: Module PM 1.06
  • 2011/10/28 1:30

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Don't work .
Thank you very much for your help.


15
trabis
Re: Module PM 1.06
  • 2011/10/29 13:28

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1



16
Roby73
Re: Module PM 1.06
  • 2011/10/29 22:19

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Thank you very much trabis.
New function in module.textsanitizer.php solves all problems with the tag quote.

Grazie.
Roberto.