Not able to see public page after setup

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Not able to see public page after setup

Post by dishita »

I installed the script like this - https://www.mydomain.com/faq/ , added one faq but when visiting the url above all I see is a prompt to login. How to make faq's visible publicly.
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Not able to see public page after setup

Post by Thorsten »

Hi,

did you activate them?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Re: Not able to see public page after setup

Post by dishita »

Yes,see screenshot.

Image

Not able to click the hyperlink icon though.
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Not able to see public page after setup

Post by Thorsten »

Hi,

and did you disabled the completely secured FAQ?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Re: Not able to see public page after setup

Post by dishita »

That was ON, I tried disabling everything under security tab but the settings are not sticking.
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Not able to see public page after setup

Post by Thorsten »

Hi,

does it work now?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Re: Not able to see public page after setup

Post by dishita »

No, add to that while I click the created faq entry while logged-in I get a 500 error !!!
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Not able to see public page after setup

Post by Thorsten »

Hi,

is it possible to get access to your FAQ? You can also turn on the DEBUG mode in src/Bootstrap.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Re: Not able to see public page after setup

Post by dishita »

Thorsten wrote: Mon Mar 30, 2020 12:57 pm Hi,

is it possible to get access to your FAQ? You can also turn on the DEBUG mode in src/Bootstrap.php

bye
Thorsten
Sent you PM
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Not able to see public page after setup

Post by Thorsten »

Hi,

thanks. I tried logging in, but I got kicked out every click after the successful login. Looks like your PHP session management is broken.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Re: Not able to see public page after setup

Post by dishita »

Could it be coz I am also logged-in, also this happening with me once after I enabled the DEBUG mode.
dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Re: Not able to see public page after setup

Post by dishita »

Went directly to db, edited the security settings and I can now access the FAQ without login. Error 500 still remains will see what can be done.
dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Re: Not able to see public page after setup

Post by dishita »

Switching to PHP v 7.3 from 7.4 fixed the 500 error, using Litespeed server.
Thorsten
Posts: 15565
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Not able to see public page after setup

Post by Thorsten »

Hi,

this is quite interesting. I’m working with PHP 7.4 on the next version v3.1 and I don’t see any 500 errors. Maybe it’s related with Litespeed.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
dishita
Posts: 10
Joined: Mon Mar 30, 2020 6:41 am

Re: Not able to see public page after setup

Post by dishita »

You should also look into why the save configuration was not working from interface?
Post Reply