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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Security Login page doesn't exist


Reply

4 Posts   1348 Views

Avatar
Jo

29 March 2011 at 10:15am Community Member, 4 Posts

Hi Folks

Got a bit of a strange thing happening, the day before yesterday I could log in to my CMS without any issues, I then tried yesterday and there was no login form, ie no fields to fill in for login and password. This was solved by my replacing the '$form' in my template, but now when I login it just goes to a broken link/page that doesn't exist and I get the 404 page.

The end of the address that it's looking for is '/Security/Security/LoginForm'.

If you have any ideas I'd be most grateful.

Thanks
Jo

Avatar
Willr

29 March 2011 at 11:34pm Forum Moderator, 5511 Posts

Have you got a <% base_tag %> in your Page.ss template? Should be inside your <head> near the top.

Avatar
barrycorrigan

29 March 2011 at 11:35pm Community Member, 10 Posts

Should '$form' not be a capital F like this

$Form

Avatar
Jo

30 March 2011 at 12:01am Community Member, 4 Posts

Willr, you utter legend!

Thanks so much for that response, that's fixed it up perfectly. Points too to Barry for trying!

Cheers
Jo