Alex Sawallich
Forum Replies Created
-
Also I dumped the $update_array in the file includes/save.php. So when saving a form for the first time, these keys are dumped:
Array
(
[save_subs] => checked
[send_email] => checked
[ajax] => checked
[landing_page] => http://www.hpnoll.de/biographie/
[append_page] => s:0:””;
[multi] =>
[multi_options] =>
[post] =>
[post_options] =>
[title] => Contact form
[show_title] => checked
[desc] =>
[show_desc] =>
[subject] => Contact via website
[email_type] => text
[email_from] => info@example.com
[mailto] => info@example.com
[success_msg] => Thank you for your request, we\’ll take care of it.
[email_msg] =>
[email_fields] => s:0:””;
)This shows that the necessary fields
save_statusandsave_status_optionsare not provided. Maybe this helps you.Hi Kevin,
First of all thanks for your quick reply.
I tried what you did. However – I didn’t tell you yet – I used a complete new installation of ninja forms lite. I didn’t update it from any earlier version.
However I did what you suggested. Reinstallation with deleting the db-tables explicitly. I tried the manual installation by downloading the plugin from wordpress.org and putting it into the plugins-folder of my wp-installation. Also I tried to install the plugin from the backend of my wp. In both cases no success.
I checked the ninja_forms.php-file again and inspected the query that is used to create the 3 db-tables. Lines 311-337 is the query that creates the main table. In lines 334+334 it is explicitly stated:
save_status varchar(10) NOT NULL,
save_status_options longtext NOT NULL,So this fields mustn’t be NULL, but also no default-value is set.
– Alex
Hi,
I am using WordPress 3.3.2 and Ninja Forms Lite 1.3.4.
I got a similar error not being able to create any forms. I turned on the mysql-error output and saw the following errors:
WordPress database error: [Feld ‘save_status’ hat keinen Vorgabewert]
(Translated: field ‘save_status’ has no default value)So I altered the table-field by providing an empty string as default value. That’s probably not correct however it got me a step further and I got the following error:
WordPress database error: [Feld ‘save_status_options’ hat keinen Vorgabewert]
(Translated: field ‘save_status_options’ has no default value).I could play this game a little further, however I am not quite willing right now.
Since I don’t know what the default values should be, I would ask you to take a look at this and provide a fix.
Thank you
Alex