I am not sure if this is a bug or an installation issue or I have been stupid, but I have done several searches of the forums and can find no similar cases so...
I am getting the following messages after the successful submission of a form:
Notice: Array to string conversion in /home/default/bizshare.org.uk/user/htdocs/components/com_chronocontact/chronocontact.php on line 423
Notice: Array to string conversion in /home/default/bizshare.org.uk/user/htdocs/components/com_chronocontact/chronocontact.php on line 559
These appear above the after submit text.
Any help much appreciated.
Ben
I am getting the following messages after the successful submission of a form:
Notice: Array to string conversion in /home/default/bizshare.org.uk/user/htdocs/components/com_chronocontact/chronocontact.php on line 423
Notice: Array to string conversion in /home/default/bizshare.org.uk/user/htdocs/components/com_chronocontact/chronocontact.php on line 559
These appear above the after submit text.
Any help much appreciated.
Ben
Hi Ben,
I've never seen that error before as far as I recall, it looks as though ChronoForms can't find the list of field names for your form.
[sendfb][/sendfb]
Bob
I've never seen that error before as far as I recall, it looks as though ChronoForms can't find the list of field names for your form.
[sendfb][/sendfb]
Bob
Hi Ben,
The problem is connected to the two checkboxes that you have with the same array name. I'm not exactly sure why but they don't make sense as they are. If you make them type='radio' the problem goes away and you can only check one or the other.
Bob
The problem is connected to the two checkboxes that you have with the same array name. I'm not exactly sure why but they don't make sense as they are. If you make them type='radio' the problem goes away and you can only check one or the other.
Bob
I'm not sure this is related, but I noticed there was no value for the handlepostedarrays config-setting. Hence, array fields would not be imploded to a comma-separated string, when stored in the $fields[$name] array.
Looking at the form, using radiobuttons would make more sense, and I'm not sure you'd need to use arrays for these in the first place (contrary to checkboxes).
Looking at the form, using radiobuttons would make more sense, and I'm not sure you'd need to use arrays for these in the first place (contrary to checkboxes).
but I noticed there was no value for the handlepostedarrays config-setting.
good catch, that's it then, may be the form was restored from older version! :?
Max
This topic is locked and no more replies can be posted.