Title: Fatal error: comments_template(): Failed opening
Last modified: August 18, 2016

---

# Fatal error: comments_template(): Failed opening

 *  [dgharris](https://wordpress.org/support/users/dgharris/)
 * (@dgharris)
 * [21 years ago](https://wordpress.org/support/topic/fatal-error-comments_template-failed-opening/)
 * I am new to wp and not familiar with php but know html and css pretty well. I
   had a new blog hosted at xyz company. They did install of wp for me. My blog 
   address [http://hawaiian-shirt-reviews.com](http://hawaiian-shirt-reviews.com).
   
   I tried to put a couple of pages on the blog and used this code to put it in 
   the side bar template. ` <ul> <?php wp_list_pages('sort_column=menu_order&title_li
   =<h2>' . __('Pages') . '</h2>' ); ?> </ul>  Warning: comments_template(/home/
   hawaiian/public_html/wp-content/themes/tropical-breeze): failed to open stream:
   Success in /home/hawaiian/public_html/wp-includes/comment-functions.php on line
   24
 * Fatal error: comments_template(): Failed opening required ‘/home/hawaiian/public_html/
   wp-content/themes/tropical-breeze’ (include_path=’.:/usr/lib/php:/usr/local/lib/
   php’) in /home/hawaiian/public_html/wp-includes/comment-functions.php on line
   24
    If someone could go to my blog and help me with this I would really appreciate
   it. Thank you. When I click on link to pages I get this:

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years ago](https://wordpress.org/support/topic/fatal-error-comments_template-failed-opening/#post-218878)
 * 1. This error might be caused by an old (pre-1.5) call for the comments.php template.
   Check if you have this line in your index.php:
    `<?php comments_template( is_single());//
   Get wp-comments.php template ?>` change it to `<?php comments_template(); // 
   Get wp-comments.php template ?>`
 * 2. You have also some major problems with your permalinks – seemingly you altered
   the slugs in a way WP doesn’t like it.
 *  Thread Starter [dgharris](https://wordpress.org/support/users/dgharris/)
 * (@dgharris)
 * [21 years ago](https://wordpress.org/support/topic/fatal-error-comments_template-failed-opening/#post-218888)
 * That fixed it wow thanks!
    Not sure what you mean by this.
 * “seemingly you altered the slugs in a way WP doesn’t like it.”
    slugs?
 * I don’t remember changing anything else other naming some directors
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years ago](https://wordpress.org/support/topic/fatal-error-comments_template-failed-opening/#post-218890)
 * What directories? In WP you don’t really have directories, only virtual ones.
   
   What I was referring to: if I click on the title of your post _Care of the Hawaiian
   Shirts_ normally it would go to the “permalink” = permanent link of that post,
   something like: `.../care-of-hawaiian-shirts` but now it points to a link (having
   an apostrophe in it!) `Men's-Hawaiian/3/3` which of course gives a 404 not found
   error.
 *  Thread Starter [dgharris](https://wordpress.org/support/users/dgharris/)
 * (@dgharris)
 * [21 years ago](https://wordpress.org/support/topic/fatal-error-comments_template-failed-opening/#post-218906)
 * Moshu
    I think I know what you mean and where the apostrophe came from. Check
   it now I think I fixed it. It was the permalink structure that I had used a name
   in. Thank you so much.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [21 years ago](https://wordpress.org/support/topic/fatal-error-comments_template-failed-opening/#post-218910)
 * It works now (no more 404) but – to be honest – I still don’t get the logic behind
   the “redirect” or whatever is… when clicking on the title. For any visitor familiar
   with blog things the expected behaviour when clicking on a title would be to 
   get the “single post” view including the comments and comment form.
    But, hey,
   it’s your blog 🙂 you can do anything with it.
 *  Thread Starter [dgharris](https://wordpress.org/support/users/dgharris/)
 * (@dgharris)
 * [21 years ago](https://wordpress.org/support/topic/fatal-error-comments_template-failed-opening/#post-218960)
 * Moshu
 * Thanks for checking it out. I’m not new to blogging. I’ve been using Movable 
   Type and Blogger. As I said I am new to wp. In MT and Blogger the title isn’t
   clickable the permalinks are and you do get individual pages with comment capability.
   Here is one of my blogs using MT
    [http://www.dennisgharris.com/](http://www.dennisgharris.com/)
   You click the permalink and get the single entry. This Hawaiian site seems to
   be the same except it is the title that acts as permalink, but the when I click
   the title I get that single post with comment ablity. I feel like I’m missing
   something you’re saying. Please forgive my ignorance.

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

The topic ‘Fatal error: comments_template(): Failed opening’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [dgharris](https://wordpress.org/support/users/dgharris/)
 * Last activity: [21 years ago](https://wordpress.org/support/topic/fatal-error-comments_template-failed-opening/#post-218960)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
