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 » Mon Mar 30, 2020 6:47 am

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

Re: Not able to see public page after setup

Post by Thorsten » Mon Mar 30, 2020 6:49 am

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 » Mon Mar 30, 2020 7:01 am

Yes,see screenshot.

Image

Not able to click the hyperlink icon though.

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

Re: Not able to see public page after setup

Post by Thorsten » Mon Mar 30, 2020 11:35 am

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 » Mon Mar 30, 2020 12:16 pm

That was ON, I tried disabling everything under security tab but the settings are not sticking.

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

Re: Not able to see public page after setup

Post by Thorsten » Mon Mar 30, 2020 12:21 pm

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 » Mon Mar 30, 2020 12:54 pm

No, add to that while I click the created faq entry while logged-in I get a 500 error !!!

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

Re: Not able to see public page after setup

Post by Thorsten » 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
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 » Mon Mar 30, 2020 1:09 pm

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

Re: Not able to see public page after setup

Post by Thorsten » Mon Mar 30, 2020 1:12 pm

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 » Mon Mar 30, 2020 1:15 pm

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 » Tue Mar 31, 2020 6:03 am

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 » Tue Mar 31, 2020 6:11 am

Switching to PHP v 7.3 from 7.4 fixed the 500 error, using Litespeed server.

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

Re: Not able to see public page after setup

Post by Thorsten » Tue Mar 31, 2020 6:36 am

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 » Tue Mar 31, 2020 6:40 am

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

Post Reply