• Resolved EvaCatHerder

    (@evacatherder)


    Hi–I am completely stumped. I am running 3.4 and I can only get intuitionmatters.net/wordpress and nor intuitionmatters.net to run. I keep getting the following error messages:

    Warning: require(wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/intuitionmatters/intuitionmatters.net/index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘wp-blog-header.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/intuitionmatters/intuitionmatters.net/index.php on line 17

    So far, I have:
    1. Done 2 clean intalls
    2. disabled all of my plugins using FTP
    3. Used Twenty-Eleven as my theme
    4. Read through many, many threads, even old ones
    5. Checked my permissions

    And now I am stumped, stumped, stumped. Please help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Do you have an .htaccess file here– https://intuitionmatters.net/.htaccess? If so, what is in it?

    I am assuming that your WordPress blog is supposed to be at intuitionmatters.net/wordpress? That leads me to wonder why the page at intuitionmatters.net is looking for a WordPress file? I think you’ve scrambled your installation by putting some files where they don’t belong.

    In other words…

    Where is WordPress supposed to be?

    What files are at intuitionmatters.net/ ?

    And what files are at intuitionmatters.net/wordpress ?

    Thread Starter EvaCatHerder

    (@evacatherder)

    I do have an .htaccess file. This is what is in it:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    All of the WordPress files are in inutitionmatters.net/wordpress. I have a copy of the index.php file in the root so I could set the site address as intuitionmatters.net.

    ah…yo need to edit the index.php in root to point to wp-blog-header in the /wordpress directory

    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory
    Make sure everything jives with these instructions if you are running wp from root, but keeping the files in /wordpress

    Thread Starter EvaCatHerder

    (@evacatherder)

    That was definitely progress, but I am still getting this error: Parse error: syntax error, unexpected ‘=’ in /home/intuitionmatters/intuitionmatters.net/wordpress/wp-blog-header.php on line 17

    Ok, so what is on lines 15-20 of wp-blog-header.php? Have you edited that file? When you have these issues, please post the relevant code.

    Thread Starter EvaCatHerder

    (@evacatherder)

    Here is the code on lines 15-20 of wp-blog-header.php:

    require_once( ABSPATH . WPINC . ‘/template-loader.php’ );
    (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’);

    You are pasting source code that you go by opening the file itself in a text editor and not generated code from a browser’s ‘view source’ right?

    That second line shouldn’t be there. wp-blog-header.php should look like this: https://core.trac.www.ads-software.com/browser/trunk/wp-blog-header.php

    Any idea how that line got there?

    Thread Starter EvaCatHerder

    (@evacatherder)

    I was copying the text from the file itself, not “view source” and I am as stumped as you are about how that got in there. I replaced the wp-blog-header.php from my original WordPress zipped file and that fixed the problem.

    Thank you all for your help!

    Boom, glad we were able to get there!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘require(wp-blog-header.php) on 3.4’ is closed to new replies.