CF8 - Form save failed

rbock 27 Nov, 2024

Lately I've noticed that saving actions in the backend keep failing. The page stays grayed out and there are some errors... with e in the console... When I reload the page, the last changes are no longer saved or individual fields are removed. My day's work today is rubbish! First attempts to back up the data (I export the CF8 table every 5 minutes) failed. I can see my last fields in the table, but not in the backend. I'll have to check more closely later. That reminds me, tables/forms LOCK when opening in the backend! Now and again I've opened forms multiple times by mistake. Save temporarily and only then save productively?

Max_admin 27 Nov, 2024

does this happen when you use "Quick Save" or "Save" ? maybe your forms have so many fields and you are hitting the maximum post size limit, the "Save" button will not be affected by this problem but the Quick Save will have a problem

How many elements do you have in the form and what is the max post size in your PHP settings ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 27 Nov, 2024

I usually use quick save. Scrolling up all the way always confuses me... I can't find my position again! I'd always liked the option to collapse form fields, groups for example, or a separate field for that.

rbock 27 Nov, 2024

2 Pages, 220 Views, 76 Actions

php_post_max_size = 256MB

max_input_vars ?

Max_admin 27 Nov, 2024

yes, what are the max_input_vars ?

I think you are hitting the max limit, if your save keeps failing now with "Quick save" then please give "save" a try, does it work ? we are just checking if it works in your case

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 27 Nov, 2024

max_input_vars = 20480

Max_admin 27 Nov, 2024

does the "save" button work or not ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 27 Nov, 2024

Yes, of course... But the problem has occurred 3-4 times so far, in different forms... sporadically and so far incomprehensible to me. The last error occurred when I inserted several SVG images with complex PHP actions within a loop.

Max_admin 27 Nov, 2024

but saving the form with the "Save" button does not produce the same problem with "Quick Save", correct ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 27 Nov, 2024

I can't say/write that. It definitely happened during the quick save. And also 3 or 4 times in the last few days... I've been using the quick save button for hours in a small form and I haven't had any problems. Although I think I had the problem once yesterday in this form. I only lost a few fields. I was able to restore them quickly. In the larger form, the lost fields are still missing. I can see them in the SQL table, but not in the form.

rbock 27 Nov, 2024

Ok... I mean that the element with the parent ID is missing! Therefore I still see my "lost" elements in the SQL, but no longer in the form.

rbock 27 Nov, 2024

I've now laboriously restored most things manually from the SQL table. It worked so far. Finally, I wanted to adjust the fill colors in an SVG, switched to RGB and used Quich Save a few times. Now I'm getting the error again that the form isn't saved. I'm fed up... Maybe tomorrow. I'm not even going to look at what data I'm missing now...

Max_admin 27 Nov, 2024

Please take a copy of the large form, then add more fields to the copy, then quick save, does it save or error ?

I need you to test on the error point if "Save" works while "Quick save" does not or both do not work ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 16 Dec, 2024
Answer

Hi rbock

A new setting in v8.0.34 should overcome the limit on fields, you need to enable it first under the Chronoforms Settings page, it's called "Increase max fields",

but make sure to have a backup of your forms before saving them with the new setting enabled, just in case something gets broken, I tested some forms here and it works fine but maybe I missed something, this is still considered experimental

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger