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   1353 Views

Avatar
Jo

Community Member, 4 Posts

29 March 2011 at 10:15am

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

Forum Moderator, 5513 Posts

29 March 2011 at 11:34pm

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

Avatar
barrycorrigan

Community Member, 10 Posts

29 March 2011 at 11:35pm

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

$Form

Avatar
Jo

Community Member, 4 Posts

30 March 2011 at 12:01am

Willr, you utter legend!

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

Cheers
Jo