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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Installing SilverStripe /

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

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

Windows server 2003 issues

Go to End



Community Member, 1 Post

5 June 2009 at 12:06am

This is my first install with SS and having spent about 2 days getting this far I am very disillusioned with it.

Installation locally on WAMP was successful. I have had a LOT of issues installing on Windows server 2003 with IIS6 which is the live environment.

My learnings are:
- add the IUSER account to the core website folder
- to use Helicon full version not the lite version.

In _ss_environment.php if I set it to "live" mode:
- When I load the site it looks OK
- When I load the site it loses all styling
- When I load the site it doesn't load the page

In _ss_environment.php if I set it to "dev" not live and you get this error message

[Notice] Undefined index: REQUEST_URI ....... in \sapphire\core\SSViewer.php and the error message is:

$thisURLRelativeToBase = Director::makeRelative(Director::absoluteURL($_SERVER['REQUEST_URI']));

reading around it is due to the base tag which doesn't load but I can't find a solution for this

My .htaccess is:
<Files *.ss>
# Order deny,allow
# Deny from all
# Allow from

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]

I had to comment out the 3 lines in <Files *.ss> as helicon didn't allow these

Can anyone help advise on what I can do to fix this error message please?