[Resolved] Missing file or directory on line 17 of index.php
Can anyone make sense out of this error message?
Warning: require(./wp/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/content/31/8187731/html/wp/index.php on line 17
Fatal error: require() [function.require]: Failed opening required ‘./wp/wp-blog-header.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/31/8187731/html/wp/index.php on line 17
I’ve been developing a WordPress site in my :mydomain.com/wp, the content of which is intended to replace the HTML site currently in the root of :my domain.com. Now I’m trying to make the changes needed to make the WP installation in the *wp* subdirectory the active content. It appears that an obstacle in getting this done is the error message reported above.
Perhaps you could also straighten me out on this related matter:
I understand that I need to copy .htaccess and index.php from the *wp* folder to the root. Correct?
Also that LIne 17 of the index.php that ends up in the root needs to be modified to read [backtick]require(‘./wp/wp-blog-header.php’);[backtick]. Corrrect? (Sorry, I don;t have a clue what a backtick is.)
Does Line 17 of the index.php in the *wp* folder remain [backtick]require(‘./wp-blog-header.php’);[backtick]?
- The topic ‘[Resolved] Missing file or directory on line 17 of index.php’ is closed to new replies.