11
phppp
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/7/2 1:14

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


So you can confirm the error only occurs to news 1.44 AND persian?

12
irmtfan
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/7/2 16:55

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


i have this problem with news 1.44 and Any language that exceed the maximum allowed characters.

os course persian is utf-8 so maximum characters in persian is one half less than english.

13
irmtfan
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/7/4 18:41

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


an answer needed to this i think important

14
irmtfan
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/7/7 19:44

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:
phppp wrote:
it would be a known issue of PCRE package for PHP


what version of php?
how it can be fixed?
i havent this problem in php5 and mysql5.
just with php 4.4.2

15
phppp
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/7/13 3:21

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Quote:

irmtfan wrote:
i havent this problem in php5 and mysql5.
just with php 4.4.2


Can you confirm with this?

As far as I learn, php 5.0* still has the problem.
PCRE had some enhancement on the issue, not sure if the specific problem is covered, or whether PHP 5.1* has upgraded to the proper PCRE package.

16
irmtfan
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/7/13 4:11

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Yes
in my running site i switch to php5 ( thanks to support) and now the long text works fine
PHP Version 5.1.4
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.6 06-Feb-2006
Mysql Version 4.1.19-standard

now i just have internal server error when someone forgot to end lang tags like:

[en] .....

does it can be solved again?
@ moderator:
plz change the name of this topic to a more sensible one like:

"xlanguage internal server error: news module,long text,open tags"

17
irmtfan
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/7/14 4:59

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


bump
leave language tags open cause the bad html output and 500 error.

in easiestML by Gijoe i dont have this problem so IMO you must take a look

18
domecc
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/8/10 16:11

  • domecc

  • Just popping in

  • Posts: 71

  • Since: 2005/10/30


Quote:

irmtfan wrote:
Quote:
phppp wrote:
it would be a known issue of PCRE package for PHP


what version of php?
how it can be fixed?
i havent this problem in php5 and mysql5.
just with php 4.4.2


I have the problem in my localhost, using WAMP5 1.64:http://www.wampserver.com, php 5.1.4 and MySQL 5.0.22.

But there is no problem in my website host: php 5.1.2 and MySQL - 5.0.19-log.

I use XOOPS 2.0.14 UTF-8, TinyD 2.2, xlanguage 3.0.
How can I fix my localhost's wamp5 bug?
XoopsChina Webmaster

19
irmtfan
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/8/10 19:53

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


humm i dont know about this PCRE problem.
but i can confirm that in php 5.1.4 this problem is back agian!!!
but i dont have the problem with php 5.1.1 and 5.1.2

very strange indeed

the "open tags" in xlanguage is the very important problem because a user can put a open tag and damage all page.

i think now it can be used in non-user base sites.otherwise it is not safe.

20
domecc
Re: xlanguage and mysql 4.0.27: news module return error 500
  • 2006/8/11 1:27

  • domecc

  • Just popping in

  • Posts: 71

  • Since: 2005/10/30


http://www.wampserver.com/phorum/read.php?f=2&i=7528&t=7517

Quote:

Author: CyberSpatium (67.170.181.---)
Date: 08-11-06 01:26

that bug is in php 5.0.0b3 beta3. WAMP uses php 5.1.4
XoopsChina Webmaster

Login

Who's Online

171 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

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

Latest GitHub Commits