Welcome to the nuBuilder Forums!

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

Can't open popup Topic is solved

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
treed
Posts: 205
Joined: Mon May 18, 2020 12:02 am
Been thanked: 2 times
Contact:

Can't open popup

Unread post by treed »

Hello, I have a button to open an edit form. The form displays fine when opened from the forms builder, however when opened from the button there are no objects on the form. There are no errors in debug or the console, however this is what I get in the apache2 error log.

Code: Select all

[Wed Feb 22 13:11:04.961763 2023] [proxy_fcgi:error] [pid 61659] [client 192.52.251.253:37760] AH01071: Got error 'PHP message: PHP Warning:  Attempt to read property "sfo_browse_sql" on bool in /var/www/html/db/core/nuform.php on line 633PHP message: PHP Warning:  Attempt to read property "zzzzsys_form_id" on bool in /var/www/html/db/core/nuform.php on line 635PHP message: PHP Warning:  Attempt to read property "sfo_code" on bool in /var/www/html/db/core/nuform.php on line 636PHP message: PHP Warning:  Attempt to read property "sfo_description" on bool in /var/www/html/db/core/nuform.php on line 637PHP message: PHP Warning:  Attempt to read property "sfo_type" on bool in /var/www/html/db/core/nuform.php on line 638PHP message: PHP Warning:  Attempt to read property "sfo_table" on bool in /var/www/html/db/core/nuform.php on line 642PHP message: PHP Warning:  Attempt to read property "sfo_primary_key" on bool in /var/www/html/db/core/nuform.php on line 643PHP message: PHP Warning:  Attempt to read property "sfo_browse_redirect_form_id" on bool in /var/www/html/db/core/nuform.php on line 644PHP message: PHP Warning:  Attempt to read property "zzzzsys_form_id" on bool in /var/www/html/db/core/nuform.php on line 644PHP message: PHP Warning:  Attempt to read property "sfo_browse_redirect_form_id" on bool in /var/www/html/db/core/nuform.php on line 645PHP message: PHP Warning:  Attempt to read property "sfo_javascript" on bool in /var/www/html/db/core/nuform.php on line 649PHP message: PHP Warning:  Attempt to read property "sfo_browse_row_height" on bool in /var/www/html/db/core/nuform.php on line 653PHP message: PHP Warning:  Attempt to read property "sfo_browse_rows_per_page" on bool in /var/www/html/db/core/nuform.php on line 659PHP message: PHP Warning:  Attempt to read property "sfo_description" on bool in /var/www/html/db/core/nuform.php on line 691', referer: https://dbs.winecountry-bbq.com/index.php?opener=16771002644631002&browsefunction=browse&iframe=1
Javascript under button

Code: Select all

nuPopup('QuoteEmail');
I'm running the 1/23 version of of nuBuilder and php 8.1. Any ideas?

I've tried the form as a launch form with similar results.
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Can't open popup

Unread post by kev1n »

treed
Posts: 205
Joined: Mon May 18, 2020 12:02 am
Been thanked: 2 times
Contact:

Re: Can't open popup

Unread post by treed »

Thank you that works. The example in the wiki shows

Example
nuPopup('nudebug', '', 'line 48');
kev1n
nuBuilder Team
Posts: 4297
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: Can't open popup

Unread post by kev1n »

"nudebug" is a valid Form ID. Press Ctrl+Shift+M to see the form id.

The IDs of nuBuilder's core forms begin with a "nu-" prefix, while user-created forms do not. Instead, they have a unique identifier, such as "63e3d7bd4e10f60".
treed
Posts: 205
Joined: Mon May 18, 2020 12:02 am
Been thanked: 2 times
Contact:

Re: Can't open popup

Unread post by treed »

Good info Thanks.
Post Reply