Jump to content
  • 0

2 FluxCP to the same DB


Question

Posted

I would like to have 2 different FluxCP on my website that uses the same DB, so i can change themes when i like to, or when i'm editing the pictures of the other one, or just for testing purpose.

 

I'm not a good well fluxcp manager/installer lol and for what i asked here and there, it is more than repeat the steps if i want to connect it to the same DB.

 

Well thank you so much for read, regards!

8 answers to this question

Recommended Posts

Posted

Hi, thanks for the repply

 

I know, but in the past i tryied to switch themes or i was testing and i got some errors, i solve them but that's why i would like to have 2 FluxCP, if i test in one and i egt an error there, then i can just switch to the other one.

 

The main problem might be to connect both to the same DB of my sql (?)

Posted

Hi, thanks for the repply

 

I know, but in the past i tryied to switch themes or i was testing and i got some errors, i solve them but that's why i would like to have 2 FluxCP, if i test in one and i egt an error there, then i can just switch to the other one.

 

The main problem might be to connect both to the same DB of my sql (?)

you can copy the whole folder of your already installed fluxcp. just like making a backup.

ex.

fluxcp = your main cp

fluxcp2 = your backup cp

 

so if you fluxcp main having an issue. you can switch your fluxcp to fluxcp2

yourro.com/fluxcp to yourro.com/fluxcp2.

 

and it will works fine since the required installation files and logs is already installed on fluxcp. all you need is to copy it.

  • Upvote 1
Posted

What about the addons, the modules, the pages created there, isn't there too redirections that will connect the fluxcp2 to the fluxcp1? hmm to connetc it to the sql db shouldn't require some edits o: ? thank you for the whole support

Posted (edited)

just copy the whole folder and it will works both addons.


all you need to edit is the config\application.php for your fluxcp2 only.

 

'BaseURI'              => '/fluxcp/', to 'BaseURI'              => '/fluxcp2/',

 

so every time you chose fluxcp2 when you click a link it will redirect you to fluxcp.

Edited by Brynner
  • Upvote 1
Posted

Thank you so much o:! I was copying it and looks like it will take long time, so i will try tomorrow with more time, right now i need some sleep x_x 

 

Tahnks again, i will report any bugs/errors, i hope is that simple o:

Posted

Just copy your themes

so if your theme name is default

copy the whole default and rename it into default2 (backup)

on your config/application.php you may change your theme from default to default2 or vice versa depends on what you are doing

Posted

Allright thanks, copying the whole files is a big problem lol i was thinking to reinstall it on other folder but whell, i will try that, thank you so much both

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...