Owner of /var/www/html/vrijwilligers:
drwxr-xr-x 7 www-data www-data 4096 Jan 17 15:20 vrijwilligers
What I'm seeing in Nubuilder:
Via ctrl-shift-d is see EM: error in NuRunSuery ( when I click on that nothing appears )
Many thanks for any advise.
Greetings, j.
Re: problem downloading/opening files.
Posted: Fri Feb 14, 2025 1:59 pm
by jameslast29
Hello,
we see these additional EM:
Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': '#1' is not a valid selector.
at n.update (ctxmenu.min.js:1:4863)
at n.update (ctxmenu.min.js:1:4757)
at HTMLDivElement.<anonymous> (nuadmin.js:960:13)
at Function.each (jquery-3.7.1.min.js:2:3129)
at ce.each (jquery-3.7.1.min.js:2:1594)
at nuContextMenuUpdate (nuadmin.js:950:14)
at nuBuildForm (nuform.js:234:3)
at Object.successCallback (nuajax.js:132:4)
at c (jquery-3.7.1.min.js:2:25304)
at Object.fireWith [as resolveWith] (jquery-3.7.1.min.js:2:26053)
I downloaded and installed that.
See attachement for version info.
The issue persists, nothing changed.
greetings, j.
Re: problem downloading/opening files.
Posted: Wed Feb 19, 2025 4:01 pm
by kev1n
Is it possible to create a Minimal Reproducible Example (MRE) that includes all necessary tables and forms, ready for testing?
Since you're using custom upload and download code, reconstructing the form and setting up a test environment is quite time-consuming. Having a complete MRE would make testing much easier.
For example, you could create a fresh nuBuilder instance, integrate your forms, dump the database, and include your upload/download code in a ZIP file.
Re: problem downloading/opening files.
Posted: Thu Feb 20, 2025 11:49 am
by jameslast29
Hello,
is this useful? See attachement.
Greetings, j.
Re: problem downloading/opening files.
Posted: Thu Feb 20, 2025 3:43 pm
by kev1n
Object names that consist solely of numbers may cause errors. Replace them with more descriptive and meaningful names.
Re: problem downloading/opening files.
Posted: Thu Feb 20, 2025 6:05 pm
by steven
jameslast20,
The problem kev1n mentioned is what is explained in your original error.
Uncaught SyntaxError: Failed to execute 'querySelector' on 'Document': '#1' is not a valid selector.
Steven
Re: problem downloading/opening files.
Posted: Fri Feb 21, 2025 12:13 am
by kev1n
I identified some additional issues.
1.
The Browse Form "Agressiemelding" is displaying an error.
This occurs because certain functions are being called in the Custom Code section under "Browse & Edit" instead of the "Edit" section.
Agressiemelding_browse_error.png
2. To apply the style only to the specific <img> element with id="view_image", modify the Code like this (object "view_image"):