Title: Warning: main() [function.include]: Failed opening
Last modified: August 18, 2016

---

# Warning: main() [function.include]: Failed opening

 *  Resolved [hardstar](https://wordpress.org/support/users/hardstar/)
 * (@hardstar)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/warning-main-functioninclude-failed-opening/)
 * The last week or so the right side of my site ([http://hardstar.org](http://hardstar.org))
   has come up with these errors that say refused to open stream, error on line 
   4, warning, etc. Check the site and you can see what’s up.
 * The thing is, I haven’t added or updated or changed anything on the site for 
   two or so weeks, and have never touched the main pages (the ones that are in 
   correlation of the page in question) since I originally opened the site in August,
   and maybe when I put up the new layout (in October). So for these errors to come
   up all of a sudden is really strange.
 * It says the error is on line 4 of my index in wp, here: [http://hardstar.org/wp/wp-content/themes/basic/index.php](http://hardstar.org/wp/wp-content/themes/basic/index.php).
   Feel free to also look it up on the [http://validator.w3.org](http://validator.w3.org)
   to see the error. The error comes up when it tries to open header.php. You can
   see in the validator it shows up as:
 * <meta http-equiv=”content-type” content=” < br / > (without the spaces on the
   br)
 * But its not as simple as just going into header.php and removing the weird break–
   in the actual page the real coding is:
 * <meta http-equiv=”content-type” content=”<?php bloginfo(‘html_type’); ?>; charset
   =<?php bloginfo(‘charset’); ?>” />
 * Which has never been altered since I downloaded the original template. Is this
   something I should have altered in some way? The original template was found 
   here: [http://www.visual-assault.org/wpTheme_basic/](http://www.visual-assault.org/wpTheme_basic/)
 * ANY help would be appreciated. Thank you!!

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

 *  [articles](https://wordpress.org/support/users/articles/)
 * (@articles)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/warning-main-functioninclude-failed-opening/#post-481065)
 * This error is very temporary, it looks like a server error, not directly WP-associated.
 * Error occurs mainly on main-page upon reload.
 *  Thread Starter [hardstar](https://wordpress.org/support/users/hardstar/)
 * (@hardstar)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/warning-main-functioninclude-failed-opening/#post-481258)
 * Thank you!
 * Well its been there for almost a week now, is there nothing else I can do except
   wait?

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

The topic ‘Warning: main() [function.include]: Failed opening’ is closed to new 
replies.

## Tags

 * [Failed](https://wordpress.org/support/topic-tag/failed/)
 * [opening](https://wordpress.org/support/topic-tag/opening/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 2 replies
 * 2 participants
 * Last reply from: [hardstar](https://wordpress.org/support/users/hardstar/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/warning-main-functioninclude-failed-opening/#post-481258)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
