Squirm
Member
Posted 5 months ago #
I am able to use the control panel but am unable to see the website or preview the website. I am getting the following error:
Warning: require(./german-car-repair-roswell-ga/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/content/k/i/d/kidsonftp/html/german-car-repair-roswell-ga/index.php on line 17
Fatal error: require() [function.require]: Failed opening required './german-car-repair-roswell-ga/wp-blog-header.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/k/i/d/kidsonftp/html/german-car-repair-roswell-ga/index.php on line 17
Can someone please help?
Thanks in advance!
error says this file is missing
/wp-blog-header.php
which may be indicative of others missing
Squirm
Member
Posted 5 months ago #
I got this error due to moving the WordPress installation to a sub-directory but I am not sure what I have done wrong...
Squirm
Member
Posted 5 months ago #
/wp-blog-header.php is there. I moved the whole directory so there should be no missing files...
Squirm
Member
Posted 5 months ago #
then best guess is you didn't change the wp-config.php properly
example
require('./wordpress/wp-blog-header.php');
so index.php is in your root directory
and everything else is in a folder named german-car-repair-roswell-ga
is that correct?
Squirm
Member
Posted 5 months ago #
No, Rev.V
I want the whole WordPress install nested in a folder named german-car-repair-roswell-ga. Currently all of it resides in there.
Is that an issue?
Thanks
What URL do you want WP to be? domain.com or domain.com/german-car-repair-roswell-ga ?
Squirm
Member
Posted 5 months ago #
domain.com/german-car-repair-roswell-ga
Okay :) Then you followed the wrong directions
http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site is what you should have done (the only you followed was to move WP to a subfolder, but have the URL be domain.com)
so.... your main wordpress index.php should be in that incredibly long name folder, which it sounds like it is
The index.php should be original, unedited. It does not need to point to ./german-car-repair-roswell-ga/wp-blog-header.php. Reason being, it is looking for a folder named german-car-repair-roswell-ga inside of the german-car-repair-roswell-ga folder.... because it is already in the german-car-repair-roswell-ga folder.... does that make sense? IT should just point to ./wp-blog-header.php
and both URLs in general settings (or in your database if you have to manually do it) should reflect domain.com/german-car-repair-roswell-ga
Squirm
Member
Posted 5 months ago #
Awesome... That is what I was doing wrong... Thanks guys!
I'm glad we were able to work through it! Because I was getting myself corn fused