Forums

security question - wrong answer = stuck in the loop

jcmafra 22 Apr, 2013
Chronoforms_V4_RC3.5.2_J1.6
Joomla! 2.5.9

I am experiencing the follow problem:
1 - I made a simple form with 2 fields (name = nome; surname = sobrenome) to understand how the security question works
2 - if the answer is OK, it works fine, but if the answer is wrong, the form autmoatically reloads, but no matter if the answers are correct, it always says "You have entered a wrong security question's answer."

I have no idea what I am doing wrong.

Some images to help problem understanding
GreyHead 22 Apr, 2013
Hi jcmafra ,

Everything here looks OK. Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
GreyHead 23 Apr, 2013
Hi jcmafra ,

The security questions appear to be working correctly see here. (Note this version is unchanged from yours except that I have added Debugger actions to the On Load and On Submit events.)

There are some errors from the Email setup that need fixing though.

Bob
jcmafra 23 Apr, 2013
Hi GreyHead

Why it works fine in your example, but did not works on mine? :? As you said, is the same code....is it a magic trick?๐Ÿคฃ I can't understand what I'm doing wrong.๐Ÿ˜Ÿ Can you give me some tips? :wink:
GreyHead 23 Apr, 2013
Hi jcmafra,

No magic involved. How are the User sessions configured on your site?

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

Bob
GreyHead 24 Apr, 2013
Hi juliomafra,

You have the Session Handler set to 'None' in the site Global Configuration. Please try changing this back to 'Database'.

Bob
jcmafra 25 Apr, 2013
Hi GreayHead,

I set Global Configuration to Database (confirmed configuration.php = public $session_handler = 'database'); and the same problem; reinstall the ChronoForm and the error still continuing... what is going wrong?๐Ÿ˜Ÿ ๐Ÿคจ

Could you please give another look?๐Ÿ™‚

Thanks very much.
GreyHead 07 May, 2013
Hi jcmafra,

I'm sorry I don't have anything useful to suggest. I'll take another look.

Bob
GreyHead 10 May, 2013
Answer
Hi jcmafra,

I think this is working now. The Require Session Key option was set to 'No' on the Load action and 'Yes' on the Check action so it always failed.

Bob
jcmafra 10 May, 2013
Hi GrayHead,

Thanks, very much... beer paid.

Julio Mafra
jcmafra 14 May, 2013
Hi GreyHead,

I saw that you configured The Require Session Key option to 'Yes' on the Load action and 'Yes' on the Check.

Only today I could test the form and the same problem still continuing. It is a so simple form that I can't understand what is going wrong?

Could you help me once more?

Thanks,
Julio Mafra
GreyHead 14 May, 2013
Hi Julio,

The form appears to work correctly from here.

Bob
jcmafra 28 May, 2013
HI GreayHead,

Great, now is 100%!

Thanks,
Julio Mafra
This topic is locked and no more replies can be posted.