Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Unable to login to the CMS

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

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

Page: 1 2
Go to End
Author Topic: 2641 Views
  • bonafidemike
    Avatar
    Community Member
    1 Post

    Unable to login to the CMS Link to this post

    I just installed Silverstripe on my Apache web server. Everything seemed to install fine, and I chose my admin username/password during the install. Now, from the new home page, I click the link to "open the CMS", where it takes me to what I assume is the admin login. However, it's asking either for an e-mail/password, or an OpenID; neither of which was asked for during the installation.

    How do I login to start creating my web site, with the username/password I chose during the installation?

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Unable to login to the CMS Link to this post

    During the install it does ask you for your email address and password. This is used for the admin login - domain.com/admin/

    If you filled it out as just a username/password, that is also fine. Try using those details in the login form where it says email address. Don't worry about the openID stuff.

    Worst case scenario, delete and do a fresh install and pay closer attention, however it will work with the username you picked instead of a email address.

    Cheers,

  • vish
    Avatar
    Community Member
    4 Posts

    Re: Unable to login to the CMS Link to this post

    I am sorry , if i sound redundant...

    but I am not able to log in to "The CMS" page mysite/admin by using my login details...I have just finished a fresh install of silverstripe 2.2.3 on the server and I have no clue why is it behaving the way it is...

    any help would be greatly appreciated!

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Unable to login to the CMS Link to this post

    try the default admin/password

    otherwise you can stick a fixed admin-login in the _config.php

    Refer to :
    http://doc.silverstripe.com/doku.php?id=configuration

    for the necessary info.

  • vish
    Avatar
    Community Member
    4 Posts

    Re: Unable to login to the CMS Link to this post

    I tried the default settings, no use

    _config.php seems to be flying all over my head... i did add the 'Security::setDefaultAdmin(’admin’,’password’)' line in it but now d login page doesn't come at all

    I am a newbie to hard coding

    Thanks for ur help..in anticipation

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Unable to login to the CMS Link to this post

    You added the configuration line without the start and end quote I hope ? ;-)

  • vish
    Avatar
    Community Member
    4 Posts

    Re: Unable to login to the CMS Link to this post

    below are the contents of my _config.php file:
    pl. suggest wat can be done... currently it just says for anything that the email address or password is wrong... i have tried using an actual email address instead of the admin username but in vain...

    <?php
    /**
    * URL rules for the CMS module
    * @package cms
    */
    Director::addRules(50, array(
       'processes/$Action/$ID/$Batch' => 'BatchProcess_Controller',
       'silverstripe' => '->admin',
       'cms' => '->admin',
       'admin/statistics/$Action/$ID' => 'StatisticsAdmin',
       'admin/security/$Action/$ID/$OtherID' => 'SecurityAdmin',
       'admin/help/$Action/$ID' => 'CMSHelp',
       'admin/newsletter/$Action/$ID' => 'NewsletterAdmin',
       'admin/reports/$Action/$ID' => 'ReportAdmin',
       'admin/assets/$Action/$ID' => 'AssetAdmin',
       'admin/comments/$Action' => 'CommentAdmin',
       'admin/ReportField/$Action/$ID/$Type/$OtherID' => 'ReportField_Controller',
       'admin/bulkload/$Action/$ID/$OtherID' => 'BulkLoaderAdmin',
       'admin/ImageEditor/$Action' => 'ImageEditor',
       'admin/$Action/$ID/$OtherID' => 'CMSMain',
       'unsubscribe/$Email/$MailingList' => 'Unsubscribe_Controller',
       'PageComment/$Action/$ID' => 'PageComment_Controller'
    ));

    Security::setDefaultAdmin(’admin’,’zzzzzzz’)

    ?>

    this is the _config.php file from .../cms folder

  • vish
    Avatar
    Community Member
    4 Posts

    Re: Unable to login to the CMS Link to this post

    the line says :

    Security::setDefaultAdmin(’admin’,’zzzzzzz’);

    and now d page appears but the end result is still the same...painful

    2641 Views
Page: 1 2
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.