Forums

[resolved] install error: Warning: main(../wp-config.php): failed to open stream (5 posts)

  1. david4292
    Member
    Posted 5 years ago #

    Hi,

    keep getting this. help appreciated.

    Warning: main(../wp-config.php): failed to open stream: No such file or directory in /home/arrogant/public_html/wp-admin/install-helper.php on line 2

    Fatal error: main(): Failed opening required '../wp-config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/arrogant/public_html/wp-admin/install-helper.php on line 2

  2. electrolund
    Member
    Posted 4 years ago #

    I'm seeing this as well. Haven't figured it out yet. How did you?

  3. electrolund
    Member
    Posted 4 years ago #

    There's this post too, but not much help.

    I upgraded from 2.2.2 to 2.3.1 via Fantastico. And I'm seeing this error on every admin page. Doesn't seem to affect anything, but it's annoying.

    The odd thing is that my /wp-config.php in the root obviously exists. In my /wp-admin/install-helper.php is the correct path:

    require_once('../wp-config.php');

    It's like the blog root isn't resolving correctly.

  4. electrolund
    Member
    Posted 4 years ago #

    Got it resolved. Turned out to be a plugin problem, Subscribe2. There's some discussion of it here.

    Turns out you have to change the path in install-helper.php from "../wp-config.php" to root. Works for me now.

  5. killlashandra
    Member
    Posted 4 years ago #

    I agree with this. I uninstalled Subscribe 2 and the error went away. Thanks for posting!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.