Jump to content
  • 0

Website Problem


pojiejapan

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

Hye Eathenaians, < is this acceptable? :)

I have a problem with my website. I a Flux CP and I wanted to put a new web template.

This is my original website :

MainWebsite.png

this is my orginal website and I wanted to change it to this template :

NewWebsite.png

I've opened the public_html at winscp :

public_html.png

and I copied all the files all in the public_html files into a new files CP (public_html/cp)

then I copied the new template folder into the public_html folder :

cp.png

Then I edited the html code and make sure that control panel tab link to public_html/cp

cpdir.png

I saved it and when I clicked the control panel tab it don't show my original website :

final.png

Well all I want to do is to make a new cover for my website before they can register or login. So when people click the Control Panel tab it will direct to the 1st (Original website) and how can I do that?

Is there anything I must edit? Please help me :)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

Open /config/application.php:

Find:

'ServerAddress' => '/cp:80', // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)

and change it simply to

'ServerAddress' => '/', // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)

That should clear it up.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  193
  • Reputation:   14
  • Joined:  12/02/11
  • Last Seen:  

It's because you installed on the /home/ directory firstly so they stored the config to load

all the resources for the flux in /home/ not the /home/cp/

/cp/config/application.php

'BaseURI'			  => '',					   // The base URI is the base web root on which your application lies.

and add

/cp/config/application.php

'BaseURI'			  => 'cp',					   // The base URI is the base web root on which your application lies.

Edited by 2essy2killu
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  126
  • Reputation:   6
  • Joined:  11/18/11
  • Last Seen:  

OMG! Thank you so much sir for the correct and head on solution and for the quick reply.

I LOVE YOU!!!

Link to comment
Share on other sites

×
×
  • Create New...