Forums

Having some issues (3 posts)

  1. mach2racer
    Member
    Posted 4 years ago #

    I cannot load it as my index page for my web site. If it is still up you can view it at http://www.jakerobinson.net
    This is what I am getting.

    Warning: main(./wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/jakerobi/public_html/index.php on line 4

    Warning: main(./wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/jakerobi/public_html/index.php on line 4

    Fatal error: main() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /home/jakerobi/public_html/index.php on line 4

    I took the index.php from my wordpress file. Not the theme file. What is the dealio?

  2. Aaron Harun
    Member
    Posted 4 years ago #

    You have to edit the index.php file you moved.

    Change the line that says:
    require('./wp-blog-header.php');
    to the following, using your directory name for the WordPress core files:
    require('./wordpress/wp-blog-header.php');

    See Giving_WordPress_Its_Own_Directory.

  3. mach2racer
    Member
    Posted 4 years ago #

    well I fixed it. I just unloaded all the files to the main location.
    Thanks though.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.