New Instance Creation Database Naming Bug

Please report bugs here!

Moderator: Thorsten

Post Reply
lexdreitser
Posts: 4
Joined: Mon Feb 09, 2015 9:22 pm

New Instance Creation Database Naming Bug

Post by lexdreitser »

When using the: FAQ Multi-sites - Add a new phpMyFAQ multi site instance - The script creates tables using the subdomain as a prefix (i.e abc.support.com will generate tables like abcfaqdata).
Expected Behavior:
On subsequent new instances, the script creates tables using the subdomain as a prefix (i.e xyz.support.com will generate tables like xyzfaqdata).
Actual Behavior:
On subsequent new instances, the script creates tables concatenating the subdomain with all other subdomains as a prefix (i.e xyz.support.com will generate tables like xyzabcfaqdata).

Peace and Love,
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Instance Creation Database Naming Bug

Post by Thorsten »

Hi,

I'll check it! Thanks for the hint.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Instance Creation Database Naming Bug

Post by Thorsten »

Hi,

you are right, will fix that issue with 2.8.21

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
lexdreitser
Posts: 4
Joined: Mon Feb 09, 2015 9:22 pm

Re: New Instance Creation Database Naming Bug

Post by lexdreitser »

Awesome,
Thank you,
Can you tell me how I can fix it locally? What is the ETA on 2.8.21?
You Rock!
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Instance Creation Database Naming Bug

Post by Thorsten »

Hi,

I have to fix some code, ETA of 2.8.21 is end of february.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Instance Creation Database Naming Bug

Post by Thorsten »

Hi,

this is the fix: https://github.com/thorsten/phpMyFAQ/co ... 70b9578dfa

We're working on a better solution for phpMyFAQ 2.9.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
lexdreitser
Posts: 4
Joined: Mon Feb 09, 2015 9:22 pm

Re: New Instance Creation Database Naming Bug

Post by lexdreitser »

Amazing,
Thank you, great support on a great software product.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Instance Creation Database Naming Bug

Post by Thorsten »

Hi,

thanks for using it! Please note that this is more a hack, a better solution will be added to 2.9.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply