Page 1 of 1

FormBuilder 0.5.11 - backslashes '\' inserted in form templates - breaking forms

Posted: Tue Aug 04, 2009 4:25 pm
by harleyquinn
Recently out of the blue, I started getting backslashes automatically inserted into my form templates wherever there is a single or double quote character after I hit the "save" or "save and continue editing" button. These backslashes are breaking my forms and are showing smarty errors on the page where the form should be displayed like this:
string(137) "Smarty error: [in module_db_tpl:FormBuilder;fb_5 line 36]: syntax error: unidentified token '\'\'' (Smarty_Compiler.class.php, line 1410)" string(137) "Smarty error: [in module_db_tpl:FormBuilder;fb_5 line 43]: syntax error: unidentified token '\'\'' (Smarty_Compiler.class.php, line 1410)" string(137) "Smarty error: [in module_db_tpl:FormBuilder;fb_5 line 45]: syntax error: unidentified token '\'\'' (Smarty_Compiler.class.php, line 1410)" string(137) "Smarty error: [in module_db_tpl:FormBuilder;fb_5 line 53]: syntax error: unidentified token '\'\'' (Smarty_Compiler.class.php, line 1410)" string(138) "Smarty error: [in module_db_tpl:FormBuilder;fb_5 line 68]: syntax error: unidentified token '\'1\'' (Smarty_Compiler.class.php, line 1410)"
I've tried reloading the default template which loads fine, no backslashes, but once I hit the save button, backslashes are inserted again.

Don't know what's happening... I haven't changed or modified any files anywhere and thought perhaps upgrading to the latest versions of CMS 1.6.3 and FormBuilder 0.5.11 would fix the issue, but after upgrading the problem is still there.

Anyone else having this problem? Any help would be most appreciated.

Re: FormBuilder 0.5.11 - backslashes '\' inserted in form templates - breaking forms

Posted: Wed Aug 12, 2009 2:14 pm
by harleyquinn
*Bump*

Sorry for bumping this one up, but I really could use some help here. Anyone????

Re: FormBuilder 0.5.11 - backslashes '\' inserted in form templates - breaking forms

Posted: Thu Sep 17, 2009 3:21 am
by inyerface
I'm also bumping this... Why is this happening on only 1 account out of my 79?

Re: FormBuilder 0.5.11 - backslashes '\' inserted in form templates - breaking forms

Posted: Thu Sep 17, 2009 6:31 am
by Peciura
Can you post your form template ?

Re: FormBuilder 0.5.11 - backslashes '\' inserted in form templates - breaking forms

Posted: Fri Sep 18, 2009 7:11 pm
by inyerface
This is caused by magic quotes.  Have your host turn off magic quotes.

Thanks