WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 405 error during login after install (5 posts)

  1. speedy212
    Member
    Posted 5 years ago #

    I just downloaded and installed the 2.6 version of WordPress. Got past the step where it creates all the tables and you are supposed to log in for the first time.

    The problem for me was that the siteurl and home entries in the wp_options table had been incorrectly setup, in my case it was "http://myhost:81?step=2", how this happened during the config process I'm not quite sure.. but it resulted in the login page wanting to post to a url like "http://myhost:81?step=2/wp-login.php".. which doesn't play nice with IIS trigging a 405 error.

    The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
    HTTP Error 405 - The HTTP verb used to access this page is not allowed.

    I searched around a bit and didn't find the solution, so i'm adding this in hopes it will help out the next person.

    Ended up just editing the values back to something acceptable directly in MySQL Administrator and it fixed the issue right away.

  2. superheroine
    Member
    Posted 5 years ago #

    Hi! That is EXACTLY where I'm stuck right now and I also tried researching solutions around this, but couldn't find any. I realized that you did find a solution by tweaking with the values. I was wondering if you could help me out because I would love to get the same issue resolved.

    I'm still fairly new to MySQL and PHP so please bear with my obvious questions. Does editing the values mean you recreated the database and placed in a different username and password? I've tried doing that as well, but it never worked. I'v also tried uninstalling and reinstalling wordpress x37972349832 times, but to no advil. And what do you mean by replacing the values that are acceptable to My SQL?

    Thanks!

  3. marotta91
    Member
    Posted 5 years ago #

    I am having the same problem? I am new to MySQL? What do I have to do to make this work. Thank you!!!

  4. marotta91
    Member
    Posted 5 years ago #

    Can anyone help me with this issue? Because I cant find any documentation anywhere... Thank you!!

  5. laurcl
    Member
    Posted 5 years ago #

    Got this too - figured out for me the wordpress directory wasn't in the root of my site so i had to change the URL to http://myhost/wordpress?step=2/wp-login.php

    Very sweet to see Hello World!

Topic Closed

This topic has been closed to new replies.

About this Topic