Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » filepath of server showing in all links adress

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1224 Views
  • SpeakingFx
    Avatar
    Community Member
    2 Posts

    filepath of server showing in all links adress Link to this post

    Hi,

    There seems to be problems installing silverstripe on the biggest french hosting (OVH).

    No theme is showing, and the filepath is added to the links: nevertheless, the text is OK.

    Last problem, impossible to login.

    Can someone tell me where I can change the "base" variable of SilverStripe ? because it seems to be badly done by the install script.

    Thanks for your help.

    François

  • SpeakingFx
    Avatar
    Community Member
    2 Posts

    Re: filepath of server showing in all links adress Link to this post

    Thanks to simon_w on irc:

    add this line, to mysite>_config.php or /and tutorial>_config.php.

    Director::setBaseURL("http://www.yourdomain.com");

    It should now work.

    enjoy.

    1224 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.