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

Cannot login thru admin page


4 Posts   1966 Views


26 March 2009 at 6:58pm Community Member, 17 Posts

We have just installed Silverstripe, right now, we are able to view and navigate thru the entire website - so I assume that mod_rewrite is working properly. However, when we try to login through the admin interface, we just get redirected back to the login page, with a message saying "You're logged in as Admin." We are unable to access the CMS itself, as we keep getting directed back to the login page after a successful login.

Here are the contents of the .htaccess file:

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]

Any idea what the problem may be?


28 March 2009 at 4:44am Community Member, 17 Posts

Anyone have any idea about this? I'm still struggling to get the CMS login working. It still loads a blank page.

Help me Obi-wan! You're our only hope!


28 March 2009 at 8:49am Community Member, 8 Posts

I hear your pain.

I installed a week or so back and encountered a similar problem. When you installed you were given the option of using a user name or an email address as your preferred login method. I tried the user name option but then could not subsequently log in. I reinstalled using the email address option and have had no further problems. Worth a try?


28 March 2009 at 9:50pm Community Member, 17 Posts

Thanks Peter. Turns out it was a memory configuration problem with the server.

Just needed to increase PHP allocated memory size to 64MB and it works fine now.