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.

Installing SilverStripe

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

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

Post Installation Error


Reply

3 Posts   676 Views

Avatar
Jnauta

18 January 2011 at 5:25am Community Member, 8 Posts

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

18 January 2011 at 10:54am Community Member, 8 Posts

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

18 January 2011 at 4:46pm Forum Moderator, 5511 Posts

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