Title: theme upload error message
Last modified: August 18, 2016

---

# theme upload error message

 *  [lajking](https://wordpress.org/support/users/lajking/)
 * (@lajking)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/theme-upload-error-message/)
 * I uploaded a new theme to my blog under wp-content/themes/newtheme, and expanded
   filetype upload permissions to php and css, and now when i try to get into the
   content folder i get the following error message:
 * “Fatal error: Call to undefined function: get_header() in /home/dronero/public_html/
   lauren/wordpress/wp-content/index.php on line 1”
 * or go here to see the error for yourself: [http://lauren.droner.org/wordpress/wp-content/](http://lauren.droner.org/wordpress/wp-content/)
 * how do i resolve this?

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

 *  [oriecat](https://wordpress.org/support/users/oriecat/)
 * (@oriecat)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/theme-upload-error-message/#post-257822)
 * Why are you trying to access the wp-content folder? Also, there shouldn’t be 
   an index.php in that folder anyway.
 *  [rander](https://wordpress.org/support/users/rander/)
 * (@rander)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/theme-upload-error-message/#post-257823)
 * I’m not sure I get this…
    You do know that the theme should go in a sub-folder
   to themes, right? So if you upload a theme named `NewTheme`, you should probably
   create a folder named `wp-content/themes/newtheme/` and put the files in that
   folder. The above error doesn’t really make sense – it looks like you placed 
   the `.php` and `.css` themefiles directly in `wp-content/themes/`…
 *  Thread Starter [lajking](https://wordpress.org/support/users/lajking/)
 * (@lajking)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/theme-upload-error-message/#post-257832)
 * i’m kind of a beginner… in the “options” tab under “miscellaneous” i added extension“/
   themes/newtheme” to the URI of the directory, and not also to the destination
   directory.
 * i need to delete the files now, or whatever’s necessary to get rid of the error.

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

The topic ‘theme upload error message’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [lajking](https://wordpress.org/support/users/lajking/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/theme-upload-error-message/#post-257832)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
