Hi Cornelio,
Please check that you have the latest releases installed. I recall this as a bug that has been fixed. I checked the code I have on my test site and it looks as if it should prevent this error.
Bob
Hi bob,
Thanks for the quick answer.
I had already encountered and solved this bug.
The version is cfv5 5.0.14
Cornelio
Hi Cornelio,
I'm sorry but I'm not clear if this is still a problem or is now solved?
Bob
Hi Bob,
Unfortunately it has not been solved, it's strange because it worked fine.
Cornelio
Hi Cornelio,
Please ask Max for an update - use the Contact Us menu above and link to this thread.
Bob
Hi,
Please make sure that you have unique models names in the forms and connections when you have them loaded on the same page, so if you have a model named "formati" some where then please use a different name in other "db" actions and in your connection.
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
Thank you very much for the quick response.
Changing the name to the model seems to work, but now I do not remember how to fix this query as per attachment
Cornelio
Hi Cornelio,
You will need to unset these keys using PHP before the data is saved
unset($this->data["mformati"]["id"]);
unset($this->data["mformati"]["__N__"]);
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
following your suggestion I did not get any change.
Thanks anyway
Cornelio
Hi Cornelio,
It depends on where you have placed the code ?
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Bob,
sorry for late reply,
but from your previous answer I understand this way: see below
Hi Cornelio,
Sorry for the late reply!
Please try to add a debugger after the custom code, what do you get ?
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
Thank you for the reply. These are my configurations
Regards
Cornelio
Hi Cornelio,
In the code you have "mformati" but it should be "formati" as in the data array to work.
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
Yes you are right. I have corrected and as you see it does not change anything.
Regards
Cornelio
Hi Cornelio,
You still get the same debug output ?
Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Hi Max,
The situation is always the same, included debug output
When you update the records you get the conditionality that I have exposed to you.
Regards
Cornelio