Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Javascript error when adding a new record Topic is solved
Re: Javascript error when adding a new record
In Mysql Workbench, I dropped the spiritform schema, re-created it, then re-ran my backup script from the same date-time as the file I sent you (2025-09-24_150506_68d416b2a4cb4_nuBuilder_backup.sql) logged in and tried creating a new record, same result as above. WTF???
-
- nuBuilder Team
- Posts: 4528
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 518 times
- Contact:
Re: Javascript error when adding a new record
Have you tried the latest files from Github?
https://github.com/nuBuilder/nuBuilder/ ... master.zip
https://github.com/nuBuilder/nuBuilder/ ... master.zip
Re: Javascript error when adding a new record
I just downloaded the master.zip as you suggested. Same result. Next?
-
- nuBuilder Team
- Posts: 4528
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 518 times
- Contact:
Re: Javascript error when adding a new record
Which browser and version are you using? Which PHP version?
-
- nuBuilder Team
- Posts: 4528
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 518 times
- Contact:
Re: Javascript error when adding a new record
Could you create another dump of your db and send it to me (private message)
Re: Javascript error when adding a new record
PHP Version 8.2.12
Chrome version: 140.0.7339.208 (Official Build) (64-bit)
PHP Version 8.2.12
System Windows NT BUDDHAFOURII 10.0 build 19045 (Windows 10) AMD64
Build Date Oct 24 2023 21:10:40
Build System Microsoft Windows Server 2019 Datacenter [10.0.17763]
Compiler Visual C++ 2019
Architecture x64
Configure Command cscript /nologo /e:jscript configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=..\..\..\..\instantclient\sdk,shared" "--with-oci8-19=..\..\..\..\instantclient\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--without-analyzer" "--with-pgo"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path no value
Loaded Configuration File C:\xampp\php\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20220829
PHP Extension 20220829
Zend Extension 420220829
Zend Extension Build API420220829,TS,VS16
PHP Extension Build API20220829,TS,VS16
Debug Build no
Thread Safety enabled
Thread API Windows Threads
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
Zend Max Execution Timers disabled
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams php, file, glob, data, http, ftp, compress.zlib, compress.bzip2, https, ftps, zip, phar
Registered Stream Socket Transports tcp, udp, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk, zlib.*, bzip2.*
Chrome version: 140.0.7339.208 (Official Build) (64-bit)
PHP Version 8.2.12
System Windows NT BUDDHAFOURII 10.0 build 19045 (Windows 10) AMD64
Build Date Oct 24 2023 21:10:40
Build System Microsoft Windows Server 2019 Datacenter [10.0.17763]
Compiler Visual C++ 2019
Architecture x64
Configure Command cscript /nologo /e:jscript configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=..\..\..\..\instantclient\sdk,shared" "--with-oci8-19=..\..\..\..\instantclient\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--without-analyzer" "--with-pgo"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path no value
Loaded Configuration File C:\xampp\php\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20220829
PHP Extension 20220829
Zend Extension 420220829
Zend Extension Build API420220829,TS,VS16
PHP Extension Build API20220829,TS,VS16
Debug Build no
Thread Safety enabled
Thread API Windows Threads
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
Zend Max Execution Timers disabled
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams php, file, glob, data, http, ftp, compress.zlib, compress.bzip2, https, ftps, zip, phar
Registered Stream Socket Transports tcp, udp, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk, zlib.*, bzip2.*
-
- nuBuilder Team
- Posts: 4528
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 518 times
- Contact:
Re: Javascript error when adding a new record
I can now see the error after saving as well.
But my web server keeps crashing regularly — something is flawed in the whole setup.
But my web server keeps crashing regularly — something is flawed in the whole setup.
-
- nuBuilder Team
- Posts: 4528
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 518 times
- Contact:
Re: Javascript error when adding a new record
One potential issue I noticed is the use of constraints. Consider removing them, as they may not be compatible with nuBuilder.
Re: Javascript error when adding a new record
I removed the foreign keys (to devices and investigators tables) from the cases table and even removed the two tables (devices and investigators). I was not using them anyway, was trying to set them up before, but dropped the whole idea. So I removed them from the equation altogether. But still seeing the same error.
An additional note: I can make changes to EXISTING records and save them, but still cannot save NEW records.
An additional note: I can make changes to EXISTING records and save them, but still cannot save NEW records.
Re: Javascript error when adding a new record
FYI: I have another nubuilder application under another web folder. I can create and save new records there with no problems.