Hi,
I have a strange problem with the admin login form.
You can see it on http://dev.nbi.com.pl/admin . Yesterday everything was all right, today admin login doesn't show up. Any ideas on what may cause this problem?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Nevermind, I figured it out.
Can you please tell the rest of the world how you have solved your problem?
After further time searching the problem I've found the problem in spite of his ignorance:
Not only the Variable $Content is needed, but also $Form at the same point in code.
Thank you Foaly*! You solved my problem!!
Hi - can you let me know where you added the $form code please?
this is where my problem is occuring: http://www.miriamcdwyer.net/Security/login
I have just had this problem happen to me without doing anything, it just started happening, and im not sure where to find how to fix this. Thanks in advance :}
I am maintaining an old site and I can confirm that this worked for me, thanks Foaly* these little things can be missed easily.
@soft-systems you can add this to your Page.ss file directly under 'templates'. I recommend adding this just under the $Layout variable.
<% if $Form %>
$Form
<% end_if %>