• Resolved jordan314

    (@jordan314)


    Hi, I have no idea what’s wrong, but I’m getting the bug where the login screen keeps refreshing to itself with no error message no matter what username or password you type in.
    I switched servers yesterday, transferring all of the files and backing up and restoring the SQL database on the new server with the same database name, username and passwords. The old server worked fine but the new one’s login functions won’t work.
    I’ve tried upgrading from 1.5 to 1.5.2 (no luck), deleting the cache and cookies on three computers, two different networks and different web browsers. When I attempt to register or use the forgotton password screen it also just redirects me to the login page.
    I’ve tried restoring the database again (this time with drop table commands) with no luck. I know wordpress is accessing the database because the site is still up. https://atcenternetwork.com. When I make my own SQL queries using PHP and including wp-config.php, they work fine, so I don’t know what the deal is.
    Please help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jordan314

    (@jordan314)

    I upgraded to 2.0.1 and still have the same problem.

    Just to sort out a couple of things: you’re accessing the old database from the new server? Or am I confused about that?

    Is the new install in domain root?

    Thread Starter jordan314

    (@jordan314)

    Ok I figured it out. It had nothing to do with wordpress. *sheepish grin*
    I ran a phpinfo(); in wp-login.php and wasn’t seeing any of the REQUEST variables. I tried making my own POST php file and it wasn’t getting any of the posted variables anyway.
    I tried deleting my .htaccess file and everything started working.
    Because we upload large videos to the site, I had these two lines in my .htaccess file:
    php_value upload_max_filesize “20MB”
    php_value post_max_size “50MB”
    This was so that we could upload files larger than the default 8 MB limit.
    Turns out for some reason on the new server that this breaks PHP from getting and posting values to itself. Weird!
    Thanks for your response vkaryl, it was a copy of the old database on the new server in domain root.

    Well, good that you figured it out! Actually, that would have been the next thing I asked: how’s your .htaccess? A lot of times a domain root install will get tricked up over one….

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘login redirects to self after sever switch’ is closed to new replies.