Title: Site empty after parse error
Last modified: August 21, 2016

---

# Site empty after parse error

 *  [fed1972](https://wordpress.org/support/users/fed1972/)
 * (@fed1972)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/site-empty-after-parse-error/)
 * Hi, after manually editing of my functions.php my site is inaccessible (parse
   error:syntax error). I wanted to restore the original file via ftp, but the root
   is now completely empy. Did it cancelled all the files? Is it possible? How can
   i fix it?
    Thanks in advance

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/site-empty-after-parse-error/#post-4514343)
 * Parse errors:
 * Syntax Error
 * A syntax error means that you have made a mistake while creating your PHP structure.
   You could, for example, be;
    ■ Missing a ; at the end of an individual line. 
   ■ Using curly quotation marks. ■ Missing a curly bracket.
 * When this error appears it will tell you which file the error appears in (functions.
   php for example) and approximately which line (it may not always be the exact
   line so be sure to check just before and just after) in the code.
 * also make sure there is no whitespace at the begining or end of the file.
 *  Thread Starter [fed1972](https://wordpress.org/support/users/fed1972/)
 * (@fed1972)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/site-empty-after-parse-error/#post-4514344)
 * Thank you so much Tara,
    but the main problem is not the parse error in itself,
   i know where is the mistake and how to fix or restore it. My problem is that 
   now site is inaccessible via wp admin and via ftp the main root seems to be completely
   empty. The are no files. No one. This is strange! I guess/fear i will have to
   reinstall wp, but i don’t know if i have to do something else before or if it’s
   happened to anyone else.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/site-empty-after-parse-error/#post-4514347)
 * > the main root seems to be completely empty.
 * You mean no WP files on the server? If they are not there, its possible they 
   go deleted.
    If you are on a remote server, ask your webhost as to what happened
   to the WP files in the root.
 * If you cant find WP files in the root, you may have to reupload them Read the
   [Manually](http://codex.wordpress.org/Updating_WordPress#Manual_Update)
 *  Thread Starter [fed1972](https://wordpress.org/support/users/fed1972/)
 * (@fed1972)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/site-empty-after-parse-error/#post-4514353)
 * yeah, i mean WP files (like any other non wp file). The root is completely empty.
   No html, php, css, img files. It’s very strange. If i upload a single image via
   ftp, the relative url gives the parse error message; so i guess that if i put
   new WP this won’t solve the problem.
    I will try to ask my web host, but i fear
   it has no technical support. Thanks again.

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

The topic ‘Site empty after parse error’ is closed to new replies.

## Tags

 * [empty](https://wordpress.org/support/topic-tag/empty/)
 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [inaccessible](https://wordpress.org/support/topic-tag/inaccessible/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [fed1972](https://wordpress.org/support/users/fed1972/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/site-empty-after-parse-error/#post-4514353)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
