I have a form that had the standard Render event and a load javascript event in it. After I had things running correctly I decided I needed to put in a validator so that only those members of the Author group or higher could see the form. I dragged it into the onload event, edited it, saved the form. When it reloaded the form into the editor though all of my events in the Setup window were gone. Worse yet, when I try to put something back into them they won't save. They are there when I hit save, but when the page refreshes they are gone again.
Is this a bug or am I missing something important here?
Is this a bug or am I missing something important here?
Hi MaestroC,
Please see this FAQ which may help if the problem is related to server security settings.
Bob
Please see this FAQ which may help if the problem is related to server security settings.
Bob
The problem referenced in that FAQ is not what I am experiencing. I am not kicked out on save, instead it reloads the form editing page as it should but the changes are not there. The full form loads and there are no error messages. It was working fine, saving, etc. until I tried adding that authenticator action.
Since it is a very large form to be safe I went in and changed my server max_input_vars to 2000 (was at 1000) and rebooted apache as instructed in the FAQ. Still no joy. The changes will not save.
I turned on max error reporting and attempted to save the form after making a change. Again, the changes did not save.
I restored the form from a backup that I made (luckily) just before doing the changes yesterday. It restores correctly, but if I make any changes at all to the form now it only seems to save part of it, always stopping at the same place. The inputs below that point are not saved nor is any of the info from the Setup tab. However, still no error messages are displayed despite being on maximum. I also looked in the page source and saw no php error messages there.
What else can I try?
Since it is a very large form to be safe I went in and changed my server max_input_vars to 2000 (was at 1000) and rebooted apache as instructed in the FAQ. Still no joy. The changes will not save.
I turned on max error reporting and attempted to save the form after making a change. Again, the changes did not save.
I restored the form from a backup that I made (luckily) just before doing the changes yesterday. It restores correctly, but if I make any changes at all to the form now it only seems to save part of it, always stopping at the same place. The inputs below that point are not saved nor is any of the info from the Setup tab. However, still no error messages are displayed despite being on maximum. I also looked in the page source and saw no php error messages there.
What else can I try?
Correction, I did get one error message but only after I hit cancel to get back to the main form list:
Notice: Undefined index: DNA in public_html/administrator/components/com_chronoforms5/chronoforms/views/index.php on line 91
This error is repeated three times.
Notice: Undefined index: DNA in public_html/administrator/components/com_chronoforms5/chronoforms/views/index.php on line 91
This error is repeated three times.
Also on the front end when viewing the restored form I don't see the form any more. Instead I get the following errors:
Notice: Undefined index: DNA in /public_html/components/com_chronoforms5/chronoforms/libs/form.php on line 56
Notice: Undefined index: actions_config in /public_html/components/com_chronoforms5/chronoforms/libs/form.php on line 57
Notice: Undefined index: DNA in /public_html/components/com_chronoforms5/chronoforms/libs/form.php on line 56
Notice: Undefined index: actions_config in /public_html/components/com_chronoforms5/chronoforms/libs/form.php on line 57
Hi MaestroC,
I'm not sure what else to try, The PHP Notices are interesting but usually harmless.
Please post the backup here (as a zipped file) or email it to me and I'll take a closer look.
Bob
I'm not sure what else to try, The PHP Notices are interesting but usually harmless.
Please post the backup here (as a zipped file) or email it to me and I'll take a closer look.
Bob
Thanks for offering to examine it. Here is the file. My goal was to add an event so that only Authors and above could access it. This one doesn't have that code in it though. The problems began only after I tried to add it to the onload event.
HI MaestroC,
Please check the attached backup - I was able to add an authenticator, Note that my version is renamed with _bob at the end.
Bob
Please check the attached backup - I was able to add an authenticator, Note that my version is renamed with _bob at the end.
Bob
Thanks so much for assisting with this and checking the file. Thanks to you verifying that the form was okay I realized it must have been an issue on my server so I went back through things that I worked on last night. At some point I must have turned off the Safe Save setting in the Wizard tab of the Chronoforms settings. Once I turned that back on I can now save the whole form instead of having part of it cut off.
This topic is locked and no more replies can be posted.