Hi Greyhead!
sorry for the holiday time message.
I am setting up a form as a petition and wanting to save the details to the database.
I have followed your youtube videos, have mijomsql and dont everything including changing every table identifier to a uniq one for the new form.
the problem is that it is just not saving the forms to mysql database. i have cleared cache, again and again, so not sure what to do.
any ideas?
Hi akaentertainment,
Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.
Bob
Hi akaentertainment,
There is no table selected in the DB Save action - select the name of the table you created is the action settings and it should work OK.
Bob
PS You also need an Event Loop action in the pink On Fail event of the Check Google NoCaptcha action for that to work correctly.
i havnt finished that module on the actual form yet - as the "create table" system isnt working - a step back.
you know when you select the form your wanting - click on "create table" button up top and then its gives you all the table options which creates the fields in your mysql.
well the mysql isnt getting this data or creating the fields in the database.
i have tried everything.
Hi akaentertainment,
'Create Table' works OK. I've created a table, linked it to the DB Save action and saved a test record.
Bob
thanks Bob
it must be my browser or something cos i cant seem to do it. am working on chrome - do you suggest another?
cheers
Rob
Hi Rob,
Nope, I'm using Chrome too. The table is now created and working.
What exactly is the problem that you see when you try to create a table?
Bob
i set up the table as per the video tutorial, afjusting counts, key names and text field and remove button then save. it just does not save to the database for some reason.
i can the top name (using the standards in your video)
then cf_id plus character count to make sure its slightly more than the name of the table
then message field to TEXT and delete the number
then turn off button
then hit send.
Hi Rob,
Sounds OK - please take and post a screenshot of the settings just before you hit send and I'll see if I can spot anything.
Bob
Did you get this fixed? I am having the same problem, ie: when I click on the 'Save' button to create the table (and using the database tables prefix for my site) I immediately get a screen stating "Not Permitted" ...difficult to know what the cause might be, or where to go next 😟
Hi Pks,
Sounds as if it might be a server security setting, Please try setting site Error Reporting to Maximum temporarily and see if you get a more helpful message. You might also check the server logs.
Bob
Fixed ...by my host company techies.
In case the info is useful for anyone else getting similar problems:-
The error was being caused by a mod_security rule in the server which was interrupting and thus causing the "Not Permitted" error. They had to whitelist the rule for the website in order to fix the issue.
Thanks for the pointer ...and a really useful component.