Page 1 of 1

First post - thanks!

Posted: Thu Oct 15, 2020 8:52 pm
by n9yty
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. :)

Re: First post - thanks!

Posted: Fri Oct 16, 2020 6:47 am
by kev1n
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.

Re: First post - thanks!

Posted: Sun Oct 18, 2020 6:55 am
by n9yty
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. :)