Title: Site not working &#8211; function.php &amp; &quot;get_template_directory&quot;
Last modified: August 19, 2016

---

# Site not working – function.php & "get_template_directory"

 *  [uncleslinky](https://wordpress.org/support/users/uncleslinky/)
 * (@uncleslinky)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/site-not-working-functionphp-get_template_directory/)
 * Hi there
 * Please see my site below:
    [http://www.blink182guitarlessons.com](http://www.blink182guitarlessons.com)
 * I think I either accidentally changed or deleted a file using FTP and I am now
   shown the above message at my site. I cannot login or do ANYTHING else.
 * I completely uninstalled word press from my site and removed ALL files from my
   folders using FTP. However when I reinstall WordPress and install then activate
   a new theme I always get the message shown at the link above.
 * I check my folders for the file functions.php and it is present in the directory
   listed in the error. The message points to “line 3” which I believe is:
 * “load_theme_textdomain(‘eStore’,get_template_directory().’/lang’);”
 * Is this the part which is not working? And if so, how can I fix this??
 * Thanks
    Rich

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/site-not-working-functionphp-get_template_directory/#post-1984874)
 * Re-install your eStore theme.
 *  Thread Starter [uncleslinky](https://wordpress.org/support/users/uncleslinky/)
 * (@uncleslinky)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/site-not-working-functionphp-get_template_directory/#post-1984887)
 * hey, thanks for the reply
 * I cannot access the admin part of wordpress due to the error message.
    I have
   reinstalled wordpress as fresh and installed the theme again, however the error
   message still remains.
 * Any ideas?
    😀
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/site-not-working-functionphp-get_template_directory/#post-1985063)
 * Elegant Themes Support: [http://www.elegantthemes.com/forum/](http://www.elegantthemes.com/forum/)

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

The topic ‘Site not working – function.php & "get_template_directory"’ is closed
to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/site-not-working-functionphp-get_template_directory/#post-1985063)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
