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 http://www.mysilverstripeinstallation.com it looks OK
- When I load the site http://www.mysilverstripeinstallation.com/index.php?flush=1 it loses all styling
- When I load the site http://www.mysilverstripeinstallation.com/admin 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:
### SILVERSTRIPE START ###
<Files *.ss>
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
</Files>
<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]
</IfModule>
### SILVERSTRIPE END ###
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?