Forums

"db save" saves an almost empty record

Fulcoli 04 Oct, 2012
I'm preparing a group of forms for which I have a big problem.
Following instruction by the tutorials I did everything in order to save data into db tables created with chronoforms.
Unfortunately every time I press submit button a first record is saved with data and a second one is saved almost empy.

(By the way: I cannot understand why my file names are empty in the db table)

The effect of one pression on submit is to insert into the db table two rows:
record#1
record#2

(why not only record#1 ?????)

and, for example, what happens is that record#1 may contain the inserted data:


cf_id 1
cf_uid 14b585b4044b4d87834eb418b04462aa
cf_created 2012-10-05 00:27:02
cf_modified 0000-00-00 00:00:00
cf_created_by 0
cf_modified_by 0
cf_ipaddress 95.227.8.100
cf_user_id 0
input_text_marca Marca mia
input_text_modello modello mio
input_text_anno_costruzione 1998
input_text_riscaldamento autonomo
input_text_numero_scomparti 5
input_text_caricamento manuale
input_radio_condizioni cattive
input_text_kg_scomparti 150
input_radio_documentazione_CE No
input_text_lingua_documentazione italiano
input_file_front_image
input_file_image_right_side
input_file_image_left_side
input_file_image_back_side
input_submit_124 Inserisci



and record#2 contains:


cf_id 2
cf_uid be5f1898b0934fef3072b749cc0266dc
cf_created 2012-10-05 00:27:04
cf_modified 0000-00-00 00:00:00
cf_created_by 0
cf_modified_by 0
cf_ipaddress 95.227.8.100
cf_user_id 0
input_text_marca
input_text_modello
input_text_anno_costruzione
input_text_riscaldamento
input_text_numero_scomparti
input_text_caricamento
input_radio_condizioni
input_text_kg_scomparti
input_radio_documentazione_CE
input_text_lingua_documentazione
input_file_front_image
input_file_image_right_side
input_file_image_left_side
input_file_image_back_side
input_submit_124



Someone can help???
Please!😟
Max_admin 05 Oct, 2012
Hi,

How many "DB Save" actions do you have in your form ? are you using Connectivity to save the data ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fulcoli 05 Oct, 2012
The fact is that I have just one DB save and I don't use connectivity (it is installed but I never opened it up to now).

I'm using Chronoforms version 4.

At the beginning I thought that was a problem due to the sh404sef module but also disabling it the problem persists.
:(
ttomljen 24 Jul, 2013
hi,

I have the same problem.
I also have only one DBsave and I'm not using Connectivity.

There are no problems with saving to database, but I keep getting these weird empty or almost empty records where "cf_modified" is "0000-00-00 00:00:00".

any ideas?
GreyHead 24 Jul, 2013
Hi ttomljen,

Please see this FAQ it talks about emails but will equally apply to the DB Save action.

Bob
This topic is locked and no more replies can be posted.