WordPress.org

Ready to get started?Download WordPress

Forums

WP 1.0 config for offline / localhost (9 posts)

  1. nickknowledge
    Member
    Posted 10 years ago #

    Running Apache 2.0.48 on Win XP Pro. Have PHP 4.3.3, and MySQL working successfully (phpMyAdmin working fine).
    Have set document root in httpd.conf as C:\Apache2\Apache2\htdocs
    Have unzipped wordpress 1.0 into C:\Apache2\Apache2\htdocs\wp
    When I go to: http://localhost/wp/wp-admin/install-config.php, I get this error:
    Notice: Undefined index: step in C:\Apache2\Apache2\htdocs\wp\wp-admin\install-config.php on line 5
    Despite this, I can set the connection details ok, and when I run the install file, I get this error:
    Warning: main(C:\Apache2\Apache2\htdocs\wp/wp-includes/wp-db.php): failed to open stream: No such file or directory in C:\Apache2\Apache2\htdocs\wp\wp-settings.php on line 24
    Fatal error: main(): Failed opening required 'C:\Apache2\Apache2\htdocs\wp/wp-includes/wp-db.php' (include_path='.;c:\php4\pear') in C:\Apache2\Apache2\htdocs\wp\wp-settings.php on line 24

    This seems to be failing on the line:
    require (ABSPATH . WPINC . '/wp-db.php');
    Any suggestions?

  2. Cena
    Member
    Posted 10 years ago #

    See this post: http://wordpress.org/support/2/412
    Generally, an 'undefined index' error simply means you have your error reporting set too high (in php.ini.)

  3. Cena
    Member
    Posted 10 years ago #

    You might also want to upgrade to the latest version, 1.0.1 : http://wordpress.org/beta/

  4. nickknowledge
    Member
    Posted 10 years ago #

    Thanks Cena.
    The beta 1.0.1 install-config.php returned these errors:

    Warning: Invalid argument supplied for foreach() in C:\Apache2\Apache2\htdocs\wordpress\wp-admin\install-config.php on line 121
    Notice: Undefined variable: handle in C:\Apache2\Apache2\htdocs\wordpress\wp-admin\install-config.php on line 142
    Warning: fclose(): supplied argument is not a valid stream resource in C:\Apache2\Apache2\htdocs\wordpress\wp-admin\install-config.php on line 142
    Warning: chmod(): No such file or directory in C:\Apache2\Apache2\htdocs\wordpress\wp-admin\install-config.php on line 143

    Should I wait for the next release?
    Regards,
    Nick

  5. nickknowledge
    Member
    Posted 10 years ago #

    Update!
    Using the beta 1.0.1-RC1, and ignoring the errors (principally about lack of wp_options table), have successfully connected and ready for my first blog.
    Thanks!

  6. Cena
    Member
    Posted 10 years ago #

    Make sure you run the wp-admin/upgrade.php, too.

  7. TigerDE2
    Member
    Posted 10 years ago #

    Hi!
    Is there already a solution to nickknowledges PHP problem with the install-config.php?
    I have the same problem:
    http://wordpress.org/support/6/1816
    Christian

  8. nickknowledge
    Member
    Posted 10 years ago #

    Hi TigerDE2 - having got the same error, I went back, and re-ran install-config.php, which this time worked with no errors.
    The next three config screens complained of having no wp_options table, but eventually corrected itself (and created 12 tables), and now works.
    Does that help at all?
    Nick

  9. TigerDE2
    Member
    Posted 10 years ago #

    Rerunning the install-config.php didn't help at all.
    Did it manually now.
    Thanks anyway.
    Christian

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.