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

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Post Installation Error


Go to End


3 Posts   1253 Views

Avatar
Jnauta

Community Member, 8 Posts

18 January 2011 at 5:25am

After successfully installing and configuring silverstripe 2.4.4, I am able to successfully log into the CMS and edit the site. After a day goes by, I lose access to the admin or dev because the Security loops back on itself and sends me to this URL

http://mydomainname.com/Security/Security/LoginForm

Please note the following had been attempted, empty all cache files, re-install silverstripe, create a new DB, there are no modifications to the site files a this point. I am using the stock .htaccess, and I have removed the include paths to any pearl, pear scripts that could be causing issues.

I am also not getting a silverstripe 404 page, I get a general browser 404 error.

Avatar
Jnauta

Community Member, 8 Posts

18 January 2011 at 10:54am

when looking at the source code generated, the loginForm "action" is set to ="Security/LoginForm" so to avoid the error I have to add a "/"before the "Security" since the url is currently "http://~.com/Security/login?BackURL=%2Fadmin" the browser is treating "Security" as a directory and appending "Security" to that instead of to the base url?

thougts?

Avatar
Willr

Forum Moderator, 5523 Posts

18 January 2011 at 4:46pm

This is normally the issue when your Page.ss template does not contain a base tag. You might want to check the Page.ss contains a <% base_tag %> after the <html>.