Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

The config file is not read on change

Questions related to using nuBuilder Forte.
Post Reply
ifuzzle
Posts: 2
Joined: Wed Nov 04, 2020 10:08 am

The config file is not read on change

Unread post by ifuzzle »

Hi!

I am currently testing nuBuilder and its functions. While testing, with a college, we figured out that the nuconfig.php file is not read on an update. How can I force nuBuilder to reload the configuration?

How to recreate:
On a LAMP-Server install nuBuilder and open the website. Then change the nuconfig.php to point to another (remote) database.
Problem:
It will still load the old (localhost) database.

For us, it did fix itself after a while of waiting and restarting the Webserver. This would be a big problem in a production environment where we might need to hot-swap to a standby database or in a testing environment where you want to change the database quite often.
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: The config file is not read on change

Unread post by kev1n »

Hi,

Normally it is sufficient to restart the browser.

Also see here: https://forums.nubuilder.cloud/viewtopic. ... 97&p=22050
ifuzzle
Posts: 2
Joined: Wed Nov 04, 2020 10:08 am

Re: The config file is not read on change

Unread post by ifuzzle »

Thank you for the quick and correct answer. I didn't think it might be a "client"-side problem.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: The config file is not read on change

Unread post by admin »

.
Post Reply