#4768 - Issue validating license for installed SynoFieldMask addon on SugarCRM 12.0.3
Hi,
We're in the process of upgrading our on-prem SugarCRM instance from 11.0.3 to 12.0.3 and recently purchase the SynoFieldMask addon subscription for SugarCRM 7.x to 13. We've successfully installed SynoFieldMask for SugarCRM through the Module Loader, after SugarCRM was upgraded to 12.0.3, but we're unable to successfully validate the license. We had experienced this issue during the trial version and continue to have issues after purchasing the yearly subscription.
Steps to reproduce: 1. Navigate to Admin (Administration) using a SugarCRM Admin account. 2. Navigate to the SYNOLIA subpanel > License Keys 3. Enter the Field Mask License Key (copied and pasted from SugarOutfitters > Account > Purchases) and click Save 4a. Popup prompt states: Error: License validation valid* 4b. License Status value is: License is Not Valid
- There is a 500 status error when attempting to access https://domain/rest/v11_16/SYNO_Settings/config
Please let me know if you have any questions or need more details. Thank you.
a year ago
Hello Paul,
Thank you for contacting us in regards with your issue with our module.
The "500 status error" is directly linked to a php error and there should be a log in your php error log file.
Can you please provide us with the log generated when you try to validate the licence key?
This should help us identify the cause of the issue.
Kind regards, Vlad T. Synolia
a year ago
Hi Vlad,
Thank you for your response. Here's the PHP error captured in the PHP error log file:
Please let me know if you have any questions or need more info.
Thanks, Paul
a year ago
Hi Paul,
Thank you for providing the error log. It is quite clear what the issue is and we will adress it as quickly as possible.
There will most probably be a new version that fixes this issue next week.
Kind regards, Vlad T. Synolia
a year ago
Hi Vlad,
Thank you for the update and for looking into this. Please let us know when the new version is available to download.
Thanks, Paul
a year ago
Hi Paul,
We have checked the code and have found that the fix is already in place on the most recent version of the package (202303052158) compatible with your version of Sugar (12.0.X).
Can you please uninstall the current package and thendownload and install the package "SUGAR_SYNOFIELDMASK_12-to-13.0_202303052158.zip" and see it you get the same error message?
Kind regards, Vlad T Synolia
a year ago
Hi Vlad,
Thank you for checking the code and letting me know that this issue was already fix in the most recent version (package 202303052158). I've followed the instructions you provided and here are my updates:
I successfully uninstalled and deleted the current installed package (202207051438) using the Admin Module Loader
I then successfully uploaded and installed the latest package (202303052158) using the Admin Module Loader
In the Synolia Add-Ons License Keys page, I can now save the Field Mask License Key without the receiving the error exception from before -- I now receive a prompt that states: Settings Settings: Settings configuration settings have been saved. -- However, when I navigate back to the Synolia Add-Ons License Keys page, I see that the License Status is still "License is Not Valid"
Furthermore, when I go to the SynoFieldMask manage page and attempt to save changes to set a mask on a field to a selected module, I receive the follow error message:
-- Our config_override.php file contains the following configuration:
-- Our SugarCRM logs captured the following FATAL and DEBUG errors:
-- There were no error exceptions captured in our PHP logs
Please let me know if this provides you with the information you need or if you have any questions.
Thanks, Paul
a year ago
Hi Vlad,
Please let us know if you have any updates on this case since the problem is still an issue for us.
Note that I am Paul Ahn's manager and am adding this comment on his behalf because Paul is not currently designated as a verified purchaser. Is there a way for Paul to be added as a verified purchaser so that he can add comments to cases? Thanks very much.
David Naimark
a year ago
Hello David,
I apologize for the delay in replying you. I do not know how to add Paul to the verified purchaser, you will probably have to contact Sugar directly (via the contact us form) to find an answer. In any case, I would have answered Paul without the verified purchaser badge.
I have tried to replicate your issue but didn't encounter any problems. Here is a video of a standard demo instance in Sugar Entreprise 12.0.3 where I install, configure and use the module : https://www.screencast.com/t/dcZF4PBFVx
Sugar KB provides some guidelines on how to deal with this issue, but it seems dependent on the server configuration: https://support.sugarcrm.com/Knowledge_Base/Troubleshooting/Troubleshooting_Cross-Site_Forgery_Messages/
https://sugarclub.sugarcrm.com/explore/help-forums/enterprise-professional/f/enterprise-professional-questions/2679/cross-site-request-forgery-xsrf-attack-detected
Unfortuantelly I cannot assist on the issue of "Cross Site Request Forgery (XSRF) Attack Detected".
Please let me know if you manage to make the module work or if you have any other quetions.
Kind regards, Vlad T Synolia