Empty FAQ pages

Please report bugs here!

Moderator: Thorsten

DJinnzNathan
Posts: 2
Joined: Sat Jun 06, 2020 7:37 pm

Empty FAQ pages

Post by DJinnzNathan »

Hello,

I have recently installed a fresh version 3.0.3. After a while I have found out, that if I use "SEO-friendly URL", the FAQ entries are not being shown. Only a blank page is being shown, there is not even a single HTML-Code.

I have then reinstalled it again and have avoided this option. After I have answered questions by creating a new FAQ base on that, I have now the same result as previously. I wasn't even able to make further edits of the question beside of the title.

I don't exactly know, what information would be helpful to fully understand.

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

Re: Empty FAQ pages

Post by Thorsten »

Hi,

did you try to enable the DEBUG mode in src/Bootstrap.php?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
DJinnzNathan
Posts: 2
Joined: Sat Jun 06, 2020 7:37 pm

Re: Empty FAQ pages

Post by DJinnzNathan »

Hello,

thank you for your reply. I've now enabled debug-mode. I've tried to access the FAQ again and this error appeared:

Code: Select all

Fatal error: Uncaught TypeError: Return value of phpMyFAQ\Search\Database\Mysqli::search() must be an instance of mysqli_result, bool returned in /homepages/******/******/htdocs/faq/src/phpMyFAQ/Search/Database/Mysqli.php:121 Stack trace: #0 /homepages/******/******/htdocs/faq/src/phpMyFAQ/Relation.php(92): phpMyFAQ\Search\Database\Mysqli->search('Wie kann ich mi...') #1 /homepages/******/******/htdocs/faq/faq.php(178): phpMyFAQ\Relation->getAllRelatedById('2', 'Wie kann ich mi...', '') #2 /homepages/******/******/htdocs/faq/index.php(709): require('/homepages/33/d...') #3 {main} thrown in /homepages/******/******/htdocs/faq/src/phpMyFAQ/Search/Database/Mysqli.php on line 121
What could be the problem causing the error?

Thank you
Nathan
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Empty FAQ pages

Post by Thorsten »

Hi,

this is a bug, I'll add a bug report for this.

Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mayer2600
Posts: 8
Joined: Tue Sep 28, 2021 1:37 pm

Re: Empty FAQ pages

Post by mayer2600 »

Hello,

I have the same Problem now, without changing something in Code or Database.

What do I have to do with this error?

I can't find a bug report for this on the board.

If you have a solution , it would be great . Thank you!
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Empty FAQ pages

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mayer2600
Posts: 8
Joined: Tue Sep 28, 2021 1:37 pm

Re: Empty FAQ pages

Post by mayer2600 »

Hey Thorsten,

my version is 3.0.9

Here you can see the Problem live:
https://oralchirurgie-haidhausen.de/faq ... ?sid=27395

Thank you
Alfred
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Empty FAQ pages

Post by Thorsten »

Hi,

did you or your web hoster change the PHP version?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mayer2600
Posts: 8
Joined: Tue Sep 28, 2021 1:37 pm

Re: Empty FAQ pages

Post by mayer2600 »

Hey Thorsten,

For Sure it can be so. It is PHP Version 7.4 by Strato AG in Germany.

Should I change the PHP Version down to 7.3?

This is a managed hosted Webspace.

Thanks.

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

Re: Empty FAQ pages

Post by Thorsten »

Hi,

yes, please try that.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mayer2600
Posts: 8
Joined: Tue Sep 28, 2021 1:37 pm

Re: Empty FAQ pages

Post by mayer2600 »

Hi,

it does not affekt. The problem still persists.

I have created a phpinfo file see here:

https://oralchirurgie-haidhausen.de/faq/phpinfo.php

Can you see a faulty configured option?
mayer2600
Posts: 8
Joined: Tue Sep 28, 2021 1:37 pm

Re: Empty FAQ pages

Post by mayer2600 »

Hello,

should i do a new installation of phpmyfaq and restore the old Database? Maybe it can help?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Empty FAQ pages

Post by Thorsten »

Hi,

do you have exactly the same error message?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mayer2600
Posts: 8
Joined: Tue Sep 28, 2021 1:37 pm

Re: Empty FAQ pages

Post by mayer2600 »

Hello Thorsten,

the solution was that i have set up new phpfaq version. Imported the old data to the new table. Then exported the new faqdata table and then imported the table to the old installation.
I think during the update process from admin panel there was a issue updating existing table faqdata.

here the fixed site:
https://oralchirurgie-haidhausen.de/faq ... artlang=de

best regards

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

Re: Empty FAQ pages

Post by Thorsten »

Hi Alfred,

looks awesome now!

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