formtools / core

The Form Tools Core.
https://formtools.org
205 stars 78 forks source link

JQuery creatin error on every click in JS error module in formtools #828

Open Delta40196 opened 2 years ago

Delta40196 commented 2 years ago

For testing install formtools in ubuntu 18.04, in scan for vulnerability, I have to update jquery to 3.6.0 js for resolving it, now after update every click create error log in js error logs "Uncaught TypeError: $(...).live is not a function" the connection is SSL and path for the updated file is "/etc/www/global/scripts/jquery.js"

can anyone please help with this?

jnaj0001 commented 2 years ago

I was getting similar errors in the console log when logging in to a formtools account. A clean installation seemed to solve the problem but migrating the data was a whole other issue in itself. It looks like newer browsers have implemented stricter restrictions for unsecure links preventing some CSS & JS files from loading properly.

Under the /global directory, I had to change the $g_root_url variable in the generated config.php file to 'https://' instead of 'http://'

Delta40196 commented 2 years ago

HI jnaj0001, We are already on SSL and the same setting in the file was already done before updating JQuery in the system., and after the update JQuery 3.5.0, these errors started. before the update, there was hardly come. So we need to work on another solutions. can you provide any other solutions for this?