Author Topic: mpForm - Verification not working after upgrade to WB 2.12.2 r378  (Read 1927 times)

Offline KimCR

  • Posts: 16
    • Brisbane Hockey Association Inc
I am hoping that someone will be able to assist.
An mpForm page was working fine until I upgraded the site to WB 2.12.2 r378. The mpForm module is v 1.3.28. PHP is Version 7.2.19.

After completing the form, including the verification code, the visitor's form has a red ribbon at the top which says "Please complete or correct the fields in red color!" And at the bottom of the form the verification field label turns red "Verification code (SPAM protection)*:", the background of the field turns red and below it in red appears "Fill in the result The verification number (also known as Captcha) that you entered is incorrect."

With my limited knowledge I have been unable to find a solution. I have used the standard Form module for another form on the same with no issues with the verification. However, the larger form with the problem needs to have date fields which the standard Form module doesn't have. I would really like to get mpForm working again.

I have attached a screenshot of the error that pops up above the Submit button.

I would very much appreciate any assistance.
Thank you in advance,
Kim

Offline dbs

  • Betatester
  • **
  • Posts: 8144
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #1 on: July 04, 2019, 09:15:22 AM »
Hi, my test with mpForm 1.3.31 on WB 2.12.2 & PHP7.3 was successfully.

Try to change the Captcha-Typ in Admin-Tools > Captcha Spam-Protection v2.0.0

Offline KimCR

  • Posts: 16
    • Brisbane Hockey Association Inc
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #2 on: July 04, 2019, 03:54:51 PM »
Thank you dbs for your suggestion however changing that setting hasn't changed the error.
Kim

Offline dbs

  • Betatester
  • **
  • Posts: 8144
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #3 on: July 04, 2019, 04:05:38 PM »
Is there something in the error.log? Click the X-button.

Offline Martin Hecht

  • Betatester
  • **
  • Posts: 589
  • Gender: Male
    • meine Homepage
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #4 on: July 04, 2019, 05:49:24 PM »
looks as if $_POST['captcha'] has been changed to $_POST['captcha'.$namespace] in the latest WB version, right? So, modules that have been using a comparison between $_POST['captcha'] and the corresponding value in the $_SESSION environment have to be updated

Offline Martin Hecht

  • Betatester
  • **
  • Posts: 589
  • Gender: Male
    • meine Homepage
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #5 on: July 04, 2019, 11:30:27 PM »
Hi, could you please test the attached version? It contains a fix which hopefully makes the captcha work again with WB 2.12.2

Offline KimCR

  • Posts: 16
    • Brisbane Hockey Association Inc
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #6 on: July 05, 2019, 12:49:34 AM »
Thank you Martin! That has done it!!

Last night I had tried reinstalling both mpForm and Captcha Control, even going back to the previous versions. I still had the same result! I gave up and went to bed about 1:30am, not very happy!

This morning when I saw your posts I was hopeful again. I had to manually reinstall the Captcha Control module back to v2. Then "upgraded" to your version of mpForm - it works again first time without stopping at Captcha. Great!!

I thank you very much. I trust this version with your modification will form the basis of a new version of mpForm for WB v2.12.2 and beyond?

Cheers,
Kim

Offline Martin Hecht

  • Betatester
  • **
  • Posts: 589
  • Gender: Male
    • meine Homepage
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #7 on: July 05, 2019, 10:38:34 PM »
Hi Kim,

yes, sure. I just have received another feature request today for which I would like to evaluate if it can be easily done, and if so, I would put everything together into the next release.

Cheers, Martin

Offline Martin Hecht

  • Betatester
  • **
  • Posts: 589
  • Gender: Male
    • meine Homepage
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #8 on: July 06, 2019, 02:45:55 PM »
Hi Kim,

please find attached the latest version of mpform. It contains the following fixes:
        *** 1.3.32 (Martin Hecht: 06-Jul-2019) ***
        correctly display submission time in backend
        support new captcha form of wb 2.12.2
        delete records from results table, too when ajax is active

 I'm not sure if anyone who can update the addons repository is watching this thread, but if so, I would be thankful if you could update it with the attached zip file.

Cheers, Martin   

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4381
  • Gender: Male
    • Webdesign und Entwicklung WebsiteBaker
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #9 on: July 06, 2019, 04:49:29 PM »
Quote
I'm not sure if anyone who can update the addons repository is watching this thread, but if so, I would be thankful if you could update it with the attached zip file.

Done and thanks for your work

Dietmar
Immer nur von der Zukunft reden, die Gegenwart vergessen und auf die Vergangenheit schimpfen
Neues Unwort: Schnappatmung

Offline Martin Hecht

  • Betatester
  • **
  • Posts: 589
  • Gender: Male
    • meine Homepage
Re: mpForm - Verification not working after upgrade to WB 2.12.2 r378
« Reply #10 on: July 06, 2019, 11:02:26 PM »
Thanks to you, Dietmar

 

postern-length