Page 3 of 5
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 4:35 pm
by Paul
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???
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 4:39 pm
by kev1n
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 4:57 pm
by Paul
I just downloaded the master.zip as you suggested. Same result. Next?
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 5:02 pm
by kev1n
Which browser and version are you using? Which PHP version?
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 5:03 pm
by kev1n
Could you create another dump of your db and send it to me (private message)
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 5:15 pm
by Paul
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.*
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 6:01 pm
by kev1n
I can now see the error after saving as well.
But my web server keeps crashing regularly — something is flawed in the whole setup.
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 6:11 pm
by kev1n
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
Posted: Fri Sep 26, 2025 6:50 pm
by Paul
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.
Re: Javascript error when adding a new record
Posted: Fri Sep 26, 2025 7:24 pm
by Paul
FYI: I have another nubuilder application under another web folder. I can create and save new records there with no problems.