Jump to content
  • 0

2 FluxCP to the same DB


Kido

Question


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

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!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

it is possible to do by switching themes. just like on the default fluxcp on Hercues. you can switch themes from default to emphaino.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

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 (?)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1942
  • Reputation:   197
  • Joined:  01/08/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

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:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   2
  • Joined:  08/02/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

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

Link to comment
Share on other sites

×
×
  • Create New...