FAQ Overview

Please report bugs here!

Moderator: Thorsten

seri
Posts: 22
Joined: Wed May 11, 2016 3:43 am

FAQ Overview

Post by seri » Thu Jun 16, 2016 12:32 am

Hi
I found that "FAQ Overview" at footer of the pages,All FAQ things are shown unless login.
So guest users can see all FAQs.

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

Re: FAQ Overview

Post by Thorsten » Sat Jun 18, 2016 5:42 pm

Hi,

which permissions did you set?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

seri
Posts: 22
Joined: Wed May 11, 2016 3:43 am

Re: FAQ Overview

Post by seri » Mon Jun 20, 2016 11:56 pm

Hi,
I set "medium" for "Permission Level".

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

Re: FAQ Overview

Post by Thorsten » Tue Jun 21, 2016 7:32 am

Hi,

here's the issue: https://github.com/thorsten/phpMyFAQ/issues/1179

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

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

Re: FAQ Overview

Post by Thorsten » Tue Jun 21, 2016 8:19 pm

Hi,

fixed in 2.9.2. Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

seri
Posts: 22
Joined: Wed May 11, 2016 3:43 am

Re: FAQ Overview

Post by seri » Wed Jul 06, 2016 12:47 am

I upgraded 2.9.2 today and found that it was not fixed yet,
and more, Each "Last update" date are all "1970-01-01 09:00" . :?

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

Re: FAQ Overview

Post by Thorsten » Thu Jul 07, 2016 6:24 pm

Hi,

will check it again, re-opened the issue: https://github.com/thorsten/phpMyFAQ/issues/1179

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

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

Re: FAQ Overview

Post by Thorsten » Thu Jul 07, 2016 7:38 pm

Hi,

I can confirm the date issue, but the permissions are working for me.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

seri
Posts: 22
Joined: Wed May 11, 2016 3:43 am

Re: FAQ Overview

Post by seri » Fri Jul 08, 2016 12:56 am

Here shows what i see.
I'm not loged in, so i can not see the FAQ.
pic1.jpg
But I clicked FAQ Overview, I can see it.
pic2.jpg
You do not have the required permissions to view the files attached to this post.

ndc
Posts: 2
Joined: Wed Jul 20, 2016 2:05 pm

Re: FAQ Overview

Post by ndc » Wed Jul 20, 2016 3:06 pm

Same thing happens here. Anonymous users can see all FAQs (regardless of Group/User permissions) by clicking on "FAQ Overview".

For the time being, I re-pointed the "FAQ Overview" link by modifying index.php

Using phpMyFAQ 2.9.2, Active Directory and "medium" Permission level. Recently upgraded from 2.8.27.

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

Re: FAQ Overview

Post by Thorsten » Wed Jul 20, 2016 3:17 pm

Hi,

should they see nothing?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

ndc
Posts: 2
Joined: Wed Jul 20, 2016 2:05 pm

Re: FAQ Overview

Post by ndc » Wed Jul 20, 2016 4:05 pm

I am not sure about what "FAQ Overview" should return but Anonymous should definitely not see the FAQs he is not authorized to see
When Anonymous tries to access: this is all working as expected

"FAQ Overview" instead seems to ignore permissions and shows ALL FAQs, with a "Last update: 1970-01-01 01:00" label

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

Re: FAQ Overview

Post by Thorsten » Thu Jul 21, 2016 6:57 am

Hi,

okay, thanks, I will check it. The date issue is already fixed for 2.9.3.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

seri
Posts: 22
Joined: Wed May 11, 2016 3:43 am

Re: FAQ Overview

Post by seri » Tue Aug 02, 2016 1:46 am

I upgraded to 2.9.3 and The date is fixed,but the permissions are not fixed.
Here are debug messages.

phpMyFAQ notice [8]: Undefined variable: currentUser in /var/www/html/faq/overview.php on line 37

phpMyFAQ notice [8]: Undefined variable: currentGroups in /var/www/html/faq/overview.php on line 38

phpMyFAQ recoverable error [4096]: Argument 1 passed to PMF_Faq::setGroups() must be of the type array, null given, called in /var/www/html/faq/overview.php on line 38 and defined in /var/www/html/faq/inc/PMF/Faq.php on line 159

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

Re: FAQ Overview

Post by Thorsten » Tue Aug 02, 2016 7:34 pm

Hi,

will be fixed with 2.9.4, released in a couple of minutes. :)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply