Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa Cookie Question

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Serge Aumont <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] Sympa Cookie Question
  • Date: Mon, 25 Oct 2010 14:47:29 +0200

Le 10/19/10 10:30 PM, Christian Dahlhausen a écrit :
Dan,
I am afraid you will have to manually customize the new (v6.0.5) web_tt2 files to match your old interface. There has been some significant changes between the 5 and 6 version of Sympa. I had the same trouble after the upgrade.
The new web_tt2 files also include some of the new features of 6.0.5.
I agree about this idea.

Christian

On Mon, Oct 18, 2010 at 10:38 AM, Dan Milunus <address@concealed <mailto:address@concealed>> wrote:

I have successfully installed Sympa 6.0.5 and I am running into an
issue customizing the interface. I have an older server running
5.3 and for some reason when I copy the tt2 files from the 5.3
web_tt2 server replacing all of the files in the 6.0.5 web_tt2
server I start receiving a cookie error on all client machines.
So far I have not been able to discover what is causing this
cookie error. If I replace the tt2 files with the original ones
that shipped with 6.0.5 the cookie error goes away but my custom
look and feel is also gone. Any help would be appreciated.

The reason why you have an error message about cookies is because cookie name has changed in version 6. Now there is only one cookie that is a session id, all others session attributes are stored in database (session_table). V5 templates include a javascript check in order to identify browsers that do not support cookies. This script probably do not use the same cookie name.

grep will help you to find that javascript ;-)

The right way to do web tt2 migration when upgrading sympa is to respect sympa install process. This way old templates are ignored unless there are customized. Of course this suppose that you never modify templates in the default location where they are overrighten by "make install". The correct method to customize web_tt2 templates is to copy them in ~sympa/etc/web_tt2 or ~sympa/etc/<some domaine>/web_tt2 and then customize it.


Serge Aumont



Archive powered by MHonArc 2.6.19+.

Top of Page