latest entries don't show after being logged in
Moderator: Thorsten
latest entries don't show after being logged in
Hi,
just updated from 2.8.0 to the newest 2.8.1 and noticed a possible bug in regards to the "latest entries" list . When not logged in, the latest entries list displays correctly and shows the most recent 5 entries. After I log in, the latest entries list gives the message "Es gibt noch keine Einträge" (there are no entries as of yet). Even after adding a FAQ, this remains the same. After logging out, the newest entries list is displayed again and the new entry is also shown.
I did check the situation also with the "default" template set ... it's the same.
Cheers,
Wolfgang
The situation can be viewed at 2 screenshots: http://faq.bibelcenter.de/2.8.1.loggedout.jpg and http://faq.bibelcenter.de/2.8.1.loggedin.jpg
just updated from 2.8.0 to the newest 2.8.1 and noticed a possible bug in regards to the "latest entries" list . When not logged in, the latest entries list displays correctly and shows the most recent 5 entries. After I log in, the latest entries list gives the message "Es gibt noch keine Einträge" (there are no entries as of yet). Even after adding a FAQ, this remains the same. After logging out, the newest entries list is displayed again and the new entry is also shown.
I did check the situation also with the "default" template set ... it's the same.
Cheers,
Wolfgang
The situation can be viewed at 2 screenshots: http://faq.bibelcenter.de/2.8.1.loggedout.jpg and http://faq.bibelcenter.de/2.8.1.loggedin.jpg
Re: latest entries don't show after being logged in
Hi,
can you send me a database dump of your FAQ? I cannot reproduce this.
bye
Thorsten
can you send me a database dump of your FAQ? I cannot reproduce this.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: latest entries don't show after being logged in
Thorsten
Cheers,
Wolfgang
the databse dump is on its way to you via email ...Thorsten wrote:Hi,
can you send me a database dump of your FAQ? I cannot reproduce this.
Cheers,
Wolfgang
Re: latest entries don't show after being logged in
I have the same problem. But I never can see these entries (logged in or logged out).
Re: latest entries don't show after being logged in
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: latest entries don't show after being logged in
It doesn't work for me
Re: latest entries don't show after being logged in
Hi,
already updated to 2.8.1?
bye
Thorsten
already updated to 2.8.1?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: latest entries don't show after being logged in
Yes, I'm running on 2.8.1.
I've checked the generated SQL. There I got group_id = NULL for every entry. I can't setup groups in the admin-area and the table faqgroup is empty (I found /admin/index.php?action=group by try and error, but I can't add a new group - is this an upcoming feature?).
So I removed the check against groups in the functions getLatestData() and getTopTenData()
and now it works for me.
Best regards,
Stefan
I've checked the generated SQL. There I got group_id = NULL for every entry. I can't setup groups in the admin-area and the table faqgroup is empty (I found /admin/index.php?action=group by try and error, but I can't add a new group - is this an upcoming feature?).
So I removed the check against groups in the functions getLatestData() and getTopTenData()
Code: Select all
remove:
|| !in_array($row->group_id, $this->groups)
Best regards,
Stefan
Re: latest entries don't show after being logged in
Hi,
do you have basic or medium permissions?
bye
Thorsten
do you have basic or medium permissions?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: latest entries don't show after being logged in
I don't know, what's the difference between them?!
I've tested it with an admin-user and with the anonymous user. I think the empty group table could be the solution for it.
I've tested it with an admin-user and with the anonymous user. I think the empty group table could be the solution for it.
Re: latest entries don't show after being logged in
HI,
no, I ask for what you have set in the main configuration in the admin section.
bye
Thorsten
no, I ask for what you have set in the main configuration in the admin section.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: latest entries don't show after being logged in
It was set to basic.
Re: latest entries don't show after being logged in
Hi,
thanks, I'll check it.
bye
Thorsten
thanks, I'll check it.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: latest entries don't show after being logged in
Hi,
I had the same issue.
My web host fisharebest said :
I had the same issue.
My web host fisharebest said :
The patch in GitHub does not help.
But the patch suggested by StefaniG appears to work well.
http://www.tetreaugenealogie.org/phpmyfaq/
Re: latest entries don't show after being logged in
Hi,
I have one additional hint. The fix
which should be removed.
Best regards,
Stefan
I have one additional hint. The fix
is echoing at line 1999Thorsten wrote:https://github.com/thorsten/phpMyFAQ/co ... f17d441408
Code: Select all
echo 'latest';
Best regards,
Stefan