CaptchaBundle icon indicating copy to clipboard operation
CaptchaBundle copied to clipboard

Always bad code error

Open amdouni opened this issue 9 years ago • 5 comments

Hello,

I'm using the CaptchaBundle under symfony 2.8.1 and have installed it successfully.

Actually, when I submit a form, I always receive Bad code value error.

I'm using the default configuration and when the form is invalid, the var_dump($form->get('captcha')->getData()); gives me the same code as saved in session picked from the profiler.

Any Idea please?

Thank you !

amdouni avatar Jan 01 '16 22:01 amdouni

Hello,

Please note that this issue is occurring only on one web page subscription. All the others pages are okay.

amdouni avatar Jan 03 '16 15:01 amdouni

Hello, Is there multiple captchas on the same page?

2016-01-03 16:43 GMT+01:00 amdouni [email protected]:

Hello,

Please note that this issue is occurring only on one web page subscription. All the others pages are okay.

— Reply to this email directly or view it on GitHub https://github.com/Gregwar/CaptchaBundle/issues/153#issuecomment-168506679 .

Grégoire Passault

Gregwar avatar Jan 03 '16 17:01 Gregwar

Hi,

No, there is only the captcha from this bundle.

amdouni avatar Jan 03 '16 18:01 amdouni

Hello,

I still have the expected code different from the code in only the inscription page. I use the captcha in other pages like contact and it works fine. Any suggestion?

If you need any portion of code just ask me.

Thank you,

amdouni avatar Jan 26 '16 12:01 amdouni

Hello,

I still have the expected code different from the code so an error message.

It seems like the expected code is changing along the submit way. Any Idea?

Thank you,

amdouni avatar Jan 26 '16 23:01 amdouni