WordPress.org

Support

Support » Installation » [Resolved] Step 2 does nothing

[Resolved] Step 2 does nothing

  • Hi,

    When I try to install WP on Solaris 7 – PHP 4.3.3 – MySlq 4.0.13 – it gets to Step 2 and does not go further. It says it is creating the tables and never goes beyond. What am I doing wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have created the database first with name and user/password?
    And changed the wp-config.php accordingly?

    If not, please do!

    Yes I have. If I do not do that, it fails on step 1 with an error.

    Ok, I figured it out.

    In wp-db.php there is some logic that gets the tables out of the database to see if they are there. On about line 167 there is a line:

    while($i < msyql_num_fields($this_result))

    which then calls mysql_fetch_field

    The query was correctly returning $this_result as empty, but for some reason when it made the call to mysql_num_fields, it was returning 1. When it got to mysql_fetch_field it silently died.

    I added the “if($this_result)” right before the “while” and now it works fine.

    I’ve just try what you say, but it doesn’t works, It seems that all de database is created and tables too, but the second steps ends and didn’t give me the admin password.

    Could you send me the wp-db.php to compare it to rbaldoma @ pesagrup.com ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Step 2 does nothing’ is closed to new replies.