Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Can't access the login screen

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

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

Page: 1
Go to End
Author Topic: 2202 Views
  • Ronin
    Avatar
    Community Member
    50 Posts

    Can't access the login screen Link to this post

    I am working my way through Tutorial 2 and in mid session I find that I can no longer go into design mode. When enter http://localhost:3000/silverstripe/admin (which has always worked previously) it now comes up with the Log in screen but there is no input box to allow the entering of the username and password. The part I was working on in Tutorial 2 was the automatic adding of the comment facility to every ArticlePage.

    Help would really be appreciated

  • jamesg
    Avatar
    Community Member
    8 Posts

    Re: Can't access the login screen Link to this post

    Do the tabs (Email and OpenID) still show?

    I was having the same problem (I think), the html was there but both the Email and OpenID forms were hidden.
    I put up with it for a while and just used Firebug to display the form I wanted, then I deleted the OpenID module and that seemed to fix it.

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: Can't access the login screen Link to this post

    Make sure that you have the $Form variable in your template - this is used by SilverStripe to render the log-in form, contact forms etc.

  • Ronin
    Avatar
    Community Member
    50 Posts

    Re: Can't access the login screen Link to this post

    Hi,
    I am new to this work and am finding the folder structure very confusing.
    Which templates located in which folders do I need to check to make sure $Form is there?

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Can't access the login screen Link to this post

    $Form needs to be located in your Page.ss file, usually located in templates/Layout for your current theme.

    The main Page.ss template should contain $Layout, as the blackcandy theme does. That template is found in the root templates/ directory.

    To see the template structure as an example, use the blackcandy theme for reference.

  • Ronin
    Avatar
    Community Member
    50 Posts

    Re: Can't access the login screen Link to this post

    Thanks for all your help. My apologies for the delay in replying. Although none of your suggestions directly appeared to make a difference the problem suddenly disappeared and the system went back to working normally. The only event that happened in this period was that there was a power outage that took down my PC.

    2202 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.