CMS MADE SIMPLE FORGE

CGBetterForms

 

[#12028] Forms don't work

avatar
Created By: Jaap Grol (jagro)
Date Submitted: Fri May 03 09:12:09 -0400 2019

Assigned To:
Version: 1.9.4
CMSMS Version: 2.2.10
Severity: Critical
Resolution: Fixed
State: Open
Summary:
Forms don't work
Detailed Description:
Forms made with this version of the module result in an error:
"Sorry, something has gone wrong. We could not find a valid unique request id in
the posted data"

Apparently, this error comes from action.default.php:
            if( !get_userid(FALSE) ) {
if( !isset($_SESSION['CGBF_GUID_TOKEN']) ||
!isset($_SESSION['CGBF_GUID_TOKEN'][$guid]) ) {
throw new
Exception($this->Lang('err_security_requestguid'));
                }
            }

This error makes all forms unusable.
I tested on several websites, with several independent and different forms.
One fresh example: https://bijvoet.jagro.nl/formtest1

Versions:
CMSMS 2.2.10
PHP 7.2.18 (another site is on .17 and gives the same error)
CGExtensions: 1.62.7 (another site is on 1.62.6 and gives the same error)
CGBetterforms: 1.9.4 

There is one odd exception, this is when using Firefox on my Linux client. Other
browsers on the same client result in the error, browsers on mobile devices (iOS
& Android, also firefox) result in the error.



History

Comments
avatar
Date: 2019-05-03 11:49
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
avatar
Date: 2019-05-04 05:07
Posted By: Jaap Grol (jagro)

Confirmed, issue resolved. However, the new version of CGExtensions seems to
break CGCalendar. But that is another module.
      
Updates

Updated: 2019-05-03 11:49
resolution_id: => 7