Hey there,
this is my first article in this forum.
I wanted to create groups today for the first time so I changed the permission level in configuration from basic to medium. No I have the problem, that all my faqs are away. I looked at the database; the faqs are still there but I can't see them in front- and backend. I also tried to import my last backup, but when I do so, the permission level is switched back to basic by the system so that I can't work with group support.
EDIT 15.02.2023: Regarding this, I understand now, why it is so. With the import of the backup, the config table item for the permission level is switched back to "basic". But after trying a bit today again, I just see the possibility to install phpmyfaq new. But how do I get back then my faqs?
How can I make the faqs visible for everybody again?
Thank's a lot for your help!
Permission Level Changed - FAQ´s aren't visible
Moderator: Thorsten
-
- Posts: 4
- Joined: Tue Feb 14, 2023 7:31 pm
Re: Permission Level Changed - FAQ´s aren't visible
Hi,
this is strange. Which version do you use?
Is it possible to get a backup of your data?
bye
Thorsten
this is strange. Which version do you use?
Is it possible to get a backup of your data?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 4
- Joined: Tue Feb 14, 2023 7:31 pm
Re: Permission Level Changed - FAQ´s aren't visible
Hey thorsten,
thank's for your reply.
I updated today to Version 3.1.11. I'll send you now a private message with the backup of my data in the basic version. Or do you wish to have a backup of my data, when I switch to medium and nothing works?
EDIT: Sorry, just noticed, that it isn't possible to send attachments in private message. Could I send you the file via e-mail?
thank's for your reply.
I updated today to Version 3.1.11. I'll send you now a private message with the backup of my data in the basic version. Or do you wish to have a backup of my data, when I switch to medium and nothing works?
EDIT: Sorry, just noticed, that it isn't possible to send attachments in private message. Could I send you the file via e-mail?
Re: Permission Level Changed - FAQ´s aren't visible
Hi,
yes, please send it to thorsten AT phpmyfaq DOT de
Thanks!
bye
Thorsten
yes, please send it to thorsten AT phpmyfaq DOT de
Thanks!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 4
- Joined: Tue Feb 14, 2023 7:31 pm
Re: Permission Level Changed - FAQ´s aren't visible
Hi Thorsten,
I sent you an email 3 days ago.
Anyway, I dived again into the source code today and found out the general problem. If the system is switched to "medium", no data is filled into the table "faqdata_group". So I added for all record_ids the group_id "-1" again, and all faqs are visible again.
But with this solution, new problems are coming up. Setting up any restrictions for groups to faq-records isn't possible; so it is possible and everything works fine but if I open the faq-edit-section again, no more restrictions are showen. Another observation about this: The restrictions are working except from showing the right number of faq-records. So, to cut a long story short, very strange observations.
I think, the problem has something to do with the function "queryPermission()" in Faq.php, but I haven't time yet to look at this more accurate and I'm not able to give you a reason for this thought....
I just wanted to give you a short feedback at this time.
I can open an issue at GitHub as well if you want to.
bye
Jan
I sent you an email 3 days ago.
Anyway, I dived again into the source code today and found out the general problem. If the system is switched to "medium", no data is filled into the table "faqdata_group". So I added for all record_ids the group_id "-1" again, and all faqs are visible again.
But with this solution, new problems are coming up. Setting up any restrictions for groups to faq-records isn't possible; so it is possible and everything works fine but if I open the faq-edit-section again, no more restrictions are showen. Another observation about this: The restrictions are working except from showing the right number of faq-records. So, to cut a long story short, very strange observations.
I think, the problem has something to do with the function "queryPermission()" in Faq.php, but I haven't time yet to look at this more accurate and I'm not able to give you a reason for this thought....
I just wanted to give you a short feedback at this time.
I can open an issue at GitHub as well if you want to.
bye
Jan
Re: Permission Level Changed - FAQ´s aren't visible
HI Jan,
sorry, I was busy. I received your mail and I can fix it.
Your observation is correct, that's the issue.
Cheers
Thorsten
sorry, I was busy. I received your mail and I can fix it.
Your observation is correct, that's the issue.
Cheers
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 4
- Joined: Tue Feb 14, 2023 7:31 pm
Re: Permission Level Changed - FAQ´s aren't visible
Hi Thorsten,
thank's a lot for your help. This is awesome!
So I'm waiting eagerly for the next update.... Thank's again!
bye
Jan
thank's a lot for your help. This is awesome!
So I'm waiting eagerly for the next update.... Thank's again!
bye
Jan