Forums

Problem with DBSAVE

marmouz 23 Jul, 2017
Hello everyone
I have a problem with DBSAVE in CF 5
I have to create a form in which the id_user field must be defined later. I realized all this with wampserver locally and it works very well. Only on my website the id_user field after a dbSave writes me the value 359.
For trying, I have in CF installed a "debugger" and its display that I attached to you shows that the dbsave attributes to id_user the value 359 ???
Does anyone have any idea what's going on?
thank you in advance

Pierre
GreyHead 23 Jul, 2017
Hi Pierre,

I can see that the value is set to 359 - but there is nothing there to explain why that is happening. And no value set in the form data.

Is there anything in your form that uses the value 359? What is your user_id? Could that be it?

Bob
marmouz 23 Jul, 2017
Hi Bob,
Thank you for this quick response
No, I have not defined a user_id in my form or elsewhere, but last night i have changed the database for une old and the phenomenon disappeared to come back this morning. It may be in the database that you should look for but I do not see what in the structure of it could cause this error.

Pierre
GreyHead 23 Jul, 2017
Hi Pierre,

By all means PM me the site URL, the form name, and a SuperAdmin login and I'll take a quick look.

Bob
marmouz 29 Jul, 2017
Hello Bob,
I'm sorry for my silence for a few days, but I'm very busy with health problems.
I did not find after many trials the cause of my problem that lies between the CF program and my database host. For the moment I have solved it differently.
Thank you for your valuable advice.

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