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

Windows server 2003 issues




5 June 2009 at 12:06am Community Member, 1 Post

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?