Search found 24 matches

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: 2266

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.)
by KT_
Sat Sep 16, 2023 7:32 pm
Forum: Webserver and configuration
Topic: Host upgraded PHP from 7.x to 8.2; causes an error
Replies: 2
Views: 2266

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

The server host (DreamHost) has upgraded PHP 7.x to 8.2. Now our phpMyFaq installation throws an error when attempting to search: mod_fcgid: stderr: phpMyFAQ mysqli_sql_exception: Unknown column 'remember_me' in 'where clause' in /<path-to-phpmyfaq>/src/phpMyFAQ/Database/Mysqli.php on line 357 mod_f...
by KT_
Wed Nov 02, 2022 6:34 pm
Forum: General discussions
Topic: Calling api.php?action=search
Replies: 3
Views: 3551

Re: Calling api.php?action=search

To follow up further, it seems like this change to api.php:154 fixes it:

Code: Select all

$searchResults = $search->search($searchString, true); //false);
I assume something about default language handling has changed somewhere?
by KT_
Wed Nov 02, 2022 2:02 am
Forum: General discussions
Topic: Calling api.php?action=search
Replies: 3
Views: 3551

Re: Calling api.php?action=search

Actually a correction: that wget line gives me a 500 internal server error.

But if I try either the Perl script or the wget line with kb-old/api.php instead of kb/api.php (to use my old 2.9 phpMyFaq installation) both work just fine.
by KT_
Wed Nov 02, 2022 1:24 am
Forum: General discussions
Topic: Calling api.php?action=search
Replies: 3
Views: 3551

Calling api.php?action=search

I used to (on a 2.9 installation) be able to get a JSON response of search results using the Perl code: my $query = $cgi->param('q'); my $query_decoded = uri_decode($query); my $ua = LWP::UserAgent->new; my $response = $ua->get("https://mysite.com/kb/api.php?action=search&lang=en&q=$que...
by KT_
Sun Oct 23, 2022 3:54 pm
Forum: General discussions
Topic: Disable "There's a new entry in the FAQ!" email
Replies: 4
Views: 4311

Re: Disable "There's a new entry in the FAQ!" email

It would be handy for someone in my situation: i.e., the sole maintainer of the FAQ. When I add a question via the admin/content panel, I don't need an email reminding me I just did it. :)
by KT_
Sat Oct 22, 2022 10:46 pm
Forum: General discussions
Topic: Disable "There's a new entry in the FAQ!" email
Replies: 4
Views: 4311

Disable "There's a new entry in the FAQ!" email

I've updated to the latest 3.1.x and am ironing out the kinks in my installation. One thing that's new (and that I have no need for) is the "There's a new entry in the FAQ!" email that appears to now(?) get sent when adding a new FAQ via the admin panel.

Is there a way to disable this?
by KT_
Mon Jul 09, 2018 6:49 am
Forum: Bug reports
Topic: Cross-site scripting error on Chrome when creating a new FAQ
Replies: 3
Views: 3972

Re: Cross-site scripting error on Chrome when creating a new FAQ

Version 67.0.3396.99 (Official Build) (64-bit)
by KT_
Fri Jul 06, 2018 9:56 pm
Forum: Bug reports
Topic: Cross-site scripting error on Chrome when creating a new FAQ
Replies: 3
Views: 3972

Cross-site scripting error on Chrome when creating a new FAQ

I believe this is due to phpMyFaq's URL-checking and (relatively) recent changes to Chrome to guard against cross-site scripting. As soon as I click to create a new FAQ that contains links/URLs, I get a cross-site scripting error from Chrome. Checking afterward, however, the FAQ has been created jus...
by KT_
Sat Dec 16, 2017 4:00 pm
Forum: Webserver and configuration
Topic: HTTPS/HTTP mixed content blocked
Replies: 12
Views: 14208

Re: HTTPS/HTTP mixed content blocked

I believe I did.

(Most) other things seem to be working properly.

Is the update script something that can be re-run to fix anything that wasn't properly configured the first time?
by KT_
Fri Dec 15, 2017 7:21 am
Forum: Webserver and configuration
Topic: HTTPS/HTTP mixed content blocked
Replies: 12
Views: 14208

Re: HTTPS/HTTP mixed content blocked

Just curious, am I missing permissions/rights from the configuration?

Unless I'm reading that incorrectly, it alludes to 37 and higher, while my installation stops at 36 (as per the attached image from phpmyadmin).

Screen Shot 2017-12-15 at 1.17.52 AM.png
by KT_
Sat Dec 09, 2017 9:19 am
Forum: Webserver and configuration
Topic: Unable to stay logged in
Replies: 4
Views: 9390

Re: Unable to stay logged in

2.8. I managed to get it working by some combination of restoring the database, restarting apache/PHP, clearing caches, etc. I'm not sure which, exactly, did the trick.

Is there a way to raise the limit for unsuccessful logins? As it is, it seems like I am (or was) getting just one.
by KT_
Sat Dec 09, 2017 9:17 am
Forum: Webserver and configuration
Topic: HTTPS/HTTP mixed content blocked
Replies: 12
Views: 14208

Re: HTTPS/HTTP mixed content blocked

2.8[.something]. I'm not sure where to find the point version number. I want to say 2.8.7.
by KT_
Thu Dec 07, 2017 4:50 am
Forum: Webserver and configuration
Topic: HTTPS/HTTP mixed content blocked
Replies: 12
Views: 14208

Re: HTTPS/HTTP mixed content blocked

I don't know if this is pertinent or not, but I notice the line in 2.9.9: $minRights = ['37', '39', '40', '41'] but when I look directly at the faquser_right table, user_id 1 (admin) only has right_id 1 through 36. Although in the user management interface, all permission checkboxes are checked. Did...