Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Save Error -All Forms- not a valid table name for a Subform

Questions related to using nuBuilder Forte.
Post Reply
StephenSmothers
Posts: 4
Joined: Sat Oct 13, 2018 10:18 pm
Location: Troy, Alabama USA

Save Error -All Forms- not a valid table name for a Subform

Unread post by StephenSmothers »

I am new to the nuBuilder community but am a veteran IT person with many year of experience.
I have created a new installation of nuBuilder4 on the following platform:
Windows Server 2012R2
PHP 7.2.7
MySQL 8.0.12
I have managed to resolve every issue I've encountered during setup using the forum and web searches.
The only issue that has me stumped is every form produces the same error when I click save. This is happing on the initial setup screen and any fast forms created using the builder. (screen shots below)
Any assistance would be greatly appreciated. :D

Saving Time Zone change.
Setup.PNG
Successful Creation of basic form and table.
formcreated.PNG
Test form failed on saving.
TestForm.PNG
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Save Error -All Forms- not a valid table name for a Subf

Unread post by admin »

Stephen,

I have no idea - sorry.

Have you run the Update Button?

This keeps the system files up to date.

Steven
StephenSmothers
Posts: 4
Joined: Sat Oct 13, 2018 10:18 pm
Location: Troy, Alabama USA

Re: Save Error -All Forms- not a valid table name for a Subf

Unread post by StephenSmothers »

Yes, I have tried updates, reinstalling nuBuilder4, Recreating the entire database and several configuration changes. Best I can tell is that the code is not getting the table name to use based on a modification I did to the underlying code to troubleshoot the problem.

I've updated PHP
current configuration
Windows Server 2012R2
IIS 8.5
PHP 7.2.11
MySQL 8.0.12

I've determined that the basic configuration should work.
I loaded nuBuilderPro on the system and was able to run everything without any issues.

Why doesn't nuBuilder4 work? Any idea on the best way to troubleshoot the nuBuilder base code? (PHP is not my strong suit.)
Last edited by StephenSmothers on Sun Oct 14, 2018 3:56 am, edited 1 time in total.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Save Error -All Forms- not a valid table name for a Subf

Unread post by admin »

Stephen,

What do you mean by this?

Code: Select all

based on a modification I did to the underlying code

Steven
StephenSmothers
Posts: 4
Joined: Sat Oct 13, 2018 10:18 pm
Location: Troy, Alabama USA

Re: Save Error -All Forms- not a valid table name for a Subf

Unread post by StephenSmothers »

Added a little code to see what was in the variable.

nuDisplayError("<b>$table</b> is not a valid table name for a Subform - $cts[$table]");

It comes back ' '.

I've determined that the basic configuration should work.
I loaded nuBuilderPro on the system and was able to run everything without any issues.

Why doesn't nuBuilder4 work? Any idea on the best way to troubleshoot the nuBuilder base code? (PHP is not my strong suit.)
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Save Error -All Forms- not a valid table name for a Subf

Unread post by admin »

Stephen,

I've pulled the latest from github.

And it works fine for me.


Steven
kev1n
nuBuilder Team
Posts: 4302
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Save Error -All Forms- not a valid table name for a Subf

Unread post by kev1n »

Make sure that the object names are written exactly the same as the database field names. Table names (and also field names) are case sensitive.

Also check out this related topic: https://forums.nubuilder.cloud/viewtopic. ... orm#p18003

If this doesn't solve your issue dump your db to an .sql-file and upload it somewhere (e.g. to http://www.tinyupload.com/) and I'll have a look at it.
Remove/replace any confidential data, if there are any.

Export instructions: https://www.inmotionhosting.com/support ... phpmyadmin

Upload the .sql-file here (zip it if necessary)
http://www.tinyupload.com/

Or contact me by email and I'll help you solve your issue: cnux@mailed.ro
StephenSmothers
Posts: 4
Joined: Sat Oct 13, 2018 10:18 pm
Location: Troy, Alabama USA

Re: Save Error -All Forms- not a valid table name for a Subf

Unread post by StephenSmothers »

I built some additional VM servers to test various configurations.
The issue appears to be with the MYSQL 8.0.12 configuration. It work under MySQL 5.7.
I believe is has something to do with the JSON configuration.
Any Ideas? Anyone with a MySQL 8.0 under windows configuration working?
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Save Error -All Forms- not a valid table name for a Subf

Unread post by admin »

.
Post Reply