Title: Template is missing. But theme isnt a Child theme
Last modified: August 19, 2016

---

# Template is missing. But theme isnt a Child theme

 *  [MMPDesign](https://wordpress.org/support/users/mmpdesign/)
 * (@mmpdesign)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/)
 * Theme works okay with the set up I have using MAMP on my laptop, but when I went
   to put it on the actual server it says:
    Broken Themes Smart Spaces || Template
   is missing.
 * The meta info in the style sheet is as follows.
 *     ```
       /*
       Theme Name: Smart Spaces
       Theme URI: http://xxxxxx.xxx
       Description: The Description
       Version: 1.0
       Author: MMP Design
       Author URI: http://xxxxx.xxx
       */
       ```
   
 * -note- URI are filled in with the proper relevant URI
    So what I understand from
   the codex is that It is missing a line that says `Template: directoryOfTemplate`
   But I this theme was written from scratch and doesnt rely on any other themes
   so I am supposed to leave that line out.
 * Both the web server and local server are running wordpress 2.8.6
 * Guess my questions would be what am I doing wrong? Is there something I am missing
   that will make wordpress stop viewing my theme as a child theme.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/#post-1284307)
 * Looks like your theme is missing a template file. A standalone theme normally
   includes:
 * style.css
    index.php functions.php header.php sidebar.php footer.php comments.
   php single.php
 * but you could (just about) get away with only having the first 3 files.
 *  Thread Starter [MMPDesign](https://wordpress.org/support/users/mmpdesign/)
 * (@mmpdesign)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/#post-1284313)
 * Thanks Esmi
    It is a stand alone theme and has all those files (excluding comments.
   php because comments are not needed for the site).
 * > Looks like your theme is missing a template file.
 * What do you mean by the theme is missing a template file?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/#post-1284320)
 * Look at the error message:
 * > Broken Themes
   >  Smart Spaces || Template is missing.
 *  Thread Starter [MMPDesign](https://wordpress.org/support/users/mmpdesign/)
 * (@mmpdesign)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/#post-1284324)
 * Right, but that is in reference to a parent template which would be defined by`
   Template: Defult` if for example I wanted to use the Defult theme as a template.
 * But in my case my theme is a stand alone theme built from scratch and has all
   the files you have stated (sans comments.php), It also has what I believe is 
   the correct meta data at the top of the style.css file (which was stated in the
   original post)
 * So that error that says _Template is missing_ shouldnt be there.
 * Also this theme works perfectly fine on my local set up, just not the webserver,
   Both of which are using the same version of wordpress.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/#post-1284342)
 * > Right, but that is in reference to a parent template
 * I don’t think it is…
 *  Thread Starter [MMPDesign](https://wordpress.org/support/users/mmpdesign/)
 * (@mmpdesign)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/#post-1284395)
 * What would it be in reference to then?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/#post-1284449)
 * Not sure but I have never seen a standalone theme being treated as a broken child
   theme before and I’m currently switching back & forth between child and standalone
   themes on my dev server a lot. Can you post a list of the files in your theme?

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

The topic ‘Template is missing. But theme isnt a Child theme’ is closed to new replies.

## Tags

 * [theme broken](https://wordpress.org/support/topic-tag/theme-broken/)

 * 7 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/template-is-missing-2/#post-1284449)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
