Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Base Script Url

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 543 Views
  • dscontroller
    Avatar
    Community Member
    1 Post

    Base Script Url Link to this post

    I have downloaded the 3.0.5 version for Windows and placed the files in my vhosts directory on my computer.

    Following the installation process and setting up the database etc., was pretty straight forward. For some unknown reason, when the setup is complete, I get the site index page in Firefox, but on checking in that page source, find that the setup is including index.php at the end of the Base href and at the beginning of all link rel files.

    What am I doing wrong?

    I've attached an image showing the view source of page, if this helps.

    Thanks.

    Attached Files
  • Chepry
    Avatar
    Community Member
    4 Posts

    Re: Base Script Url Link to this post

    I was dealing with the same problem.
    And the problem lies in BASE_SCRIPT_URL definition.
    I was telling SS guys about this issue more than a year ago.
    I don't know why are they sticking with this bug for so long.
    It's so silly...

    Anyway...

    To fix this simply edit index.php in root directory.
    Go to first definition - line 18th or something:

    define('BASE_SCRIPT_URL','index.php/');


    and change it into:

    define('BASE_SCRIPT_URL','');


    it should do the trick.

    543 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.