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 » Mon Feb 09, 2015 9:35 pm

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: 14710
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Instance Creation Database Naming Bug

Post by Thorsten » Tue Feb 10, 2015 6:21 am

Hi,

I'll check it! Thanks for the hint.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

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

Re: New Instance Creation Database Naming Bug

Post by Thorsten » Tue Feb 10, 2015 6:30 am

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 » Tue Feb 10, 2015 3:55 pm

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: 14710
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Instance Creation Database Naming Bug

Post by Thorsten » Tue Feb 10, 2015 3:56 pm

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: 14710
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: New Instance Creation Database Naming Bug

Post by Thorsten » Wed Feb 11, 2015 6:42 am

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 » Mon Feb 16, 2015 4:49 pm

Amazing,
Thank you, great support on a great software product.

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

Re: New Instance Creation Database Naming Bug

Post by Thorsten » Mon Feb 16, 2015 7:19 pm

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