Forums

Chronoforms v7 form not workin

nokia_kid 25 Oct, 2022
Ok so I have updated my Joomla to 4.2.3 and have also updated my Chronoforms to version 7. I try to use my imported form from CF5 but get the following errors any help much appreciated;

An error has occurred.0 HY000, 1364, Field 'uniq_id' doesn't have a default valueCall stack# Function Location1 () JROOT/libraries/vendor/joomla/database/src/Pdo/PdoDriver.php:4982 Joomla\Database\Pdo\PdoDriver->execute() JROOT/plugins/system/chronog3_plg/chronog3/libs/joomla/database_adapter.php:1413 G3\L\Joomla\DatabaseAdapter->execute_query() JROOT/plugins/system/chronog3_plg/chronog3/libs/model.php:12624 G3\L\Model->insert() JROOT/administrator/components/com_chronoforms7/chronoforms/libs/models.php:2095 G3\A\E\Chronoforms\L\Models->save() JROOT/administrator/components/com_chronoforms7/chronoforms/functions/save_data/save_data_output.php:86 include() JROOT/plugins/system/chronog3_plg/chronog3/libs/traits/load_file.php:217 G3\L\Component->load_file() JROOT/administrator/components/com_chronoforms7/chronoforms/libs/page.php:448 G3\A\E\Chronoforms\L\Page->fn() JROOT/administrator/components/com_chronoforms7/chronoforms/libs/page.php:3659 G3\A\E\Chronoforms\L\Page->event() JROOT/administrator/components/com_chronoforms7/chronoforms/controllers/manager.php:10410 G3\A\E\Chronoforms\C\Manager->index() JROOT/plugins/system/chronog3_plg/chronog3/libs/app.php:30411 G3\L\App->processAction() JROOT/plugins/system/chronog3_plg/chronog3/libs/app.php:24312 G3\L\App->dispatch() JROOT/plugins/system/chronog3_plg/chronog3/libs/app.php:7813 G3\L\App::call() JROOT/plugins/system/chronog3_plg/chronog3/libs/app_loader.php:6714 G3\L\AppLoader->__construct() JROOT/administrator/components/com_chronoforms7/chronoforms7.php:2015 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7116 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7317 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:35518 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:14319 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:18620 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:29421 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:6122 require_once() JROOT/administrator/index.php:32
Colnem 26 Oct, 2022
Hi

You can't import your CF5 forms in CF7 Forms.
You have to rewrite all your forms.
GreyHead 29 Oct, 2022
Hi,

I don't think Colnem is strictly correct - you can backup your CFv5 forms and restore them in CFv7. You can't do that for CFv6 forms though.

Bob
Colnem 29 Oct, 2022
Hi Greyhead

I never use CF5. But CF7 is fully different that previous version. So I think - but not sure - that I'm wright.
Why many users can't import their CF5 backup?
Have you try to import a CF5 backup in CF7?

Please, send me a CF5 form by private message and I'll try.

Thanks
Colnem 01 Nov, 2022
Hi

With the help of Greyhead, we have do some tests:

You can restore a CF5backup in Joomla 3+CF7. Save your backup and restore in Joomla 4+CF7 (try with J4+PHP8). It's good.
But you can't restore a CF5 backup directly in Joomla 4+CF7, neither PHP 7.4, nor PHP 8.

Thanks to Greyhead
You need to login to be able to post a reply.