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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Login form missing absolute path

Go to End

3 Posts   2392 Views


Community Member, 15 Posts

21 January 2010 at 10:06pm

On a new installation of silverstripe 2.4alpha, the admin login was working with the default tutorial theme, but is not working with a custom theme.

The link in the login form is missing an absolute path slash, so the form action is set to "Security/Login"...

This means users cannot log in, because instead of going to /Security/Login, it tries to load Security/Security/Login which doesn't exist.

I'm not sure what the best way to fix this is...


Community Member, 244 Posts

22 January 2010 at 3:35am

Do you have a <% base_tag %> in the head section of your custom theme? This is required for paths to work correctly.


Community Member, 15 Posts

22 January 2010 at 6:35am

That is exactly what is missing. Thanks AJ...

I’ll keep that in mind when building new themes.