[Plugin: Contact Form 7 to Database Extension] No Data Submitted
-
Im using CF7, it installed and activated been using it, so it works.
Installed CF7 database ex. activated but when I submit a form. It sends an email but when i go to the database page it doesn’t show up.“No form submissions in the database”
Should be as simple as activate and done right? What am I doing wrong?
http://ww.wp.xz.cn/extend/plugins/contact-form-7-to-database-extension/
-
It should be that simple…
Hard to say what the problem is. I suppose you didn’t see any error message when activating the CFDB plugin?If it cannot create the table it needs to use in your database that would cause it to fail. In PHPMyAdmin check to see if the wp_cf7dbplugin_submits table exists.
You could try to see if there are error logs. You might have to set this up. You would create a file: wp-content/plugins/contact-form-7-to-database-extension/php.ini
In that file you would put something like:
error_log = /some-path/php-errors.log
then try a submission and see if the file contains anything.There is no table created and i set the error_log path to php-errors.log and received no errors.
I accessed the database using sequel pro btw.
Try manually creating the table:
CREATE TABLE IF NOT EXISTS wp_cf7dbplugin_submits submit_time DECIMAL(16,4) NOT NULL, form_name VARCHAR(127) CHARACTER SET utf8, field_name VARCHAR(127) CHARACTER SET utf8, field_value LONGTEXT CHARACTER SET utf8, field_order INTEGER, file LONGBLOB); ALTER TABLE wp_cf7dbplugin_submits ADD INDEX submit_time_idx ( submit_time); ALTER TABLE wp_cf7dbplugin_submits ADD INDEX form_name_idx ( form_name); ALTER TABLE wp_cf7dbplugin_submits ADD INDEX field_name_idx ( field_name);I got a mysql error
[ERROR in query 1] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘submit_time DECIMAL(16,4) NOT NULL,
form_name VARCHAR(127) CHARACTER’ at line 2
[ERROR in query 2] Table ‘gioitre.wp_cf7dbplugin_submits’ doesn’t exist
[ERROR in query 3] Table ‘gioitre.wp_cf7dbplugin_submits’ doesn’t exist
[ERROR in query 4] Table ‘gioitre.wp_cf7dbplugin_submits’ doesn’t existMYSQL version is 5.1.54
Try to sort out the error “‘gioitre.wp_cf7dbplugin_submits’ doesn’t exist”. Login with the same login WP uses, see if the table is there. See if you can “select * from wp_cf7dbplugin_submits”
I tried:
http://inspiredat.com/screenshot.pngLooks like I had a missing parenthesis. Try:
CREATE TABLE IF NOT EXISTS wp_cf7dbplugin_submits ( submit_time DECIMAL(16,4) NOT NULL, form_name VARCHAR(127) CHARACTER SET utf8, field_name VARCHAR(127) CHARACTER SET utf8, field_value LONGTEXT CHARACTER SET utf8, field_order INTEGER, file LONGBLOB); ALTER TABLE wp_cf7dbplugin_submits ADD INDEX submit_time_idx ( submit_time); ALTER TABLE wp_cf7dbplugin_submits ADD INDEX form_name_idx ( form_name); ALTER TABLE wp_cf7dbplugin_submits ADD INDEX field_name_idx ( field_name);Awesome! It works now not sure what happened but here is a list of the installed plugins i have. Don’t know if it will be helpful for your debugging purposes though.
Hello Michael,
I am using WordPress 3.4.1 (with SQL Server, not MySql).
I have first installed your plugin CF7 version 3.2 but I couldn’t edit the forms I had created even though I could publish them on a webpage and also see the forms in my db.
Then I installed CF7 version 3.0-beta and it worked…
I had created a topic here:
http://ww.wp.xz.cn/support/topic/plugin-contact-form-7-no-items-found-in-contact-menu?replies=5#post-3015134Yesterday I installed your plugin CF to DB extension, version 2.4.1, and the content of the forms were saved to the db, (I had to manually add the table you explained above except that I had to change some of it since I am using Sql Server and not MySql (for example the LONGBLOB doesn’t work with sql server). But I finally got the table created, and the content of the forms are saved to the database.
BUT: I cannot see the content of the database from wordpress ! it tells me “No form submissions in the database”. I just tried to install version 2.4 but it doesn’t change anything, I still can’t see the database content from wordpress.
Can you please help me ?
Baudouin, from ParisI just had this – I think its because I had the JetPack contact form installed. I disabled that, then created the table manually and its all fine now.
Hello dloxton,
Okay;
I don’t have the JetPack contact form installed…
The topic ‘[Plugin: Contact Form 7 to Database Extension] No Data Submitted’ is closed to new replies.