News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Re: 2.1 RC1 Registration problem

Started by simplengmakina, May 04, 2020, 09:54:24 AM

Previous topic - Next topic

simplengmakina

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?

Kindred

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)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

simplengmakina

I only get this... When I change the number and save, nothing happens. Click on English nothing happens...

Kindred

and did you click on the [English] link?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

simplengmakina

Nothing happened when I click the link

Kindred

are you using 2.1 RC2 from github?


I can not recreate your problem using the official RC2 or newer...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

simplengmakina

Yes I just installed over my installation, upgraded database and still same issue... :(

simplengmakina

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...

Kindred

you should, generally, never touch the database directly...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

simplengmakina

Generally yes, but I think this problem is beyond generally...

Arantor

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.

simplengmakina

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.

W2NAP

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.

W2NAP

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

Suki

Do you have an example of how the data was saved to the db?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

W2NAP

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.

Suki

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.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

W2NAP

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.

simplengmakina

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.

Suki

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.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Advertisement: