A sudden error and all teh code is gone / or does not show from the setup of the form. I can only see two blank pahes 'On load' and 'On Submit'. All code is gone.
the error shows in a container saying
error 'type'
administrator/components/com_chronoforms5/chronoforms/views/edit.php file on line 1066
Did anyone encounter this problem?
The form is Advanced and the Theme is bootstrap3.
I changed the theme to another one and the error message dissapeared but the code is gone!
I am using Gantry as my site template and hostgator as host.
This is very strange.
Please can you help? How can I recover the code? I have definitely not deleted it?
the error shows in a container saying
error 'type'
administrator/components/com_chronoforms5/chronoforms/views/edit.php file on line 1066
Did anyone encounter this problem?
The form is Advanced and the Theme is bootstrap3.
I changed the theme to another one and the error message dissapeared but the code is gone!
I am using Gantry as my site template and hostgator as host.
This is very strange.
Please can you help? How can I recover the code? I have definitely not deleted it?
The form code is in the chronoform table untouched (I checked in phpadmin) but it is not viewable on the form.
I have a read and saw some users experienced warnings to do with upgrading to PHP5.4?
I have installed the latest version of chronoform/ latest updates for the component.
Thank you
Amelia
I have a read and saw some users experienced warnings to do with upgrading to PHP5.4?
I have installed the latest version of chronoform/ latest updates for the component.
Thank you
Amelia
Hi Amelia,
I've had a quick look at the code on that line and I can't explain what is happening. The error message you posted doesn't look like a normal PHP message - is that all that there is displayed?
Bob
I've had a quick look at the code on that line and I can't explain what is happening. The error message you posted doesn't look like a normal PHP message - is that all that there is displayed?
Bob
Yes. All of a sudden. teh form setup does not display any code and when the form does not run.
However, in teh chronoform table I can see the code as it was.
However, in teh chronoform table I can see the code as it was.
In the Code Wizard I see that the form is suddenly cut short
<!--_CHRONOFORMS_PAGE_BREAK_-->
Some input fields are missing
Is thsi an issue to do with restrictions on Hostgator?
Has anyone encountered something similar?
basicly this happened suddenly without me modifying anything to a form that was actually working.
<!--_CHRONOFORMS_PAGE_BREAK_-->
Some input fields are missing
Is thsi an issue to do with restrictions on Hostgator?
Has anyone encountered something similar?
basicly this happened suddenly without me modifying anything to a form that was actually working.
Sorry ignore my last comment.
But how come the whole code of the form disappeared without me deleting it?
Where is the code stored in the chronoform table?
But how come the whole code of the form disappeared without me deleting it?
Where is the code stored in the chronoform table?
Hi Amelia,
What sections are empty now ? the designer, the Code or the Setup?
Do you have the latest update for v5 ? did you change any settings in Chronoforms ?
Some hosts put some limits on the number of variables used, this may cause the problem you have, please check if you have "suhosin" installed on your server ?
Regards,
Max
What sections are empty now ? the designer, the Code or the Setup?
Do you have the latest update for v5 ? did you change any settings in Chronoforms ?
Some hosts put some limits on the number of variables used, this may cause the problem you have, please check if you have "suhosin" installed on your server ?
Regards,
Max
Sorry...I am a bit confused hence I might not make sense.
The designer is almost intact with only a few textboxes and a submit button missing.
the Setup (where teh events go) is empty. All I can see is two empty events windows 'On Load' and on submit.
All the rest of the events I had/js code etc is gone.
I will try and contact the host. I have not changed any settings at alll and the form worked well.
The designer is almost intact with only a few textboxes and a submit button missing.
the Setup (where teh events go) is empty. All I can see is two empty events windows 'On Load' and on submit.
All the rest of the events I had/js code etc is gone.
I will try and contact the host. I have not changed any settings at alll and the form worked well.
I have the latest v5 version. Cannot see susoshin installed. also in php.ini (the custom one used by the host) I did not see any restrictions being set on no variables.
The form was working perfectly fine.
The form was working perfectly fine.
Ok, what you have described means that some limits have been applied when you saved the form last time and the post data was trimmed, and so all the setup data are gone, some of your designer fields were trimmed as well.
Please go to the "System information" page in your Joomla admin and use the browser's find feature and try to find "suhosin", then try to find the max post vars, and send me this value.
Also please send me the "Wizard settings" in the Chronoforms settings area.
Did you have a form copy or backup ?
Regards,
Max
Please go to the "System information" page in your Joomla admin and use the browser's find feature and try to find "suhosin", then try to find the max post vars, and send me this value.
Also please send me the "Wizard settings" in the Chronoforms settings area.
Did you have a form copy or backup ?
Regards,
Max
Sorry for the late answer: I was up Mulanje Mountain.
I am just now talking with hostgator. They say that max post vars is set to 1000. They also run suhosin although I could not see any settings regarding sohosin or max post vars in php.ini.
I am just now talking with hostgator. They say that max post vars is set to 1000. They also run suhosin although I could not see any settings regarding sohosin or max post vars in php.ini.
Hello Max
Hostgator is using currently PHP 5.4.32 which uses a variable max_input_vars. This is set to 1000 by default.
I am not sure if this was not enough for my form.
I have increased it now to a much higher value. What is the recommended value in your opinion?
Hostgator does have suhosin installed on all lynux accounts. So I need some settings set regarding this?
The Wizard settings are:
Safe save = Yes
Safe save chunk size = 0
Safe loading count = 20
Display actions diagnostics = Yes
Many thanks for your help.
Amelia
Hostgator is using currently PHP 5.4.32 which uses a variable max_input_vars. This is set to 1000 by default.
I am not sure if this was not enough for my form.
I have increased it now to a much higher value. What is the recommended value in your opinion?
Hostgator does have suhosin installed on all lynux accounts. So I need some settings set regarding this?
The Wizard settings are:
Safe save = Yes
Safe save chunk size = 0
Safe loading count = 20
Display actions diagnostics = Yes
Many thanks for your help.
Amelia
Hi Amelia,
The safe save should help you avoid the max vars limit, but the current problem maybe caused by the max var size, please check this and put a slightly smaller value in the "safe save chunk size", if you can't find the value then just use 500 or 1000 and test the form.
You will have to add more fields to your form then save it to know if the settings work or not!
Let us know!🙂
Regards,
Max
The safe save should help you avoid the max vars limit, but the current problem maybe caused by the max var size, please check this and put a slightly smaller value in the "safe save chunk size", if you can't find the value then just use 500 or 1000 and test the form.
You will have to add more fields to your form then save it to know if the settings work or not!
Let us know!🙂
Regards,
Max
Hello Max
Just to clarify. You are suggesting that I set the "safe save chunk size" to 500 or 1000?
Is this correct?
Amelia
Just to clarify. You are suggesting that I set the "safe save chunk size" to 500 or 1000?
Is this correct?
Amelia
Yes, you can change this based on the "max var size" in your PHP/Suhosin, there is a note under the field!
Regards,
Max
Regards,
Max
Hello Max.
I did what you suggested.
I am not sure if this is related or not - but when I create a form using the 'New simple' the form is saved well. But when I create a form using the 'New' and I create an advanced or simple (it does not matter) the form does not save properly. I cannot test it in teh browser for some reason I see nothing except the 'Powered by Chronoengine'.
A workaround I used was to create a simple form then changed the mode to 'Advanced'.
Is this sort of behavior familiar to you?
Thank you
Regards
Amelia
I did what you suggested.
I am not sure if this is related or not - but when I create a form using the 'New simple' the form is saved well. But when I create a form using the 'New' and I create an advanced or simple (it does not matter) the form does not save properly. I cannot test it in teh browser for some reason I see nothing except the 'Powered by Chronoengine'.
A workaround I used was to create a simple form then changed the mode to 'Advanced'.
Is this sort of behavior familiar to you?
Thank you
Regards
Amelia
Hi Amelia,
That sounds as though you aren't adding an HTML (Render Form) action in the On Load event in the Setup tab. The Simple Wizard does this for you automatically; with the Advanced Wizard you have to add it.
Bob
That sounds as though you aren't adding an HTML (Render Form) action in the On Load event in the Setup tab. The Simple Wizard does this for you automatically; with the Advanced Wizard you have to add it.
Bob
Hi Amelia,
What about your original form with the problem ? just copy it and add more fields then try to save it!
Regards,
Max
What about your original form with the problem ? just copy it and add more fields then try to save it!
Regards,
Max
This topic is locked and no more replies can be posted.
