Page 1 of 2

Cannot start nubuilder

Posted: Mon Dec 21, 2020 7:17 pm
by pvdw
I installed nubuilder4. I edited the config file. I created the database nubuilder. I get the login page. I can enter my credentials. But when I log in, I get a page full of errror like
Warning: Undefined array key "nuFilter" in D:\xampp8\htdocs\nubuilder4\nuform.php on line 1071
Warning: Undefined array key "form_id" in D:\xampp8\htdocs\nubuilder4\nucommon.php on line 250
Warning: Undefined array key "record_id" in D:\xampp8\htdocs\nubuilder4\nucommon.php on line 251
Warning: Undefined array key "object_id" in D:\xampp8\htdocs\nubuilder4\nucommon.php on line 305
Warning: Undefined array key "primary_key" in D:\xampp8\htdocs\nubuilder4\nucommon.php on line 306
Warning: Undefined array key "code" in D:\xampp8\htdocs\nubuilder4\nucommon.php on line 307
Warning: Undefined array key "nuFORMdata" in D:\xampp8\htdocs\nubuilder4\nuapi.php on line 27
Warning: Undefined array key "nufirsttime" in D:\xampp8\htdocs\nubuilder4\nucommon.php on line 447
Warning: Attempt to read property "sfi_code" on bool in D:\xampp8\htdocs\nubuilder4\nuform.php on line 1507
Warning: Attempt to read property "sfi_json" on bool in D:\xampp8\htdocs\nubuilder4\nuform.php on line 1508
Warning: Attempt to read property "sfi_code" on bool in D:\xampp8\htdocs\nubuilder4\nuform.php on line 1507
Warning: Attempt to read property "sfi_json" on bool in D:\xampp8\htdocs\nubuilder4\nuform.php on line 1508

And so on.... What is wrong? How can I solve this issue?

Re: Cannot start nubuilder

Posted: Mon Dec 21, 2020 10:29 pm
by kev1n
Hi,

What PHP version do you use ?

Re: Cannot start nubuilder

Posted: Tue Dec 22, 2020 5:37 am
by kev1n
Hi pvdw,

I updated Github with a fix that a addresses a PHP 8 related issue.
Please let me know if it works for you.

Re: Cannot start nubuilder

Posted: Tue Dec 22, 2020 11:12 am
by pvdw
Hello,

I'm using
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/8.0.0
Cliƫntversie van database: libmysql - mysqlnd 8.0.0
PHP-uitbreiding: mysqli Documentatie curl Documentatie mbstring Documentatie
PHP-versie: 8.0.0

Re: Cannot start nubuilder

Posted: Tue Dec 22, 2020 11:26 am
by kev1n
Have you tried the latest from Github?

Re: Cannot start nubuilder

Posted: Tue Dec 22, 2020 1:18 pm
by pvdw
I'm new in NuBuilder.
I don't understand what you mean by ' the latest from Github'.

Re: Cannot start nubuilder

Posted: Tue Dec 22, 2020 1:38 pm
by kev1n

Re: Cannot start nubuilder

Posted: Tue Dec 22, 2020 6:18 pm
by pvdw
I removed my actual nubuild4 folder.
I unpacked the nubuilder4-master folder from the link.
I changed the values for $nuConfigDBGlobeadminUsername and $nuConfigDBGlobeadminPassword in the nuconfig.php file.
I have a mysql database nubuilder4 with all the tables and data as required.
The access for as well the 'root' user as my globeadminuser is ok, rights are ok, passwords are ok.
I launch the page http://localhost:8080/nubuilder4-master.
I get the nuBuilder page, I enter my credentials from the globeadmin user.
Still I have the same list of error once I click the login page.
I don't get the setup page to start Nubuilder.


This is the end of the message I get
Warning: Undefined array key "record_id" in D:\xampp8\htdocs\dashboard\nubuilder4-master\nuform.php on line 1219

Re: Cannot start nubuilder

Posted: Wed Dec 23, 2020 7:26 am
by kev1n
Thanks for reporting, we have fixed another PHP-8 related issue. Could you try again?

Re: Cannot start nubuilder

Posted: Wed Dec 23, 2020 9:03 am
by pvdw
I reinstalled again.
When I login with 'globeadmin' I get the same error as before.
I updated my config file as below with my user and password.
I get the message 'Invalid login'.
Don't know what to do next? Is it possible that my username must be registered somewhere? The user has access to the database.

<?php

$nuConfigDBHost = "127.0.0.1";
$nuConfigDBName = "nubuilder4";
$nuConfigDBUser = "root";
$nuConfigDBPassword = "";
$nuConfigDBGlobeadminUsername = "pvdw"; //-- globeadmin username
$nuConfigDBGlobeadminPassword = "------------"; //-- globeadmin password
$nuConfigTitle = "nuBuilder 4";
$nuConfigIsDemo = false;
$nuConfigTimeOut = 1440;