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, Ed, biapar, Willr, Ingo, swaiba

sub-domain installation problems

Go to End

3 Posts   1923 Views


Community Member, 5 Posts

2 January 2009 at 6:40am


I installed SS on a subdomain but I seem be having problems.

I have read many of the archived posts about this but I am not sure which one would be relevant to me.

I was at first unable to login in IE, but i could login in FF. However, the buttons for the content editor appeared to be missing. I decided to rebuild the database with with db/build?flush=1 - now I cant login at all.

In addition this, when I simply navigate to my domain without adding /mypage/ to the url or /admin/ I get a 404 error.

Should I abandon this installation? My main domain does not have a SS installation so i cant use that to run it from

Is it an HTACCESS issue?

Here are my config file and ht access files:

<HTACCESS START--------------------------------------------------------------------------------------->

<IfModule mod_dir.c>
DirectorySlash Off

<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]

<HTACCESS END--------------------------------------------------------------------------------------->

<CONFIG START--------------------------------------------------------------------------------------->

global $project;
$project = 'mysite';

global $databaseConfig;
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "myusername",
"password" => "mypassword",
"database" => "mydb",

// Sites running on the following servers will be
// run in development mode. See
// for a description of what dev mode does.

// This line set's the current theme. More themes can be
// downloaded from

<CONFIG END--------------------------------------------------------------------------------------->

Any help or advice anyone could give would be greatly appreciated.


Community Member, 5 Posts

2 January 2009 at 1:49pm

Edited: 02/01/2009 1:49pm

On checking my server error log JSPARTY was being looked for in my main site root folder, outside of my root SS folder and not in the subdomain file tree. I copied it there and now it works.


Community Member, 16 Posts

14 March 2009 at 2:10am

I had the same problem. copying jsparty to the root of the main domain seems to work, but it doesn't make sense at all.