Title: WordPress Template
Last modified: August 21, 2016

---

# WordPress Template

 *  [airmikec](https://wordpress.org/support/users/airmikec/)
 * (@airmikec)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/wordpress-template-3/)
 * Hi Everyone,
 * I am very new to WordPress. I have only a small idea on how it works. I understand
   some PHP from a CS point of view, but a graphic artist that works with me gave
   me a WordPress template. I put the template on my server which is running PHP-
   5.3.24 and I installed every plugin available just to bypass any errors. When
   I try and view the index.php of this template I get 2 errors in my php error 
   log. I have tried a couple things from previous posts and it’s not working. Here
   are my errors:
 * 1)
    [03-Nov-2013 19:48:52 America/Denver] PHP Fatal error: Call to undefined 
   function do_action() in C:\inetpub\wwwroot\fatbottomspirits.com\JG\index.php 
   on line 10
 * 2)
    [03-Nov-2013 19:49:07 America/Denver] PHP Fatal error: Call to undefined 
   function language_attributes() in C:\inetpub\wwwroot\fatbottomspirits.com\JG\
   header.php on line 13
 * I can’t seem to fix either of these errors and if anyone can give me some ideas
   on how to fix the problem, it would be greatly appreciated. Thank you for your
   time and I hope you all have a great day.
 * -Mike

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/wordpress-template-3/#post-4287226)
 * > Fatal error: Call to undefined function do_action()
 * try manually re-uploading all files and folders EXCEPT the wp-config.php file
   and the /wp-content/ directory from a fresh download of WordPress. Make sure 
   that you delete the old copies of files & folder before uploading the new ones.
   Read the [Manual Update ](http://codex.wordpress.org/Updating_WordPress#Manual_Update)
   directions first!
 * > Fatal error: Call to undefined function language_attributes()
 * – make sure all of the theme files got uploaded and are not 0 byte
    – Also check
   your theme’s functions.php and make sure this function is defined
 *  Thread Starter [airmikec](https://wordpress.org/support/users/airmikec/)
 * (@airmikec)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/wordpress-template-3/#post-4287243)
 * Sorry for being a bit confused. Again I am new to WordPress. I did glance at 
   the Manual Update initially. Do I actually have to have WordPress installed on
   my server? I kind of assumed WordPress was like Dreamweaver. You have a program
   that helps you build websites. I noticed the WordPress Template was a bunch of
   PHP files and since I had PHP running on my server, I figured we could just load
   all the files on my server and view it from the web as we make developmental 
   changes. Is this not possible?
 * Oh and to answer some questions, since I don’t have WordPress installed I don’t
   have a wp-config.php to delete and all of my theme files are greater than 0 Bytes.
 * I also just checked the functions.php where I thought do_action() and language_attributes()
   would be, and due to laziness before I just found out that those functions aren’t
   even in the file. Could this be the problem?
 * -Mike
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/wordpress-template-3/#post-4287263)
 * >  Do I actually have to have WordPress installed on my server?
 * Yes.
 * Have you read this?
 * [http://codex.wordpress.org/New_To_WordPress_-_Where_to_Start#Step_Three_-_Install_WordPress](http://codex.wordpress.org/New_To_WordPress_-_Where_to_Start#Step_Three_-_Install_WordPress)
 *  [manavkumar](https://wordpress.org/support/users/manavkumar/)
 * (@manavkumar)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/wordpress-template-3/#post-4287267)
 * Fatal error occurs because WordPress didn’t find these 2 functions. Make sure
   these 2 functions defined in functions.php file and if you are using any custom
   plugin or widgets then check these functions in your custom plugins or widgets.
   
   Before doing anything please read this [do_action()](http://codex.wordpress.org/Function_Reference/do_action)
   and [language_attributes()](http://codex.wordpress.org/Function_Reference/language_attributes)

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

The topic ‘WordPress Template’ is closed to new replies.

## Tags

 * [do_action()](https://wordpress.org/support/topic-tag/do_action/)
 * [language_attributes](https://wordpress.org/support/topic-tag/language_attributes/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [manavkumar](https://wordpress.org/support/users/manavkumar/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/wordpress-template-3/#post-4287267)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
