Title: Fatal error: main() [function.require]:
Last modified: August 19, 2016

---

# Fatal error: main() [function.require]:

 *  [awdyck](https://wordpress.org/support/users/awdyck/)
 * (@awdyck)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/)
 * I have had to do a manual upgrade and get the following error trying to view 
   the site: Fatal error: main() [function.require]: Failed opening required ‘./
   wp-blog-header.php’ (include_path=’.:/usr/lib/php’) in /homepages/26/d282309944/
   htdocs/htrchurch/index.php on line 17. I am able to get into the Dashboard just
   fine, but that’s as far as I get.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [WPpremium](https://wordpress.org/support/users/wppremium/)
 * (@wppremium)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/#post-1560524)
 * Make sure that the file wp-blog-header.php is present in “htrchurch” folder.
 *  Thread Starter [awdyck](https://wordpress.org/support/users/awdyck/)
 * (@awdyck)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/#post-1560712)
 * I haven’t had a chance to retry the upgrade, but where else would this file be
   if it is in the upgrade files?
 *  [WPpremium](https://wordpress.org/support/users/wppremium/)
 * (@wppremium)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/#post-1560816)
 * The file should be in “htrchurch” folder.
 *  [danmyers](https://wordpress.org/support/users/danmyers/)
 * (@danmyers)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/#post-1560867)
 * I have what appears to be the same issue. After upgrade attempt I am able to 
   access the administration pages and everything appears to be there, but when 
   I click “visit site” I get the following:
 * Fatal error: main() [function.require]: Failed opening required ‘./wp-blog-header.
   php’ (include_path=’.:/usr/lib/php’) in /homepages/35/d236091845/htdocs/actforamerica92253.
   org/index.php on line 17
 * I am unable to understand what this fatal error message is saying or what I can
   do about it. And the solution I find on this forum does not work for me.
 * I am using Fetch as my FTP. Apparently I have messed up the file in Fetch that
   would enable me to open the web site. Since I have tried so many options, I’m
   not certain what is where. Should I create a new Fetch folder and put my backup
   WordPress file in that and try to work from that?
 * One forum writer instructs to:
    “Make sure that the file wp-blog-header.php is
   present in “htrchurch” folder.”    I don’t know how to do this.
 * WHO MIGHT HELP?
 *  [Hispacolex](https://wordpress.org/support/users/hispacolex/)
 * (@hispacolex)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/#post-1560871)
 * i updated a 3.1 version and i get this message “Fatal error: main() [function.
   require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.;./includes;./
   pear’) in D:\inetpub\”. With dashboard no problem but the index page not work.
 * Actualicé a la versión 3.1 y en la página inicial obtengo este mensaje “Fatal
   error: main() [function.require]: Failed opening required ‘./wp-blog-header.php’(
   include_path=’.;./includes;./pear’) in D:\inetpub\” . El escritorio funciona 
   bien.
 *  [Hispacolex](https://wordpress.org/support/users/hispacolex/)
 * (@hispacolex)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/#post-1560872)
 * it work if changes require(‘./wp-blog-header.php’); in index.php by require(‘
   wp-blog-header.php’);
 * i dont understant it, because i have others blogs (with older version and its
   works without the change)
 * Vamos, que tras actualizar se ha roto y lo he tenido que arreglar a mano.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/#post-1560873)
 * Please post a new topic.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Fatal error: main() [function.require]:’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 7 replies
 * 5 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-main-functionrequire/#post-1560873)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
