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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

Base Script Url


Go to End


2 Posts   2063 Views

Avatar
dscontroller

Community Member, 1 Post

25 June 2013 at 11:00pm

Edited: 25/06/2013 11:01pm

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

Community Member, 4 Posts

26 March 2014 at 12:45pm

Edited: 26/03/2014 12:49pm

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.