The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
'JSON' is undefined (Fedora 12) - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: 'JSON' is undefined (Fedora 12) (/showthread.php?tid=2440) Pages:
1
2
|
RE: 'JSON' is undefined (Fedora 12) - Joe - May 16th, 2013 John, Clear your local cache and then click "Refresh Modules List" on the modules page. That should display the Form Builder. Some times Form Tools does not recognize that a new module has been added if the list is not refreshed. Cheers, Joe RE: 'JSON' is undefined (Fedora 12) - johnbleck2 - May 16th, 2013 Joe, Tried that. emptied cache, closed browser, opened browser.. it's not in the list to install. I used "refresh module list". Just not there. Just got it to work. I had to re-extract it again. It was rather stubborn. 4th time was the charm I guess. John RE: 'JSON' is undefined (Fedora 12) - johnbleck2 - May 16th, 2013 Looks like we are golden! Thank you for all your help and especially your patience! RE: 'JSON' is undefined (Fedora 12) - johnbleck2 - May 17th, 2013 FYI: From some of our back and fourth emails I noted that this form was not requiring a "form tools" login and was 100% standalone for public submissions where we did not want to force user registrations. That being said, the upload field when edited (although the dialog box was now appearing for Yes/No Confirmation) When hitting "Yes", nothing would happen. This is due to not having a registered user of formtools logging in. So... I was able to comment out one line in the formtools\modules\field_type_file\actions.php I commented out: ft_check_permission("user"); Whallah. Works like a charm now. I realize removing the authentication within the js on forms is normally not a good practice, but since this action was for "uploaded files" and not for a larger global purpose within form tools, commenting this like out took care of our problem for this "public" standalone form. Big sigh of relief. Thank you, John |