Hi,
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--------------------------------------------------------------------------------------->
### SILVERSTRIPE START ###
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>
<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 ###
<HTACCESS END--------------------------------------------------------------------------------------->
<CONFIG START--------------------------------------------------------------------------------------->
<?php
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
// http://doc.silverstripe.com/doku.php?id=devmode
// for a description of what dev mode does.
Director::set_dev_servers(array(
'localhost',
'127.0.0.1',
));
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/themes/
SSViewer::set_theme('oldenglish');
Security::setDefaultAdmin('admin','password);
?>
<CONFIG END--------------------------------------------------------------------------------------->
Any help or advice anyone could give would be greatly appreciated.