Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#194 closed bug (fixed)

Redundance in bw/lib/config.php and inc/

Reported by: jeanyves Owned by: steinwinde
Priority: major Milestone:
Component: BW General Keywords: old BW, redundancy, configuration, config
Cc: jeanyves


Because of old BW and rox coexistence these both files are still existing

They both define the mysql password and the database name

only one must survive (or one must include the data initialized by the other one ?)

Change History (9)

comment:1 Changed 11 years ago by philipp

as the bw/ tree as a whole will be removed some day inc/ should be the only one. If, for compatibility reasons bw/lib/config.php is still needed for the time being it should only include data from the reference file

comment:2 Changed 11 years ago by jeanyves

Of course it is still here for compatibility and it works for now, so this is not to emergency. However, when I connected alpha to real www, it was a bit tricky because during 5 minutes Alpha was half on alphabase half on real base.

What I think needed (untill we get read of the bw/lib/config.php is to have one of this two files using the other, in order to have only one reference.

My question is in which way to do this ?

comment:3 Changed 11 years ago by lemon-head

  • follow_up set to none

When we change this, I think we need to update the GetStartedWithTheCode instructions!

comment:4 Changed 11 years ago by steinwinde

  • Keywords old configuration config added; Old removed
  • Owner set to steinwinde
  • Status changed from new to assigned
  • version changed from alpha to all

I just got a go by Jean-Yves, adminpanel.php is temporarily not needed

comment:5 Changed 11 years ago by steinwinde

  • Cc jeanyves added
  • follow_up changed from none to test

I just created a version (r3454, r3455) of Rox, which runs with a single configuration file. This branch (development.config-consolidation.2007-12-12/) unfortunately is based on trunk - my mistake. But it seems to work. In case you wanna try, just do *all* the configuration you're used to do in the merged configuration file /inc/

Either we create a revision based on alpha or production, or the admin in charge merges files individually. It needs manual work anyway, as the important part is the system dependend configuration itself.

comment:6 Changed 11 years ago by steinwinde runs on a single configuration file now, see #3462; if nobody intervenes, Friedrich and I will continue our work on alpha on 15th December

comment:7 Changed 11 years ago by steinwinde

  • version changed from all to production runs on a single config too, see r3467

comment:8 Changed 11 years ago by micha

  • Resolution set to fixed
  • Status changed from assigned to closed

also production runs on single config now. I close the ticket.

comment:9 Changed 11 years ago by micha

  • follow_up changed from test to none
Note: See TracTickets for help on using tickets.