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.

Archive /

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

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

Can't access the login screen


Reply


6 Posts   2263 Views

Avatar
Ronin

Community Member, 50 Posts

22 November 2008 at 12:03pm

Edited: 22/11/2008 12:03pm

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

Avatar
jamesg

Community Member, 8 Posts

22 November 2008 at 12:51pm

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.

Avatar
ajshort

Community Member, 244 Posts

22 November 2008 at 3:05pm

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.

Avatar
Ronin

Community Member, 50 Posts

22 November 2008 at 4:56pm

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?

Avatar
Sean

Forum Moderator, 922 Posts

22 November 2008 at 7:55pm

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

Avatar
Ronin

Community Member, 50 Posts

1 December 2008 at 3:37pm

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.