• This has been happening for a few days: the site (https://stkarnick.com) simply stops running–nothing displays, and I can’t get the WP Dashboard to open. The only way I’ve been able to get it to run is to open the directories in my ftp program, change the name of the main directory, and then change it back after a couple of minutes. That seems to reset the system somehow. I’m Getting this error message in my log:

    PHP Warning: require(/culture/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /[site’s main directory]/index.php on line 17
    [14-May-2012 20:37:27] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/include:/usr/lib/php’) in /[site’s main directory]/index.php on line 17
    [14-May-2012 20:37:47]

    Can anyone help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • are you running any special setup? LIke installed in a subdir but running from root, etc?

    Have you made any edits to index.php on line 17?

    require('./wp-blog-header.php');

    NM/ I just peeped your site, and I can see your setup.

    When does the site fail? As I can see it fine now, is it just the back end.. or?

    Thread Starter lesterleith

    (@lesterleith)

    Thanks for your quick reply, Rev. Yes, my site is in a subdir but called from the main directory (I think?).

    I have made no edits to index.php.

    The site seems to fail overnight–I was having trouble with a db-backup plugin, getting error messages in my log, so I removed it. It helped a bit, but the site is still unaccountably shutting down overnight and not coming up again in the morning.

    Did you install it in the subdir?

    The reason I ask, is that the line I listed above would have needed to be edited to point to your directory.

    But I don’t think that’s an issue if your site works a lot of the time. Maybe check with your hosts first off…

    If it is only happening sometimes, that makes me wonder what changes to cause the failure

    Thread Starter lesterleith

    (@lesterleith)

    Thanks again. I installed WP in the subdir, yes. My host says the problem is with WordPress, and it’s true that when I have had problems in the past they were caused by WordPress issues such as bad plugins and the like. This all started when a database backup program that ran each night encountered a problem in that the file size it was trying to create was too big, causing an error. The site wouldn’t work at all. I deactivated that program and deleted it through the WP dashboard, and the problem has become less severe but still persists. It makes me wonder if there is a bit of code that needs to be replaced. Since removing the plugin I have updated to the most recent WP version, which I would have hoped would solve the problem. No such luck so far, however.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Site won't run at all – "Failed to open stream"’ is closed to new replies.