Skip to Content.
Sympa Menu

en - Re: [sympa-users] Parse error in viewing archives

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Kazuo Moriwaka <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Parse error in viewing archives
  • Date: Thu, 17 Nov 2005 18:10:36 +0900 (JST)

Thank you for your report. I get the problem!

This is caused by nesting tags.


In mhonarc-resources.tt2:396 (in sympa 5.0.1):

($tag$% IF user.email == '$FROMADDR$' %$tag$)

This line is converted ( by archived.pl and mhonarc ) as:

(cf9e863e7c% IF user.email ==
'(cf9e863e7c%hidden_head%cf9e863e7c)kadri(cf9e863e7c%hidden_at%cf9e863e7c)vykk.vil.ee(cf9e863e7c%hidden_end%cf9e863e7c)'
%cf9e863e7c)

An opening tag '(cf9e863e7c%' is closed at first close tag
'%cf9e863e7c)' which is before 'kadri'.
It supply a string ' IF user.email == '(cf9e863e7c%hidden_head' to
template engine. This is meaningless for template engine.

To workaround this problem, set 'web_archive_spam_protection' option
as 'none'. (This way has some risks for spam.)

regards,


From: "Tanel" <address@concealed>
Subject: Re: [sympa-users] Parse error in viewing archives
Date: Thu, 17 Nov 2005 10:10:32 +0200 (EET)

> > Can you give me the sample file 'msg0????.html' and text archive file
> which causes same errors? I think it maybe help for solve the problem.
> >
> > regards,
> > --
> > Kazuo Moriwaka <address@concealed>
> >
>
> Hi!
> I'm getting the same errors:
>
> Sympa could not deliver the requested page for the following reason : file
> error - parse error - msg00003.html line 84: unexpected token
> ('(cf9e863e7c%hidden_head) [% IF user.email == '(cf9e863e7c%hidden_head %]
>
> So I post my list's november archive folder from /usr/local/sympa/arc/
> I am using MhonArc 2.6.15 and Sympa 5.0.1, also have tried Sympa 5.1 with
> no luck. Archive is in attachment.
>
> Maybe anyone can help.
>
> tanel



Archive powered by MHonArc 2.6.19+.

Top of Page