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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

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

Stuck on login page???


Go to End


9 Posts   4936 Views

Avatar
rjh

Community Member, 5 Posts

14 June 2007 at 9:11am

I've read the bug fixes that address the issue of modifying the _config.php file and the .htaccess file, but installation still leaves me stuck on the "loading page".
I should say it leaves me on the loading page when viewed in FireFox,
it simply resets the login form in IE....?

I'm stumped since I've tried every possible thing I can think of to fix it.

Avatar
xmedeko

Community Member, 94 Posts

14 June 2007 at 10:02am

Post here your _config.php and .htaccess, please.

Avatar
rjh

Community Member, 5 Posts

15 June 2007 at 5:12am

<<.htaccess>>

### SILVERSTRIPE START ###
RewriteEngine On

RewriteRule \.js$ - [L]
RewriteRule \.css$ - [L]
RewriteRule \.png$ - [L]
RewriteRule \.jpg$ - [L]
RewriteRule \.gif$ - [L]
RewriteRule \.php$ - [L]

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /home/build33/public_html/highexodus/sapphire/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###

<<_config.php>>

<?

global $project;
$project = 'mysite';
Security::setDefaultAdmin('admin','password');

global $databaseConfig;
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "build33_xxxxxxxx",
"password" => "xxxxxxxx",
"database" => "build33_xxxxxx",
);

?>

Avatar
rjh

Community Member, 5 Posts

15 June 2007 at 5:16am

I'm trying to install on a sub-domain, so I think that might be the source of my problems...?

Avatar
xmedeko

Community Member, 94 Posts

15 June 2007 at 9:30am

Are you accessing SS by http://server/~build33/ ?
I have also problem installing SS into my home directory /home/xmedeko and access it by http://server/~xmedeko. I was not trying to fix it, though.

Avatar
rjh

Community Member, 5 Posts

16 June 2007 at 2:21pm

Yes,
I am trying to access SS through my default hosting path /build33/public_html/
and I'm trying to install to a sub-domain folder called highexodus, but
for some reason the login will not work.

Avatar
xmedeko

Community Member, 94 Posts

17 June 2007 at 1:07pm

try to change last few lines in .htaccess from:

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /home/build33/public_html/highexodus/sapphire/main.php?url=%1&%{QUERY_STRING} [L]

to:

RewriteBase /~build33/highexodus
RewriteCond %{REQUEST_FILENAME} !-f^
RewriteRule (.*) sapphire/main.php?url=$1 [L,QSA]

Note the %1 has changed to $1

Avatar
rjh

Community Member, 5 Posts

19 June 2007 at 10:54am

okay,
I made the changes to the .htaccess page you suggested
and now I get the following parsing error:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/build33/public_html/highexodus/sapphire/core/ManifestBuilder.php on line 18

Go to Top