2 separate FAQ's on 1 server
Moderator: Thorsten
-
- Posts: 13
- Joined: Fri Apr 06, 2012 1:53 pm
2 separate FAQ's on 1 server
I have the following situation (see picture).
When user1 logs into FAQ1 all is fine. However, if he logs into FAQ2 and then does something in FAQ1, he gets kicked out of that one and vice versa.
Is this situation possible at all? Or do I have to make changes?
I have discovered that for each login into a PHPMyFAQ it generates 2 cookies;
Site: 10.0.0.1 with cookiename pmf_sid (for every FAQ instance)
Site: 10.0.0.1 with cookiename pmf_auth (once)
For each FAQ it writes a pmf_sid, but it only writes the pmf_auth once.
When user1 logs into FAQ1 all is fine. However, if he logs into FAQ2 and then does something in FAQ1, he gets kicked out of that one and vice versa.
Is this situation possible at all? Or do I have to make changes?
I have discovered that for each login into a PHPMyFAQ it generates 2 cookies;
Site: 10.0.0.1 with cookiename pmf_sid (for every FAQ instance)
Site: 10.0.0.1 with cookiename pmf_auth (once)
For each FAQ it writes a pmf_sid, but it only writes the pmf_auth once.
You do not have the required permissions to view the files attached to this post.
Re: 2 separate FAQ's on 1 server
Hi,
we're working on this issue for phpMyFAQ 2.8
bye
Thorsten
we're working on this issue for phpMyFAQ 2.8
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 13
- Joined: Fri Apr 06, 2012 1:53 pm
Re: 2 separate FAQ's on 1 server
Hi Thorsten,
Good to know
Will this be in a beta version first?
I'd be happy to test it for you.
Kind regards,
Peter
Good to know
Will this be in a beta version first?
I'd be happy to test it for you.
Kind regards,
Peter
Re: 2 separate FAQ's on 1 server
Hi,
the plan is to get it done with the second alpha release. We had to refactor a lot of code to create this multi site scenario. Our version will share the same code so that you can install multiple FAQs with one installation.
bye
Thorsten
the plan is to get it done with the second alpha release. We had to refactor a lot of code to create this multi site scenario. Our version will share the same code so that you can install multiple FAQs with one installation.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 13
- Joined: Fri Apr 06, 2012 1:53 pm
Re: 2 separate FAQ's on 1 server
Does this mean that I need to adjust the existing installations I have and need to do serious data export/import or that I can simply upgrade to version 2.8 when it comes out?
Right now I have I have a XAMPP install like this:
Right now I have I have a XAMPP install like this:
You do not have the required permissions to view the files attached to this post.
Re: 2 separate FAQ's on 1 server
Hi,
this can be done for 2.8, but it will require some hand work...
bye
Thorsten
this can be done for 2.8, but it will require some hand work...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: 2 separate FAQ's on 1 server
Hi,
phpMyFAQ 2.8.0-alpha2 now supports this, you can test it if you like.
bye
Thorsten
phpMyFAQ 2.8.0-alpha2 now supports this, you can test it if you like.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 13
- Joined: Fri Apr 06, 2012 1:53 pm
Re: 2 separate FAQ's on 1 server
I have the 2.8.0 RC running on my Synology NAS now.
I'm trying to figure out how the multi-site feature works.
Do I manually need to create the folders for the 2nd instance and then tell PMF to make a 2nd instance so it can write stuff to that folder?
I'll try out more stuff, but I like the new look of the 2.8 version. Much more clean looking, good job!
I'm trying to figure out how the multi-site feature works.
Do I manually need to create the folders for the 2nd instance and then tell PMF to make a 2nd instance so it can write stuff to that folder?
I'll try out more stuff, but I like the new look of the 2.8 version. Much more clean looking, good job!
Re: 2 separate FAQ's on 1 server
Hi,
yes, it creates the new folders automatically but there's a bug for the multi site feature in the RC. Here's the fix: https://github.com/thorsten/phpMyFAQ/co ... c9ad1f0f55
RC2 is in the works
bye
Thorsten
yes, it creates the new folders automatically but there's a bug for the multi site feature in the RC. Here's the fix: https://github.com/thorsten/phpMyFAQ/co ... c9ad1f0f55
RC2 is in the works
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 13
- Joined: Fri Apr 06, 2012 1:53 pm
Re: 2 separate FAQ's on 1 server
Thanks for your reply. I'm gonna try out the RC2.