Same session_prefix in 2 forum (General)

by Tommy Nilsson ⌂, Thursday, November 02, 2017, 08:16 (2357 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


Complete thread:

 RSS Feed of thread