First post - thanks!

Questions related to using nuBuilder Forte.

First post - thanks!

Postby n9yty » Fri Oct 16, 2020 4:22 am

How is this not on the radar of more people? I'm helping a non-profit who is de-commissioning their old donor system and migrating to a new one, but not everything is going to be transferred over and they wanted a means to still look up some legacy information. While I was looking at setting up a Node.js server to handle REST requests and doing a React front-end, this came across my Google searches and I think it may provide a faster solution for them. I was going to try to code the REST API set to pull from the existing MySQL database tables, but I think here it is easier to set up a structure that makes sense and then convert/import the data into a nuBuilder4 database.

I haven't even built a form yet, just trying to get an idea of the scope of things and how it works, but so far it seems extremely, and I mean extremely, capable. I think this will work very well for them, and being cloud-deployable makes it easy to help their plan to eliminate as much internal infrastructure as possible.

One hiccup I had on installation is that I believe I tried to access the login before I had edited the nuconfig.php file, to be sure the web server on my local macOS install was working (it wasn't, had to set up things first), and the way the login stuff seems to work is that it reads the config and stores it in a PHP/Browser cache? So that after I edited the files, it was still trying to log in as the default 'root' with no password. Once I quit my browser (actually I had rebooted to bootcamp for some Windows work) and came back later to debug it seemed to be working. That is what made me think it was cache related rather than just the config file being read properly. I read of some others having to hand-edit the code when this may be the issue. Who knows, I'm not up to speed on this platform yet. :)
n9yty
 
Posts: 38
Joined: Fri Oct 16, 2020 4:13 am

Re: First post - thanks!

Postby kev1n » Fri Oct 16, 2020 2:17 pm

Hi and welcome!

n9yty wrote:One hiccup I had on installation is that I believe I tried to access the login before I had edited the nuconfig.php file, to be sure the web server on my local macOS install was working (it wasn't, had to set up things first), and the way the login stuff seems to work is that it reads the config and stores it in a PHP/Browser cache? So that after I edited the files, it was still trying to log in as the default 'root' with no password.


That's also something I noticed. After editing nuconfig.php (e.g. changing the password) I had to restart the browser.
kev1n
 
Posts: 1038
Joined: Mon Oct 15, 2018 2:13 am

Re: First post - thanks!

Postby n9yty » Sun Oct 18, 2020 2:25 pm

I also found that (at least in FireFox) removing cookies for 127.0.0.1 (or the site you are running nubuilder on) will also make it forget this. No need to quit the browser depending on how many other tabs you have open. :)
n9yty
 
Posts: 38
Joined: Fri Oct 16, 2020 4:13 am


Return to General