# Template is missing error

**URL:** <https://www.ruby-forum.com/t/template-is-missing-error/49540>\
**Category:** Rails\
**Created:** [December 5, 2005, 9:35pm UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540 "2005-12-05T21:35:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [December 5, 2005, 9:35pm UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540/1 "2005-12-05T21:35:51Z")

</div>

Hello! I’m getting a ‘Template is missing’ error that says:

Missing template ./script/…/config/…/app/views/faq/list.rhtml

but there is a blank list.rtml file there. It shows up as a text  
document, I don’t know if that matters.

Thanks!

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [December 5, 2005, 10:35pm UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540/2 "2005-12-05T22:35:54Z")

</div>

That do you mean it shows up as a text document? Does it have a .txt  
extension? If so, that is your problem. It should be called just  
list.rhtml.

If that wasn’t helpful, perhaps provide some more information and  
someone can be of some help.

Tom

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [December 5, 2005, 11:04pm UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540/3 "2005-12-05T23:04:36Z")

</div>

I notice a spelling mistake. Perhaps it is in your email or your  
file name. Your file name would explain the problem. Note

> > Missing template ./script/…/config/…/app/views/faq/list.rhtml
> > 
> > but there is a blank list.rtml file

You are missing an h between the r and t of rtml file.

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [December 7, 2005, 1:30pm UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540/4 "2005-12-07T13:30:46Z")

</div>

> If so, how would I get Notepad to save as a .rhtml?

Its got to list.rhtml … and while saving save it in quotes " " …if  
notepad gives that error…i dont know…i never used notepad much.but i  
see  
that in many windows apps

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [December 8, 2005, 12:34am UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540/5 "2005-12-08T00:34:13Z")

</div>

Mark [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Good eye! But it was just a typo in the post. I checked; it’s right on  
> my computer.
> 
> Also, to atomgiant, I’m not sure if it’s list.rhtml or list.rhtml.txt  
> because I used notepad and I think it does that sometimes. When I check  
> properties, though, it calls it a Text Document. Maybe this is the  
> problem.

To save this kind of confusion, configure Windows Explorer to always  
display file suffixes. In Windows Explorer, Tools menu, choose “Folder  
Options…”, then choose the View tab, then uncheck “Hide extensions for  
known file types” and click OK.

> If so, how would I get Notepad to save as a .rhtml?

In Notepad’s Save dialog, choose “All Files” in the “Save as type:”  
dropdown.

regards

Justin

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [December 6, 2005, 9:29pm UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540/6 "2005-12-06T21:29:51Z")

</div>

Good eye! But it was just a typo in the post. I checked; it’s right on  
my computer.

Also, to atomgiant, I’m not sure if it’s list.rhtml or list.rhtml.txt  
because I used notepad and I think it does that sometimes. When I check  
properties, though, it calls it a Text Document. Maybe this is the  
problem.

If so, how would I get Notepad to save as a .rhtml?

---

<div class="post-metadata">

**Author:** ![mark](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9c0ed/32.png) [@mark](https://www.ruby-forum.com/u/mark)\
**Post date:** [December 9, 2005, 10:07pm UTC](https://www.ruby-forum.com/t/template-is-missing-error/49540/7 "2005-12-09T22:07:35Z")

</div>

justin wrote:

> In Notepad’s Save dialog, choose “All Files” in the “Save as type:”  
> dropdown.

It worked! Sorry it took so long to post back. You were completely and  
totally right!!

Thanks a ton to everyone who posted so kindly!

Appreciatively,  
Mark
