WordPress.org

Forums

Warning: main... failed to open stream (9 posts)

  1. 30bob
    Member
    Posted 10 years ago #

    I am getting this error:

    Warning: main(../wp-includes/wp-db.php): failed to open stream: No such file or directory in /home/bobwor/public_html/wp-admin/setup-config.php on line 121

    Fatal error: main(): Failed opening required '../wp-includes/wp-db.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/bobwor/public_html/wp-admin/setup-config.php on line 121

  2. lawtai
    Member
    Posted 10 years ago #

    Your config file should be called wp-config.php not setup-config.php

  3. What version of WP? What version of PHP? What active plugins (and versions)? When do you see the error? URL please...

    Lawtai, setup-config.php is a normal file found in the /wp-admin/ directory.

  4. lawtai
    Member
    Posted 10 years ago #

    ah ok :)

  5. 30bob
    Member
    Posted 10 years ago #

    version 1.5
    PHP version 4.3.10
    no plugins

    http://domainname.net/wp-admin/setup-config.php?step=2

  6. Why are you accessing setup-config.php directly?

  7. 30bob
    Member
    Posted 10 years ago #

    because i wasn't able to configure wp-config-sample.php manually.

  8. Try configuring it manually, you may have better luck.

    Follow the directions from here: http://codex.wordpress.org/Editing_wp-config.php

    And use a Text Editor from this list: http://codex.wordpress.org/Glossary#Text_editor

  9. lawtai
    Member
    Posted 10 years ago #

    All you need is an ftp program and a text editor to edit wp-config-sample.php. I'm assuming you have atleast that since you did get WP onto your server.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.