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

Can't login to bachend after dmain name change


Reply


2 Posts   959 Views

Avatar
sajok

Community Member, 82 Posts

10 August 2010 at 10:54pm

Edited: 10/08/2010 11:21pm

Hello,

I was testing my ss installation on a live domain name. When I changed the domain name to a new one and updated the dns zone in whm, everything works with the new domain except the admin backend. It seems to redirect to this url :
domain.com/Security/login?BackURL=%2Fadmin

and gives this message: Please choose an authentication method and enter your credentials to access the CMS

any idea how to resolve this?

thanks

EDIT: I have already checked for the <% base_tag %>, and it is still there on the page.ss and shows the correct url in page source.

Avatar
sajok

Community Member, 82 Posts

11 August 2010 at 12:34am

I resolved it myself. the error was caused by the $Form tag which I removed from includes/page.ss. I thought that the $Form tag is needed to include comment form only. So I simply added the $Form tag again after $Content tag, and now I can login the the backend!
:)