2 separate FAQ's on 1 server

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

2 separate FAQ's on 1 server

Post by powerburner » Tue May 15, 2012 4:03 pm

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.
You do not have the required permissions to view the files attached to this post.

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2 separate FAQ's on 1 server

Post by Thorsten » Wed May 16, 2012 8:14 am

Hi,

we're working on this issue for phpMyFAQ 2.8

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

Re: 2 separate FAQ's on 1 server

Post by powerburner » Wed May 16, 2012 8:20 am

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

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2 separate FAQ's on 1 server

Post by Thorsten » Wed May 16, 2012 8:24 am

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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

Re: 2 separate FAQ's on 1 server

Post by powerburner » Wed May 16, 2012 1:00 pm

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:
installation.png
You do not have the required permissions to view the files attached to this post.

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2 separate FAQ's on 1 server

Post by Thorsten » Wed May 16, 2012 4:05 pm

Hi,

this can be done for 2.8, but it will require some hand work...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2 separate FAQ's on 1 server

Post by Thorsten » Fri Aug 31, 2012 6:55 am

Hi,

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

powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

Re: 2 separate FAQ's on 1 server

Post by powerburner » Sat Feb 16, 2013 3:17 pm

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! :)

Thorsten
Posts: 14793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: 2 separate FAQ's on 1 server

Post by Thorsten » Sun Feb 17, 2013 12:30 pm

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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

powerburner
Posts: 13
Joined: Fri Apr 06, 2012 1:53 pm

Re: 2 separate FAQ's on 1 server

Post by powerburner » Fri Mar 08, 2013 6:19 pm

Thanks for your reply. I'm gonna try out the RC2.

Post Reply