Jump to:

4950 Posts in 13981 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Cannot login thru admin page

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1922 Views
  • stinkytofu
    Avatar
    Community Member
    17 Posts

    Cannot login thru admin page Link to this post

    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:

    ### SILVERSTRIPE START ###
    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]
    ### SILVERSTRIPE END ###

    Any idea what the problem may be?

  • stinkytofu
    Avatar
    Community Member
    17 Posts

    Re: Cannot login thru admin page Link to this post

    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!

  • peterf
    Avatar
    Community Member
    8 Posts

    Re: Cannot login thru admin page Link to this post

    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?

  • stinkytofu
    Avatar
    Community Member
    17 Posts

    Re: Cannot login thru admin page Link to this post

    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.

    1922 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.