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:
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
return preg_replace_callback($regex, array(&$this'quoteConv'), $text10);

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


Ok, Roby

Test this version please:
http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsCore/branches/2.5.x/2.5.4/htdocs/class/module.textsanitizer.php?r1=7992&r2=7991&pathrev=7992

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.

Login

Who's Online

121 user(s) are online (61 user(s) are browsing Support Forums)


Members: 0


Guests: 121


more...

Donat-O-Meter

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

Latest GitHub Commits