Page 1 of 1

Can't open popup

Posted: Wed Feb 22, 2023 10:18 pm
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.

Re: Can't open popup

Posted: Wed Feb 22, 2023 11:40 pm
by kev1n

Re: Can't open popup

Posted: Thu Feb 23, 2023 12:36 am
by treed
Thank you that works. The example in the wiki shows

Example
nuPopup('nudebug', '', 'line 48');

Re: Can't open popup

Posted: Thu Feb 23, 2023 1:06 am
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".

Re: Can't open popup

Posted: Thu Feb 23, 2023 6:49 pm
by treed
Good info Thanks.