The MU forums have moved to WordPress.org

Can't login (12 posts)

  1. erikcw
    Inactive
    Posted 18 years ago #

    I just installed MU-12-08-05 and I can't login to wp-admin. It just keeps redirecting me back to the login page. Has anyone found a fix for this?

  2. kbea1965
    Inactive
    Posted 18 years ago #

    I'm having the same problem and I can't find a fix. I would like to know the results too.

  3. itdamager
    Member
    Posted 18 years ago #

    Heres a fix. Note, this fixes imports too!

  4. kbea1965
    Inactive
    Posted 18 years ago #

    Thanks ITDamager! This fixed my problem. Now if I could just get my new blogs to work. :)

  5. Newtidbitz
    Member
    Posted 15 years ago #

    I have the same problem and the only way I could fix it was by removing the 301 redirect in my .htaccess file, but that's not what I want.

    My blog is installed in a sub directory, but I still need to redirect my main domain. Any suggestions?

  6. VentureMaker
    Member
    Posted 15 years ago #

    In my case adding the following lines to config file solved the problem:

    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIE_DOMAIN', '');
    define('COOKIEPATH', '');
    define('SITECOOKIEPATH', '');

  7. Newtidbitz
    Member
    Posted 15 years ago #

    Thanks VentureMaker,

    I assume you are talking about the wp-config.php file. Did you use the code exactly as provided or did you add the paths inside the quotes?

  8. VentureMaker
    Member
    Posted 15 years ago #

    Yes, I mean wp-config.php

    And yes, this helped me numerous times. What about you? :) Any luck?

  9. Newtidbitz
    Member
    Posted 15 years ago #

    No luck with your method, but thanks. However, I managed to find a solution.

    1. Remove the 301 redirect in the .htaccess file.
    2. Log in and change your blog URL from domain.com/blog to http://www.domain.com/blog.
    3. Log out and add the 301 redirect again.

    Worked like a charm! A simple solution to a problem that gave me a lot of headaches.

  10. maxbirkoff
    Member
    Posted 15 years ago #

    i was having this problem too.

    i fixed this problem by noting that i had the following line in php.ini:

    variables_order = "GPS"

    when in fact the line ought to have read

    variables_order = "GPCS"
    or
    variables_order = "EGPCS"

    this is apparently because the php-style in which wordpress-mu is written depends on variables being propagated through the environment and/or cookies.

    once i changed this setting the login loop
    ended and i was able to see a different page after logging in.

  11. mediafetish
    Member
    Posted 15 years ago #

    Thanks VentureMaker, that fix worked for me - WPMU 2.7

    Saved me quite the headache you did :)

  12. SteveAtty
    Member
    Posted 15 years ago #

    The odd thing is that what WPMU uses is the default for php, so if its set differently in your php.ini file them someone has changed it for some reason.

About this Topic

  • Started 18 years ago by erikcw
  • Latest reply from SteveAtty