Same session_prefix in 2 forum (General)

by Tommy Nilsson ⌂, Tuesday, October 24, 2017, 08:55 (2347 days ago)

There is a slight error in my database setup.
I have the same session_prefix in 2 different forum which gives some strange user behaviors.
I have 2 forum in 1 database on 1 domain:

Forum1:
database-table-prefix: xf1_
settings: session_prefix: mlf2_

Forum2:
database-table-prefix: mlf2_
settings: session_prefix: mlf2_

I changed the Forum1 session_prefix to: xf1_ but then I could not log in as admin.
What is the safest way to solve this problem?
Does the session_prefix have to be the same as the database-table-prefix?

/Tommy

Same session_prefix in 2 forum

by Tommy Nilsson ⌂, Monday, October 30, 2017, 19:32 (2341 days ago) @ Tommy Nilsson

I changed the Forum1 session_prefix to: xf1_ but then I could not log in as admin.
What is the safest way to solve this problem?
Does the session_prefix have to be the same as the database-table-prefix?


Ok, I solved this - apparently there are no corrolation between session_prefix and database-table-prefix?

/Tommy

Avatar

Same session_prefix in 2 forum

by Micha ⌂, Tuesday, October 31, 2017, 09:24 (2340 days ago) @ Tommy Nilsson

Hi Tommy,

there are no corrolation between session_prefix and database-table-prefix?

No, there aren't.

/Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Avatar

Same session_prefix in 2 forum

by Auge ⌂, Tuesday, October 31, 2017, 13:04 (2340 days ago) @ Tommy Nilsson

Hello

I changed the Forum1 session_prefix to: xf1_ but then I could not log in as admin.
What is the safest way to solve this problem?
Does the session_prefix have to be the same as the database-table-prefix?


Ok, I solved this

Please describe the steps you took to solve the problem. I know, there are several threads about this subject here in the deep of the project forum. I for myself never tried to install two or more forums on one host, that shares parts of the database tables, so everything I could offer, is half knowledge.

I wish to include a description, what to do, into the project wiki. So I would appreciate a "fresh" description from a practitioner. :-)

Thanks in advance and tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Same session_prefix in 2 forum

by Tommy Nilsson ⌂, Thursday, November 02, 2017, 08:16 (2338 days ago) @ Auge

Hello

I changed the Forum1 session_prefix to: xf1_ but then I could not log in as admin.
What is the safest way to solve this problem?
Does the session_prefix have to be the same as the database-table-prefix?


Ok, I solved this


Please describe the steps you took to solve the problem. I know, there are several threads about this subject here in the deep of the project forum. I for myself never tried to install two or more forums on one host, that shares parts of the database tables, so everything I could offer, is half knowledge.

I wish to include a description, what to do, into the project wiki. So I would appreciate a "fresh" description from a practitioner. :-)

Thanks in advance and tschö, Auge

- Install Forum1
- Install Forum2 and remember to choose another database-table-prefix. (I believe mlf_ is default)
- Check that session_prefix in the table mlf_sessions is different in the 2 installations. (somehow I ended up having the same session_prefix which gave some weird behaviors).
- This should result in 2 completely separate installations of the forum on the same domain.

- If you end up having the same session_prefix in the 2 installations do this:
- Log off as Administrator
- Change the session_prefix in the table mlf_sessions to xyz_ in the forum that you have logged off from
- Reboot pc to clear cache and sessions
- Log on as Administrator and you are good to go

To whom to I send danish.lang and swedish.lang?

/Tommy

Avatar

new language, additions

by Auge ⌂, Monday, February 05, 2018, 13:19 (2243 days ago) @ Tommy Nilsson

Hello Tommy

To whom to I send danish.lang and swedish.lang?

If you are still interested to contribute to the project with your language files, please send the files to me (auge8472@web.de).

Thank you in advance, tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

Avatar

new language, additions

by Auge ⌂, Friday, November 16, 2018, 08:12 (1959 days ago) @ Tommy Nilsson

Hello

I have translated the new texts for version 2.4.13 to danish:
https://www.signalposten.dk/forum/lang/danish.lang

Thank you for your work. I took the language file from your server and will merge your changes into the repository this weekend.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

RSS Feed of thread