I can't get "Verification questions" to work. If I try to add one in the menu, it doesn't change. There's also no option to add a question. I tried adding in the database settings table, the integer moved. But no question or answer field.
I did the build update with the recaptcha, still not working. Should I upgrade my database?
index.php?action=admin;area=antispam
at the bottom of that section...
number of questions to ask... and fields to add the questions (and answers)
I only get this... When I change the number and save, nothing happens. Click on English nothing happens...
and did you click on the [English] link?
Nothing happened when I click the link
are you using 2.1 RC2 from github?
I can not recreate your problem using the official RC2 or newer...
Yes I just installed over my installation, upgraded database and still same issue... :(
Should I go into the database tables for a fix? Narrowed down to smf_qanda table as the likely culprit. How should entries look like or even the columns. Likely the upgrade I did might have messed it up...
you should, generally, never touch the database directly...
Generally yes, but I think this problem is beyond generally...
First, are you using a version that isn't multiple years old? If you are not yet on RC2 (or better, GitHub), upgrade.
I'm 99% sure the issue you describe is a non-database bug in RC1.
I am using RC2. And I also did a fresh install to try if my upgraded forum was the problem. The fresh installed forum has the same issue.
Quote from: simplengmakina on September 30, 2020, 12:00:02 PM
I am using RC2. And I also did a fresh install to try if my upgraded forum was the problem. The fresh installed forum has the same issue.
Are you getting verification fail on captcha? that seems to be what is happening to me, reg failed. turned off SMF fuzzy letter captcha, try again reg failed, turned off questions, try again leaving only google recaptcha. reg fails with "verification failed, invalid captcha value" using the latest git pull from 29 Sept. google cap, seems to be working however as it asks the dumb "select the stop lights" etc.
Quote from: W2NAP on September 30, 2020, 12:26:28 PM
Quote from: simplengmakina on September 30, 2020, 12:00:02 PM
I am using RC2. And I also did a fresh install to try if my upgraded forum was the problem. The fresh installed forum has the same issue.
Are you getting verification fail on captcha? that seems to be what is happening to me, reg failed. turned off SMF fuzzy letter captcha, try again reg failed, turned off questions, try again leaving only google recaptcha. reg fails with "verification failed, invalid captcha value" using the latest git pull from 29 Sept. google cap, seems to be working however as it asks the dumb "select the stop lights" etc.
Might have figured out my issue at least, it appears (at least mine did) when you enter in the google site and secret key, more data gets written into the sql db thus making it not work. once i put the site key in manually in phpmyadmin reg with captcha/recaptcha seems to work now with no errors
Do you have an example of how the data was saved to the db?
Quote from: Suki on September 30, 2020, 04:36:06 PM
Do you have an example of how the data was saved to the db?
recaptcha_secret_key/site_key in _settings had the funny stuff added to it
(not my real key just example)
key = 49d8yf23oihfgt982ytt
pushed in DB as = 49d8yf23oihfgt982ytt347du
once I manually edited secret and site key within phpmyadmin to the correct (took the funny stuff out) things seem to be working fine. no more invalid captcha value error.
server debian buster, php 7.3.19-1~deb10u1 MySQL 10.3.23-MariaDB-0+deb10u1
I am on VPS so I control everything on the server.
I was hoping the garbage introduced by saving the setting was something along the lines of malformed data or a weird character. The extra bit "347du" looks normal and can be simply added accidentally rather than by the system.
Quote from: Suki on October 01, 2020, 05:02:48 PM
I was hoping the garbage introduced by saving the setting was something along the lines of malformed data or a weird character. The extra bit "347du" looks normal and can be simply added accidentally rather than by the system.
Yeah what I was thinking as well, however when copy keys from google. it was copy and paste and in the smf/admin/antispam they key showed correct. it wasn't until I poked around phpmyadmin that I discovered the extra bits. really had I not went poking in phpmyadmin id of never of discovered the issue. So now the question is how did the extra bits get in the db? is it an smf bug or is it a debian/mariadb bug? not noticed any other extra bits in anything else in the db yet. im still poking around looking for anything else.
Quote from: W2NAP on September 30, 2020, 12:26:28 PM
Quote from: simplengmakina on September 30, 2020, 12:00:02 PM
I am using RC2. And I also did a fresh install to try if my upgraded forum was the problem. The fresh installed forum has the same issue.
Are you getting verification fail on captcha? that seems to be what is happening to me, reg failed. turned off SMF fuzzy letter captcha, try again reg failed, turned off questions, try again leaving only google recaptcha. reg fails with "verification failed, invalid captcha value" using the latest git pull from 29 Sept. google cap, seems to be working however as it asks the dumb "select the stop lights" etc.
I cannot add any questions, at all. No field for questions come out. If I try to increase the number nothing happens, it goes back to 0.
It looks like a JS problem, go to that page, hit F12 (at least on most browsers) to open the console and see if there is any error when you interact with all the options and settings on that page.
Quote from: Suki on October 02, 2020, 10:29:23 AM
It looks like a JS problem, go to that page, hit F12 (at least on most browsers) to open the console and see if there is any error when you interact with all the options and settings on that page.
Quite oddly, no error.
do you get one when you refresh the page?
Quote from: live627 on October 02, 2020, 09:11:28 PM
do you get one when you refresh the page?
Tried that too, to no avail. Would using Cloudflare be a problem? Maybe the built-in JS minifying option causing this?
I forgot the minifier was a thing. Can you disable it and then try for errors again?
Quote from: live627 on October 03, 2020, 04:57:54 PM
I forgot the minifier was a thing. Can you disable it and then try for errors again?
It wasn't the minifier, but Rocketloader causing the issue. I disabled it and added questions and then enabled it again after adding questions. But the member pulldown JS doesn't work with it on too. So I can't logout...
Update: Fixed this problem by setting a disable Rocketloader on the whole forum directory.
Quote from: simplengmakina on April 16, 2022, 01:09:32 PMUpdate: Fixed this problem by setting a disable Rocketloader on the whole forum directory.
Glad to see that the issue got fixed and thank you for letting us know. I will go ahead and mark this topic as solved.