Error "-- is not a valid table name for a Subform"
Posted: Fri Jan 03, 2020 12:27 am
Hello,
I am new to nuBuilder. Trying to create my first project but all database update actions cause an error like "XXXXX is not a valid table name for a Subform"
For example: when I try to "Save" modified a time zone I am getting the "zzzzsys_setup is not a valid table name for a Subform" error, or attempt to create an access level results: "zzzzsys_access is not a valid table name for a Subform" etc.
I've traced the problem to the function nuUpdateDatabase() in nudata.php where we get $cts = nuGetJSONData('clientTableSchema'). If I uderstad correct, the clientTableSchema refers to the JASON stored in field "sss_access" of "zzzzsys_session" table for my session.
I've checked the content of clientTableSchema and it is empty:
What is wrong and how I can fix it?
The same issue described in other threads, but no solution:
https://forums.nubuilder.cloud/viewtopic.php?f=19&t=9702
https://forums.nubuilder.cloud/viewtopic.php?f=19&t=9874
I've tried various versions of nuBuilder from GitHub and SourceForge - the same result. Currently have this version installed https://github.com/steven-copley/nubuilder4 which appears to be the latest one.
I am new to nuBuilder. Trying to create my first project but all database update actions cause an error like "XXXXX is not a valid table name for a Subform"
For example: when I try to "Save" modified a time zone I am getting the "zzzzsys_setup is not a valid table name for a Subform" error, or attempt to create an access level results: "zzzzsys_access is not a valid table name for a Subform" etc.
I've traced the problem to the function nuUpdateDatabase() in nudata.php where we get $cts = nuGetJSONData('clientTableSchema'). If I uderstad correct, the clientTableSchema refers to the JASON stored in field "sss_access" of "zzzzsys_session" table for my session.
I've checked the content of clientTableSchema and it is empty:
Code: Select all
"clientTableSchema":{"":{"names":[],"types":[],"primary_key":[],"valid":1}}
The same issue described in other threads, but no solution:
https://forums.nubuilder.cloud/viewtopic.php?f=19&t=9702
https://forums.nubuilder.cloud/viewtopic.php?f=19&t=9874
I've tried various versions of nuBuilder from GitHub and SourceForge - the same result. Currently have this version installed https://github.com/steven-copley/nubuilder4 which appears to be the latest one.