Viewing 8 replies - 1 through 8 (of 8 total)
  • Not sure it will help but try the emergency password reset script described in Resetting_your_password.

    Thread Starter blackshadow

    (@blackshadow)

    Thanks for trying Michael but unfortunately it didn’t solve the problem.

    Yes the password was changed but no joy about being able to login to the admin section. It just keeps asking me to login over and over.

    I keep having the same problems an cannot seem to find a solution other than to cancel everything out and start all over.

    Thread Starter blackshadow

    (@blackshadow)

    I have tried removing the mysql database and removing wordpress from the htdocs directory in the XAMPP folder and then trying to reinstall from scratch. The same thing keeps happening.

    If you’re self hosting, You many need a dns name for your local server. Login and browser caching can get very confused if your server is behind a router on your own net.

    If your only testing on your machine and behind a router, then use the 192.168.x.y number religiously, including bookmarks and in the WP options including the wp-config.php instead of ‘localhost’

    Thread Starter blackshadow

    (@blackshadow)

    I’m not sure what you mean by using the 192.168.x.y number for the local hosting.

    IF running locally and behind a router (or disconnected) you have a private IP address, one that only you can use to connect to your machine with nobody can see it but you (basically, waving my hands). That number is determined by your router and I can’t tell you what is is because I’m not allowed to see it. Check your router documentations and setup screens. They explain the concept and show you how to find the number needed.

    Running a server even a test server is a non-trivial learning exercise. Even worse if your on a laptop. You are kind of running on your own knowledge and we can’t help much.

    I recommend some Google reading on “private IP ranges”

    I had the same problem. The server that I am running off is behind a router, and when trying to log-in as admin for the first time, it would keep going back to the same page. Because the server itself has a local IP address, the default options aren’t going to work. Adding these lines to my wp-config.php fixed this, of course substitutiing the actual URL for your blog:
    define('WP_SITEURL', 'http://www.sample.com/wordpress');
    define('WP_HOME', 'http://www.sample.com/wordpress');

    More can be found here.

    Hope this helps.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can’t login with new WP installation’ is closed to new replies.