Search found 38 matches

by KT_
Tue Dec 02, 2025 5:31 pm
Forum: General discussions
Topic: API endpoint to list all tags
Replies: 6
Views: 501

Re: API endpoint to list all tags

(Also, unless I'm totally misremembering, it was just an alphabetical(?) listing of all tags. So really from a user's point of view, looking for help with "X", it functioned more like an index than anything.)
by KT_
Mon Dec 01, 2025 8:53 am
Forum: General discussions
Topic: API endpoint to list all tags
Replies: 6
Views: 501

Re: API endpoint to list all tags

In a perfect world, it would be helpful. In my experience, giving users as many possible starting points for the answer(s) they're looking for always helps.

(That said, I wouldn't want to distract from important work on 4.1 itself. If I ever have the time, I can look into whether I could code it ...
by KT_
Thu Nov 27, 2025 9:37 pm
Forum: General discussions
Topic: API endpoint to list all tags
Replies: 6
Views: 501

Re: API endpoint to list all tags

I misspoke, sorry. Not an API endpoint: a URL path, similar to "/show_categories.html" so that an "All Tags" button will display the list of all available tags, similarly to the way that "All Categories" will show the list of available categories.

I had something like that in a previous (v3.x ...
by KT_
Thu Nov 27, 2025 9:57 am
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

That was it. Thanks.
by KT_
Wed Nov 26, 2025 9:26 pm
Forum: General discussions
Topic: API endpoint to list all tags
Replies: 6
Views: 501

API endpoint to list all tags

At one point there was an API endpoint to list all tags, similarly to the "All Categories" endpoint that currently exists.

Is this no longer available?

(I've looked through the dispatching code and can't see anything, and with a bit of lower-level fiddling I couldn't get something suitable to work ...
by KT_
Wed Nov 26, 2025 9:25 pm
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

Thanks for all the help. I think I've got it mostly working for now.

(Although just FYI, I used the automatic update and it gave me 4.1.0-alpha, at the time. I would imagine it would be best to not include alpha/beta versions in the automatic update check, as there are a couple of lingering issues ...
by KT_
Wed Sep 17, 2025 6:46 am
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

I recreated the faqinstances and faqinstance_config table based on the demo, and it seems to be loading properly.
by KT_
Wed Sep 17, 2025 6:11 am
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

That did help, thanks. I was able to upgrade successfully.

However I have a couple of add-on questions that I'm not sure if they're due to something that didn't work properly during the upgrade:


1. The default view of my admin dashboard (i.e., admin/) shows an error:

phpMyFAQ Fatal error ...
by KT_
Fri Sep 12, 2025 7:42 pm
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

I believe I would have been logged in as I would have just set it to maintenance mode. I'm fairly certain(?) I hadn't updated to 3.2 or later at any point, and the control panel still shows 3.1.7.
by KT_
Fri Sep 12, 2025 6:08 am
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

I rolled back to my 3.1.7. and restored my database from backup as the db seems to have gotten into an unusable state with the incomplete update.

I tried running the update again at that point but if I remember right I got the first (original) error about the unknown 'twofactor_enabled' so I just ...
by KT_
Sat Aug 30, 2025 5:38 pm
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

I added 'twofactor_enabled' to faquserdata and tried again. This time I got:

Update database failed: Duplicate entry 'layout.enableCookieConsent' for key 'faqconfig.PRIMARY'
Screenshot 2025-08-30 at 12.36.04 PM.png
by KT_
Sat Aug 30, 2025 5:38 pm
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

I added 'twofactor_enabled' to faquserdata and tried again. This time I got:

Update database failed: Duplicate entry 'layout.enableCookieConsent' for key 'faqconfig.PRIMARY'
Screenshot 2025-08-30 at 12.36.04 PM.png
by KT_
Sat Aug 30, 2025 7:46 am
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Re: Error updating 3.1.7 to 4.0.10

Actually, when I click on the "check" error in Chrome's Network tab I get:

An error occurred: Unknown column 'twofactor_enabled' in 'field list' at line 311 at /[myserver.com]/kb/src/phpMyFAQ/Database/Mysqli.php

So I guess something is looking for a nonexistent column?
by KT_
Fri Aug 29, 2025 8:21 pm
Forum: General discussions
Topic: Error updating 3.1.7 to 4.0.10
Replies: 15
Views: 29929

Error updating 3.1.7 to 4.0.10

I've been using phpMyFAQ for many years, and try to upgrade regularly. Usually it goes (relatively) smoothly, aside of a few tweaks and bit of debugging here and there. But today I'm running into difficulty updating from 3.1.7 to 4.0.10.

I'm getting an error in update.js, at: await fetch("../api ...
by KT_
Mon Sep 18, 2023 7:31 am
Forum: Webserver and configuration
Topic: Host upgraded PHP from 7.x to 8.2; causes an error
Replies: 2
Views: 30615

Re: Host upgraded PHP from 7.x to 8.2; causes an error

(I mean, it looks like it could be as simple as somehow[?] a column got deleted from faquser. I could try re-adding it, but I'm not sure what type it's supposed to be, etc.)