The Movable Type Knowledge Base

Keep Getting Login Screen

Question

I've logged in to Movable Type, but everything I click takes me back to the Login page again.

Answer

This is related to the cookie Movable Type must set to keep you logged in during your session.

Note: There is a Known Issue in version 3.16 which prevents the login cookie from being set correctly when Movable Type is installed in the root folder of a domain. This issue was resolved in version 3.17 (released on June 2, 2005), so you should upgrade in order to correct this particular type of login problem.

If the Known Issue above does not apply in your case, please review the following information to diagnose this problem:

  • Make sure that cookies are enabled in your browser.

  • Make sure that the CGIPath in mt-config.cgi1 corresponds to the URL you are using to access Movable Type.

    If you login to MT at http://example.com/mt/mt.cgi but your CGIPath is set to http://www.example.com/mt/, then the cookie gets set for example.com.

    But when MT redirects, it looks for the cookie to be set for www.example.com. (In most cases, it is always best to use www in both the CGIPath and the URL you use when accessing Movable Type in your browser, as this can avoid other problems such as with the posting of comments.)

  • Make sure the CGIPath includes the trailing slash (/).

  • You may need to delete cookies before another login attempt. This will ensure that Movable Type is not relying on an outdated or corrupted cookie, causing a failure to retain the correct information.

  • Try installing the latest version of CGI.pm from CPAN into your extlib. Upload the CGI.pm file and the entire CGI folder into your extlib, making sure to transfer in ASCII mode.

1 In versions prior to 3.2, the configuration file is named mt.cfg.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.