Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Installing SilverStripe

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

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

Base Script Url


Reply

2 Posts   570 Views

Avatar
dscontroller

25 June 2013 at 11:00pm (Last edited: 25 June 2013 11:01pm), Community Member, 1 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
Avatar
Chepry

26 March 2014 at 12:45pm (Last edited: 26 March 2014 12:49pm), Community Member, 4 Posts

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.