Title: Emergency, cannot access admin
Last modified: August 20, 2016

---

# Emergency, cannot access admin

 *  Resolved [savagedome](https://wordpress.org/support/users/savagedome/)
 * (@savagedome)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/emergency-cannot-access-admin/)
 * Hello, I am in a real pickle and cannot get into my blog.
 * I was trying to install some code, which I am not good at, and once I finished
   I get he following error.
 * Parse error: syntax error, unexpected ‘?’ in /home/sports/public_html/wp-content/
   themes/admired/functions.php on line 411
 * I uses the Admired Theme and myt blog is hosted on HostGator if that help?
 * Please help. Thanks!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/emergency-cannot-access-admin/#post-3028148)
 * Switch to the Twenty Eleven theme by renaming:
 * wp-content/themes/admired
 * to:
 * wp-content/themes/admired-old
 * using [FTP](http://codex.wordpress.org/FTP_Clients) or whatever file management
   application your host provides. That should get back into your site again and
   allow you to try downloading a fresh copy of the chosen theme.
 *  Thread Starter [savagedome](https://wordpress.org/support/users/savagedome/)
 * (@savagedome)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/emergency-cannot-access-admin/#post-3028149)
 * OK thanks I will give that a try!
 *  [vjpo](https://wordpress.org/support/users/vjpo/)
 * (@vjpo)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/emergency-cannot-access-admin/#post-3028152)
 * line 411 in [functions.php](http://themes.svn.wordpress.org/admired/1.2.1/functions.php)
   of Admired Theme is the last line and looks like
    `?>`
 * Check via FTP if there `>` sign in the line. May be you lost it during editing.
   
   You also can upload default functions.php instead of edited into the theme folder.
   May be this is better if you are not familiar with PHP.
 *  Thread Starter [savagedome](https://wordpress.org/support/users/savagedome/)
 * (@savagedome)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/emergency-cannot-access-admin/#post-3028153)
 * Esmi, you are a genius! A million thank you’s!!!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/emergency-cannot-access-admin/#post-3028167)
 * Glad I could help 🙂

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

The topic ‘Emergency, cannot access admin’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [cannot access](https://wordpress.org/support/topic-tag/cannot-access/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/emergency-cannot-access-admin/#post-3028167)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
