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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
harleyquinn
Forum Members
Forum Members
Posts: 36
Joined: Fri Dec 22, 2006 4:29 pm
Location: Philadelphia, PA

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

Post 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.
Last edited by harleyquinn on Tue Aug 04, 2009 6:48 pm, edited 1 time in total.
harleyquinn
Forum Members
Forum Members
Posts: 36
Joined: Fri Dec 22, 2006 4:29 pm
Location: Philadelphia, PA

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

Post by harleyquinn »

*Bump*

Sorry for bumping this one up, but I really could use some help here. Anyone????
inyerface
Forum Members
Forum Members
Posts: 191
Joined: Mon Nov 26, 2007 4:46 pm

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

Post by inyerface »

I'm also bumping this... Why is this happening on only 1 account out of my 79?
Peciura

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

Post by Peciura »

Can you post your form template ?
inyerface
Forum Members
Forum Members
Posts: 191
Joined: Mon Nov 26, 2007 4:46 pm

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

Post by inyerface »

This is caused by magic quotes.  Have your host turn off magic quotes.

Thanks
Post Reply

Return to “Modules/Add-Ons”