Hi,
i tried to reinstall ccv5 and cfv5 but i did not get any results.
I continue to get the error below.
Thanks in advance
Cornelio
i tried to reinstall ccv5 and cfv5 but i did not get any results.
I continue to get the error below.
Fatal error: Cannot redeclare class GCore\Models\formati in /home/ieraora/public_html/demophoto/administrator/components/com_chronoforms5/chronoforms/actions/db_save/db_save.php(73) : eval()'d code on line 4
Thanks in advance
Cornelio
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
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
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
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
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
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
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
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
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
Best regards,
Max
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
Hi Max,
following your suggestion I did not get any change.
Thanks anyway
Cornelio
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
It depends on where you have placed the code ?
Best regards,
Max
Hi Bob,
sorry for late reply,
but from your previous answer I understand this way: see below
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
Sorry for the late reply!
Please try to add a debugger after the custom code, what do you get ?
Best regards,
Max
Hi Max,
Thank you for the reply. These are my configurations
Regards
Cornelio
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
In the code you have "mformati" but it should be "formati" as in the data array to work.
Best regards,
Max
Hi Max,
Yes you are right. I have corrected and as you see it does not change anything.
Regards
Cornelio
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
You still get the same debug output ?
Best regards,
Max
This topic is locked and no more replies can be posted.