Title: total lock out
Last modified: August 19, 2016

---

# total lock out

 *  [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/)
 * “I added a line of code to the functions.php section of the themes editor, not
   realizing what it would do (I was trying, incorrectly, to add a flavicon–wrong
   spot). Now my site is completely locked down. I can’t log in to my WordPress.
   org account or my web site–when I try either one, the only message that shows
   up on the page is as follows:
    Parse error: syntax error, unexpected ‘<‘ in D:\
   Hosting\[the number is here]\html\wp-content\themes\default\functions.php on 
   line 37 Any ideas? I’m not even sure where to begin. I will remove the line of
   code as soon as I can access my account, but I don’t know how to get back into
   the account since I seem to have messed up the theme that would show my dashboard.”
   A previous post
 * I am fresh to Word Press and have a similar problem. My message is:
    Parse error:
   syntax error, unexpected ‘<‘ in/home/taehwang/magpiestudioarts.com/wp-content/
   themes/barthelme/functions.php on line 7 How do I use my ftp client, to upload
   a fresh unedited copy of your current theme’s function.php? Where do I get a 
   fresh unedited copy ?

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

1 [2](https://wordpress.org/support/topic/total-lock-out/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/total-lock-out/page/2/?output_format=md)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1519852)
 * Where did you get the theme from in the first place? You haven’t even mentioned
   what theme you’re using.
 *  Thread Starter [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1519871)
 * Sorry Esmi,
 * I am totally new to this.
 * I am using barthelme, one of the preloaded options I picked through the dashboard.
   It was working just fine until I began monkeying with it.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1519874)
 * Download a fresh copy of the theme to your computer from [http://wordpress.org/extend/themes/barthelme](http://wordpress.org/extend/themes/barthelme)
   and unpack the archive file.
 * Then upload the functions.php file to your wp-content/themes/barthelme folder
   using [FTP](http://codex.wordpress.org/FTP_Clients) (or whatever file management
   application your host provides).
 *  Thread Starter [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1519989)
 * Thanks!
 * I tried this and it still does not work. Should I delete the functions.php files
   on my site and try again?
 *  Thread Starter [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1519990)
 * I tried deleting the file and uploading the new one and it still does not work.
   Any other suggestions?
 *  Thread Starter [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520034)
 * The entire barthelme theme has been replaced. Any clues as to why it is still
   not working?
 *  [threestyler](https://wordpress.org/support/users/threestyler/)
 * (@threestyler)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520036)
 * post the full contents of your functions.php in here.
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520037)
 * [http://wordpress.pastebin.com/](http://wordpress.pastebin.com/)
    or in the pastebin
   preferably, per forum rules…. [http://codex.wordpress.org/Forum_Welcome#Posting_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)(
   the functions.php is a bit long)
 *  Thread Starter [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520041)
 * This is the new functions.php file that was freshly downloaded yesterday: [http://wordpress.pastebin.com/hAH9kRWf](http://wordpress.pastebin.com/hAH9kRWf)
 *  I had no troubles with the theme before I started cutting and pasting code. 
   I had been attempting to add a photo to my home page, by pasting the photo html
   directly into the php files. When I pasted to line 7 and uploaded the total lock
   out occurred.
 * Yesterday I went into my site files and removed the entire Barthelme theme and
   replaced each file with the originals.
 * Thanks for helping me.
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520042)
 * so, if you totally delete the Barthelme theme, that should set you back to the
   default theme when you try to get back into your site.
 * Did you try that at all? If that doesn’t work, your problems run deeper
 * Because in your original post, you also have an error code referencing the default
   theme…..did you mess with that too? If so, you need to upload a fresh copy of
   the default theme as well….
 *  Thread Starter [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520043)
 * Yes. I totally deleted Barthelme.
 * I dont think I changed the default theme but I may have? Where do I find a replacement
   default theme? It would not hurt to replace it just in case
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520045)
 * [http://wordpress.org/download/](http://wordpress.org/download/)
 * download all of WP to your computer….if you unzip the download and go to wp-content-
   >themes, the default theme will be in there
 * with the Barthelme theme totally gone, when you try to access your WP, do you
   get error messages?
 *  Thread Starter [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520046)
 * The Barthelme theme is not gone it has been replaced. I will try just deleting
   it and seeing what happens before changing the default theme.
 * This is the error message:
 * Parse error: syntax error, unexpected ‘<‘ in /home/taehwang/magpiestudioarts.
   com/wp-content/themes/barthelme/functions.php on line 7
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520047)
 * Yeah, I would try totally killing that theme first, get back to default.
 * Then we can make sure your install is still working, and everything is good.
 * After that, we can try reinstalling a new theme…..
 *  Thread Starter [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * (@melinda-rose)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/#post-1520048)
 * Barthelme is gone now and I still get the same error message. I will change the
   default now and see if that fixes the prob.

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

1 [2](https://wordpress.org/support/topic/total-lock-out/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/total-lock-out/page/2/?output_format=md)

The topic ‘total lock out’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 21 replies
 * 4 participants
 * Last reply from: [melinda-rose](https://wordpress.org/support/users/melinda-rose/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/total-lock-out/page/2/#post-1520057)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
