Title: Missing theme templates
Last modified: August 30, 2016

---

# Missing theme templates

 *  [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/)
 * I seem to have lost the theme templates when I use Add New Page. All the php 
   files are there in the Appearance>Editor.
 * Also, when I visit my site there is one of the theme pages but when I click on
   a top menu item I get a 404 page.
 * I have tried reinstalling the theme, and when reimporting the theme templates
   I got an error message:
 * ErrorStatus: error
    errorThrown: Internal Server Error Import is finished.
 * Any advice welcome.

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/missing-theme-templates/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/missing-theme-templates/page/2/?output_format=md)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747504)
 * what theme are you using?
 *  [CreativeNaturalista](https://wordpress.org/support/users/creativenaturalista/)
 * (@creativenaturalista)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747505)
 * Hi Enzo,
 * Also, where are you installing this theme from? The WordPress built-in installer?
   FTP?
 *  Thread Starter [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747535)
 * The theme is ZK_Raven.
 * I have tried both WordPress installer and FTP.
 * I have also tried changing to Twenty Fourteen theme and I have the same problems.
 *  Thread Starter [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747539)
 * Actually, looking at it again, when I change to Twenty Fourteen, the theme doesn’t
   even appear in the Dashboard so I can’t select page templates to import.
 *  Thread Starter [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747542)
 * Would it be a good idea just to reinstall WordPress? So far I have only been 
   playing around with seeing what can be done in WordPress so I wouldn’t lose anything
   important.
 *  [CreativeNaturalista](https://wordpress.org/support/users/creativenaturalista/)
 * (@creativenaturalista)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747546)
 * I say reinstall your wordpress, especially if you don’t have the core theme (
   Twenty Fourteen) as the install may have been corrupted. Are you install through
   a Hosting cPanel dashboard or through FTP?
 * Also you can try to reset you database & install with the [WordPress Database Reset](https://wordpress.org/plugins/wordpress-database-reset/)
   plugin. This will help clear up certain database issues quickly without reinstalling.
   Usually works if the initial WordPress installation was not corrupted, but try
   this first anyway to check.
 * Let me know if that helps!
 * Charlene
 *  Thread Starter [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747571)
 * Hi Marlene,
    I downloaded a WP Database reset folder. Do I upload the whole folder
   or some of the files? Please see screen grab in link below.
 * [https://www.dropbox.com/s/khnd22hvujlw7gh/WP%20Reset%20Folder.tiff?dl=0](https://www.dropbox.com/s/khnd22hvujlw7gh/WP%20Reset%20Folder.tiff?dl=0)
 * Thanks,
    Duncan
 *  [CreativeNaturalista](https://wordpress.org/support/users/creativenaturalista/)
 * (@creativenaturalista)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747575)
 * Hi Enzo,
 * As this is a plugin, you would upload the _entire folder_ through an FTP client
   or as a zipped file directly through WordPress Upload New Plugin.
 * See the [screenshot here to see where in WordPress](https://www.dropbox.com/s/azyi7do808ir7oy/Screen%20Shot%202015-11-14%20at%205.45.55%20PM.png?dl=0)
 * I Hope this helps,
 * Charlene
 *  Thread Starter [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747581)
 * Hi Marlene,
 * I tried the Database reset but then plugins for the theme could not be activated.
   Maybe I should have reloaded the theme as well.
 * Anyway, I then tried to reinstall WordPress via the ftp, but now I can’t access
   my site wp-admin. Also, on my site host under public_html, I have a __MACOSX 
   folder and a WordPress folder but the MACOSX folder also has a WordPress folder
   inside that which doesn’t seem right.
 * What have I done wrong!
 * Duncan
 *  [CreativeNaturalista](https://wordpress.org/support/users/creativenaturalista/)
 * (@creativenaturalista)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747584)
 * Hi Duncan,
 * Can you post a screenshot of you folder structure? If not that’s ok too. It seems
   like you uploaded all of your download folder but you only need the WordPress
   folder.
 * When you reinstalled the entire folder via FTP it seems that you also copied 
   over your database configurations that are stored in your wp-config file.
 * When you upload the files from the new install to your server, it should look
   like the screenshot at [this link](https://www.dropbox.com/s/y7c4gb6wegacwhu/Screen%20Shot%202015-11-15%20at%2011.55.40%20AM.png?dl=0).
 * From that, you have to configure the wp-config file to include your database 
   and server information.
 * Hopefully this [5-minute install instruction](http://codex.wordpress.org/Installing_WordPress)
   can help you with the FTP upload also.
 * Does your hosting provider have cPanel?
 * Charlene
 *  Thread Starter [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747589)
 * Hi Marlene,
 * Here are some screen grabs from my hosting provider. In the 1st one you can see
   there is a c-panel, and also that there are two versions of WordPress.
    [](https://www.dropbox.com/s/82n3o9u6o2db1gd/ScreenGrab01.tiff?dl=0)
 * 2nd screen grab shows contents of WordPress folder:
    [](https://www.dropbox.com/s/vg0lttd19tapknh/ScreenGrab02.tiff?dl=0)
 * It seems like I need to create a wp-config.php from the sample one in the list.
   
   Here is a screen grab of the sample:  I’m not sure what to edit in this sample
   php – could you give me some directions please.
 * Thanks for your help.
    Duncan
 *  Thread Starter [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747590)
 * Sorry I haven’t got the hang of linking things properly.
    Here’s the 3rd one (
   hopefully).
 * [https://www.dropbox.com/s/xmu5tl9az52klz4/ScreenGrab_Config-sample.tiff?dl=0](https://wordpress.org/support/topic/missing-theme-templates/?output_format=md)
 *  [CreativeNaturalista](https://wordpress.org/support/users/creativenaturalista/)
 * (@creativenaturalista)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747593)
 * Hi Duncan,
 * Sure thing. I’ll list the manual way to create your wp-config.php file and automatic
   way to install the new WordPress setup.
 * **Manual update of wp-config.php**
    1. You will need to delete the “_MACOSX” folder with the enclosed wordpress folder.
       This can help eliminate any database confusion. This seems to be a duplicate
       installation and can be causing the “missing theme” files situation.
    2. Make a copy of the “wp-config-sample.php” file and edit that “copy file”.
    3. Use the information for your wordpress database that you created for this install
       through either your cPanel or phpMyAdmin to update the following information:
       **
       DB_NAME ** The name of the database you created for WordPress in Step 2. **DB_USER**
       The username you created for WordPress in Step 2. **DB_PASSWORD** The password
       you chose for the WordPress username in Step 2. **DB_HOST ** The hostname you
       determined in Step 2 (usually localhost, but not always; see some possible DB_HOST
       values). If a port, socket, or pipe is necessary, append a colon (:) and then
       the relevant information to the hostname. **DB_CHARSET ** The database character
       set, normally should not be changed. **DB_COLLATE ** The database collation 
       should normally be left blank.
 * **Don’t forget to update your secrete keys.** Here’s how to do that manually:
   
   Make them long, random and complicated — or simply, [use the online generator](https://api.wordpress.org/secret-key/1.1/salt/).
 * These keys will look like this:
    `define( 'AUTH_KEY', 't`DK%X:>xy|e-Z(BXb/f(Ur`
   8#~UzUQG-^_Cs_GHs5U-&Wb?pgn^p8(2@}IcnCa|’ ); define( ‘SECURE_AUTH_KEY’, ‘D&ovlU#
   |CvJ##uNq}bel+^MFtT&.b9{UvR]g%ixsXhGlRJ7q!h}XWdEC[BOKXssj’ ); define( ‘LOGGED_IN_KEY’,‘
   MGKi8Br(&{H*~&0s;{k0<S(O:+f#WM+q|npJ-+P;RDKT:~jrmgj#/-,[hOBk!ry^’ ); define( ‘
   NONCE_KEY’, ‘FIsAsXJKL5ZlQo)iD-pt??eUbdc{_Cn<4!d~yqz))&B D?AwK%)+)F2aNwI|siOe’);
   define( ‘AUTH_SALT’, ‘7T-!^i!0,w)L#JK@pc2{8XE[DenYI^BVf{L:jvF,hf}zBf883td6D;Vcy8,
   S)-&G’ ); define( ‘SECURE_AUTH_SALT’, ‘I6`V|mDZq21-J|ihb u^q0F }F_NUcy`l,=obGtq*
   p#Ybe4a31R,r=|n#=]@]c #’ ); define( ‘LOGGED_IN_SALT’, ‘w<$4c$Hmd%/*]`Oom>(hdXW
   |0M=X={we6;Mpvtg+V.o<$|#_}qG(GaVDEsn,~*4i’ ); define( ‘NONCE_SALT’, ‘a|#h{c5|
   P &xWs4IZ20c2&%4!c(/uG}W:mAvy<I44`jAbup]t=]V<`}.py(wTP%%’ );`
 * **Automatic WordPress Install via c-Panel:**
    You mentioned that you have c-Panel.
   Does your section look like this? This would be the cleaner way to create the
   WordPress install and have the system create the wp-config.php file for you.
    1. Log in to your cPanel.
    2. Click MySQL Database Wizard icon under the Databases section.
    3. In Step 1. Create a Database enter the database name and click Next Step.
    4. In Step 2. Create Database Users enter the database user name and the password.
       Make sure to use a strong password. Click Create User.
    5. In Step 3. Add User to Database click the All Privileges checkbox and click 
       Next Step.
    6. In Step 4. Complete the task note the database name and user. Write down the
       values of hostname, username, databasename, and the password you chose. (Note
       that hostname will usually be localhost.)
 * If you would prefer that I set up the install for you, I would be glad to help.
   Free of course, so that you can focus on setting up your theme! Just let me know.
 * Charlene
 *  Thread Starter [EnzoBluebird](https://wordpress.org/support/users/enzobluebird/)
 * (@enzobluebird)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747598)
 * Hi Marlene,
 * I couldn’t see MySQL Database Wizard so I used the manual method and uploaded
   the new wp-config.php, but I still can’t access my site. Is there something else
   I should do?
 * Duncan
 *  [CreativeNaturalista](https://wordpress.org/support/users/creativenaturalista/)
 * (@creativenaturalista)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/#post-6747599)
 * Hi Duncan,
 * You need your database information to connect your WordPress site to the database
   in the wp-config.php file. The instruction I posted above.
 * Can you give a screen shot of where on your site you are getting stuck?
 * Perhaps it may be quicker for me to help by working with you to set things up
   on the site?
 * Charlene

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/topic/missing-theme-templates/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/missing-theme-templates/page/2/?output_format=md)

The topic ‘Missing theme templates’ is closed to new replies.

## Tags

 * [template missing](https://wordpress.org/support/topic-tag/template-missing/)

 * 25 replies
 * 4 participants
 * Last reply from: [CreativeNaturalista](https://wordpress.org/support/users/creativenaturalista/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/missing-theme-templates/page/2/#post-6747653)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
