Form Sessions table will not export

dond

Member
I'm trying to backup a db so I can update Fabrik but the fabrik_form_sessions table will not export.

Is it OK to empty this table on a production site?

Thanks,
Don
 
Please clue me in on what are some possible causes of the fabrik_form_sessions being to big to export via phpMyAdmin. This is a problem I've never encountered before.
Thanks
 
No idea why #_fabrik_form_sessions won't be exported (any error messages?)

It is used to store form session data if you have forms set to "Save partially completed multi-page forms" (storing user input as long as the user doesn't hit "Save").

So it shouldn't matter if you are starting with an empty #_fabrik_form_sessions on a new site.
But if there is really "pending" input on partially completed forms this will be lost.
 
I get this error message in phpMyAdmin when I go to Export:

This interface does not work with large databases or large tables. Please see phpMyAdmin bug 4046.

"Save partially completed multi-page forms" is set to No.
Since this is a production site can I safely empty #_fabrik_form_sessions?

Thanks
 
1. will empty.
2. Why hadn't I looked at the table content? D'OH. It's spam with uggbots.

Will captcha elements stop this crap?
 
fabrik_form_sessions is still getting spam in the data field. I've added a captcha element and made sure "Save part-edited record" is set to no.
How do I resolve this issue?
 
a:46:{s:14:"estimates___id";s:0:"";s:21:"estimates___date_time";s:19:"2014-01-20 23:11:23";s:16:"estimates___name";s:11:"vaxtereCrew";s:17:"estimates___email";s:33:"s.p.ac.io.u.ss.teyqnk@gmail.com
";s:17:"estimates___phone";s:6:"123456";s:19:"estimates___address";s:7:"Ghana
";s:16:"estimates___city";s:7:"Ghana
";s:19:"estimates___zipCode";s:6:"123456";s:20:"estimates___est_type";a:1:{i:0;s:1:"3";}s:19:"estimates___message";s:2512:"????????????????????????????????????????
?? ??? ????????????? ??????? ??????? ??burberry ???chanel ???chanel ????????? ????? ??miumiu ????? ??? ??gucci ???? ??hermes ?? ???????? ?? ??
ugg ??? ??? mcm ?? ??UGG ??? ?????? ?????? ? ??UGG ??? ???? ?? 2013UGG ??? ??? 2013 ?????? ???????ugg ?? ugg ??? ??? ??? ???? ?????? ?????? ??????? ???????????? ???UGG ??? ??? 2013 ??? ??? ??????ugg ??????? ?? ??? ?? ??UGG ??? ??? 2013 ?? ???????
??????????? ?? ???????mcm ??? ??mcm ??????? ???????? TPMhermes ??? ???????? ????????? ?? ??chanel ????chanel ??????? ugg ????? ??? ???
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Related Content:
?? ???
??? ??????
??????
UGG ??? ??? ???
?? ????
?? ??
UGG ????????propstore
UGG ??? ??? 2013 ????
?? ??? ??????
UGG ??? ???

http://www.torrettastudio.net/archives/index_ugg274.htm
http://www.tcs.nsw.edu.au/category/index_ugg270.htm
http://www.tcs.nsw.edu.au/archives/index_ugg383.htm

http://www.highland2007.com/archives/index_ugg171.htm
http://trak-music.com/category/index_ugg40.html
http://www.highland2007.com/category/index_ugg377.htm
";s:19:"estimates___captcha";s:14:"!UNKNOWN_TYPE!";s:6:"listid";s:1:"2";s:7:"listref";s:1:"2";s:5:"rowid";s:0:"";s:6:"Itemid";s:3:"101";s:6:"option";s:10:"com_fabrik";s:4:"task";s:12:"form.process";s:8:"isMambot";s:1:"1";s:6:"formid";s:1:"2";s:12:"returntoform";s:1:"0";s:15:"fabrik_referrer";s:37:"http://www.jeffscomfortsolutions.com/";s:11:"fabrik_ajax";s:1:"0";s:7:"package";s:6:"fabrik";s:9:"packageId";s:0:"";s:32:"9e017f59f4cbd1b1c39d405500646932";s:1:"1";s:6:"format";s:4:"html";s:19:"fabrik_repeat_group";a:1:{i:2;s:1:"1";}s:6:"Submit";s:0:"";s:18:"estimates___id_raw";s:0:"";s:25:"estimates___date_time_raw";s:19:"2014-01-20 23:11:23";s:20:"estimates___name_raw";s:11:"vaxtereCrew";s:21:"estimates___email_raw";s:33:"s.p.ac.io.u.ss.teyqnk@gmail.com
";s:21:"estimates___phone_raw";s:6:"123456";s:23:"estimates___address_raw";s:7:"Ghana
";s:20:"estimates___city_raw";s:7:"Ghana
";s:23:"estimates___zipCode_raw";s:6:"123456";s:24:"estimates___est_type_raw";a:1:{i:0;s:1:"3";}s:23:"estimates___message_raw";s:2512:"????????????????????????????????????????
?? ??? ????????????? ??????? ??????? ??burberry ???chanel ???chanel ????????? ????? ??miumiu ????? ??? ??gucci ???? ??hermes ?? ???????? ?? ??
ugg ??? ??? mcm ?? ??UGG ??? ?????? ?????? ? ??UGG ??? ???? ?? 2013UGG ??? ??? 2013 ?????? ???????ugg ?? ugg ??? ??? ??? ???? ?????? ?????? ??????? ???????????? ???UGG ??? ??? 2013 ??? ??? ??????ugg ??????? ?? ??? ?? ??UGG ??? ??? 2013 ?? ???????
??????????? ?? ???????mcm ??? ??mcm ??????? ???????? TPMhermes ??? ???????? ????????? ?? ??chanel ????chanel ??????? ugg ????? ??? ???
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

Related Content:
?? ???
??? ??????
??????
UGG ??? ??? ???
?? ????
?? ??
UGG ????????propstore
UGG ??? ??? 2013 ????
?? ??? ??????
UGG ??? ???

http://www.torrettastudio.net/archives/index_ugg274.htm
http://www.tcs.nsw.edu.au/category/index_ugg270.htm
http://www.tcs.nsw.edu.au/archives/index_ugg383.htm

http://www.highland2007.com/archives/index_ugg171.htm
http://trak-music.com/category/index_ugg40.html
http://www.highland2007.com/category/index_ugg377.htm
";s:23:"estimates___display_raw";s:0:"";s:23:"estimates___captcha_raw";s:14:"!UNKNOWN_TYPE!";s:8:"__pk_val";s:0:"";s:32:"9cbffecddfaabccca1e8b6ff699a79a1";s:32:"22833f10956017e166dd2ae70b54478d";s:24:"rokweather_user_location";s:11:"Hampton, VA";s:4:"view";s:4:"form";s:2:"id";s:2:"48";s:19:"estimates___display";s:0:"";}
 
It would be more interessting to see the other record values.

Which fabrik version are you running?
 
Here's a screenshot of phpMyAdmin. Let me know if you need another view of the data.
 

Attachments

  • data.png
    data.png
    118.9 KB · Views: 313
So all this is trying to add to your form with ID=2.
Is this the form you are referring to?

Is this form set to "Save partially completed multi-page forms" = No?
No records are added to your list, it's just spam in form_sessions?
 
That is correct Form ID = 2.
Form IS set to "Save partially completed multi-page forms" = No
There were spam records added to the list but not in the last 2 days since I added the captcha element. Those records did not match the spam in form_sessions.
screwy or what?
 
In addition to using the fabrik_form_sessions to save form state for multipage forms, we also use the session table for storing state during failed validations, and some other usage, like in the confirmation plugin.

Looks like you have a spambot hitting you with link spam. Not much you can do about that other than what you've done, using CAPTCHA (this is exactly what CAPTCHA was invented to prevent), or by restricting access using ACL's, so only logged on users can see it.

So I guess what's happening is because the validation failure never gets corrected and the form is never re-submitted, the session data never gets cleared for it, and the table just keeps growing. Usually, we'd remove that session data when the user corrected the validation problem, and the form re-submitted correctly.

To prevent this kind of scenario, we should probably add a global option in Fabrik to set a ttl (time to live) for the form sessions, defaulting to (say) 7 days, and have Fabrik just garbage collect the table, automatically removing entries older than that.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top