Skip to Content.
Sympa Menu

en - Re: [sympa-users] problems with archives / parse error

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Andreas at WRI - List email <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] problems with archives / parse error
  • Date: Fri, 07 Apr 2006 17:24:24 +0200

We were able to reproduce this problem ; it happens under the following circumstances :
  • web_archive_spam_protection list parameter set to 'at' or '_javascript_'
  • using mhonarc 2.6.14 or higher
Apparently mhonarc's behavior has changed to apply the ADDRESSMODIFYCODE (we use it to protect email addresses in web archives) not only to the message body but also to header fields. Because of that the code that goes arround email addresses also appears in TT2 conditions that are broken.

We need to either ask mhonarc author to change this behavior (or provide a customizeable behavior) or we'll have to change a few things in Sympa. In the meanwhile, don't upgrade your mhonarc release !

Andreas at WRI - List email wrote:
I'm using the original one (and made this sure) - we never customised it.

The logs say:
Apr  6 15:35:16 lists archived[29480]: Rebuilding  $arc with
M2H_ADDRESSMODIFYCODE :
s|^([^@]+)@([^@]+)$|(dfc9aaf65a%hidden_head%dfc9aaf65a)$1(dfc9aaf65a%hidden_at%dfc9aaf65a)$2(dfc9aaf65a%hidden_end%dfc9aaf65a)|g
Apr  6 15:35:16 lists archived[29480]: Rebuilding
address@concealed archive completely

Then the mentioned error message, when I look at an archived message....

The old archives from our old sympa can be viewed without problems,
unless I rebuild them.

Andreas

Olivier Salaün - CRU wrote:
  
We have a pre 5.2 running on our mail server and we don't have such
errors.

If it still happens though you rebuilt the web archives, it probably
means that you are using a custom bug buggy mhonarc-ressources.tt2
file. Try removing this file to use the default mhonarc-ressources.tt2
that comes with Sympa.

address@concealed wrote:

    
 I'm moving a sympa installation, previously 5.1a, to a new server,
and I'm trying to install 5.2b . However, there is a problem, which
is supposed to be fixed in 5.2b, but maybe the installation is a bit
messed up.

With NEW archives (or after rebuilding) I get the following error
message when clicking on a message to view it:

#--
Sympa could not deliver the requested page for the following reason :
file error - parse error - msg00000.html line 48: unexpected token
('(dfc9aaf65a%hidden_head) [% IF user.email ==
'(dfc9aaf65a%hidden_head %]

Please contact the listmaster.
#--

Does anyone have an idea how this can be solved? This is presently a
major obstacle for moving to our new server...
 

      




Archive powered by MHonArc 2.6.19+.

Top of Page