Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
nuBuilder on XAMPP Topic is solved
-
- Posts: 95
- Joined: Thu Mar 04, 2021 2:03 pm
Re: nuBuilder on XAMPP
I went from scratch:
1. copied nuBuilder files from the newest version 22.3.2022
DB Version: V.4.5-2022.01.30.00
Files Version: V.4.5-2022.02.22.02
2. created database with the same name as in production instance
3. added password for user as in the produstion instance
4. modified nuconfig.php
$nuConfigDBHost= "127.0.0.1";
$nuConfigDBName= "xxxxx"; //same as in production instance
$nuConfigDBUser%= "yyyyy"; //same as in production instance
$nuConfigDBPassword= "zzzzz"; //same sa in production instance
$nuConfigDBEngine= "MyISAM";
$nuConfigDBCollate="utf8_general_ci";
$nuConfigDBCharacterSet= "utf8";
$nuConfigDBOptions= array();
// Administrator Login:
$nuConfigDBGlobeadminUsername= "globeadmin";
$nuConfigDBGlobeadminPassword= "nu";
5. after logging
- no graphics
- error:
Uncaught Error.
Notice: Undefined index: DB_OPTIONS in C:\xampp\htdocs\katalog\core\nudatabase.php on line 11
What's wrong ?
1. copied nuBuilder files from the newest version 22.3.2022
DB Version: V.4.5-2022.01.30.00
Files Version: V.4.5-2022.02.22.02
2. created database with the same name as in production instance
3. added password for user as in the produstion instance
4. modified nuconfig.php
$nuConfigDBHost= "127.0.0.1";
$nuConfigDBName= "xxxxx"; //same as in production instance
$nuConfigDBUser%= "yyyyy"; //same as in production instance
$nuConfigDBPassword= "zzzzz"; //same sa in production instance
$nuConfigDBEngine= "MyISAM";
$nuConfigDBCollate="utf8_general_ci";
$nuConfigDBCharacterSet= "utf8";
$nuConfigDBOptions= array();
// Administrator Login:
$nuConfigDBGlobeadminUsername= "globeadmin";
$nuConfigDBGlobeadminPassword= "nu";
5. after logging
- no graphics
- error:
Uncaught Error.
Notice: Undefined index: DB_OPTIONS in C:\xampp\htdocs\katalog\core\nudatabase.php on line 11
What's wrong ?
-
- nuBuilder Team
- Posts: 4428
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 475 times
- Contact:
-
- Posts: 95
- Joined: Thu Mar 04, 2021 2:03 pm
Re: nuBuilder on XAMPP
Original from production instance or from fresh installation ? I modified the fresh installed nuconfig.php ...
-
- nuBuilder Team
- Posts: 4428
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 475 times
- Contact:
Re: nuBuilder on XAMPP
By "original" I meant the one from Github.
Quick fix:
Replace this line in nudatabase.php
with
I'll look into it later to figure out what's going wrong.
Quick fix:
Replace this line in nudatabase.php
Code: Select all
$DBOptions = $_SESSION['nubuilder_session_data']['DB_OPTIONS'];
Code: Select all
$DBOptions = "";
-
- Posts: 95
- Joined: Thu Mar 04, 2021 2:03 pm
Re: nuBuilder on XAMPP
I edited
Then I erased all tables and views in database and imported the ones from database-backup from production instance.
Everything works including graphics !
But login works only with root credentials (globeadmin, nu) nevertheless in nucongig.php there are modified credentials:
Code: Select all
$DBOptions= "";
Everything works including graphics !
But login works only with root credentials (globeadmin, nu) nevertheless in nucongig.php there are modified credentials:
Code: Select all
$nuConfigDBGlobeadminUsername= "xxxx";
$nuConfigDBGlobeadminPassword= "yyyy";
-
- nuBuilder Team
- Posts: 4428
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 475 times
- Contact:
-
- Posts: 95
- Joined: Thu Mar 04, 2021 2:03 pm
Re: nuBuilder on XAMPP
I can live with it, but I'd like to know, where is the problem for the future ...
-
- Posts: 95
- Joined: Thu Mar 04, 2021 2:03 pm
Re: nuBuilder on XAMPP
In EDGE login works 
But I don't understand, why it doesn't work in Vivaldi (after browser restart) ...

But I don't understand, why it doesn't work in Vivaldi (after browser restart) ...
-
- nuBuilder Team
- Posts: 4428
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 475 times
- Contact:
Re: nuBuilder on XAMPP
No issues here with XAMPP and Apache, on different systems.
You might have to try the usual stuff like restarting Apache,clearing the browser cache, trying in another browser, checking the log files, restarting the computer etc..
You might have to try the usual stuff like restarting Apache,clearing the browser cache, trying in another browser, checking the log files, restarting the computer etc..