Title: Parse error: syntax error
Last modified: August 19, 2016

---

# Parse error: syntax error

 *  [pbaker84](https://wordpress.org/support/users/pbaker84/)
 * (@pbaker84)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/)
 * Ok, so I was trying to modify a function when I accidently destroyed a part of
   the code. Now it won’ t let me change it at all and I have tried to connect via
   FTP and it passes the user name test, however, it shows this up after failing
   my password…
 * Response: 530 Login authentication failed
    Error: Critical error Error: Could
   not connect to server
 * How do I connect back to my website and fix my error? Please help. By the I checked
   practically 100 times that my password is correct, so I know for a fact I entered
   it correctly.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037165)
 * Try switching to the Twenty Ten theme by renaming your current theme’s folder
   in wp-content/themes using [FTP](http://codex.wordpress.org/FTP_Clients) or whatever
   file management application your host provides.
 *  Thread Starter [pbaker84](https://wordpress.org/support/users/pbaker84/)
 * (@pbaker84)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037248)
 * One quick question. Lets says I want to login in to my wp-admin and I don’ t 
   have this problem, let’ s assume my user name is **user1** and let’ s say my 
   password is **pass1** for my hypothetical wp-admin. Now I accidentally destroyed
   the code on my website and I get a syntax error and it won’ t let me get to anywhere
   on my website to correct what I have done. So naturally I try to connect via 
   FTP and enter the correct url and it asks me for a username and password. Would
   I enter in **user1** and **pass1** for the username and password to access my
   site via FTP and correct my mistake?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037249)
 * You cannot connect login to your WP site using FTP. See:
    [http://codex.wordpress.org/Login_Trouble](http://codex.wordpress.org/Login_Trouble)
   [http://codex.wordpress.org/Resetting_Your_Password](http://codex.wordpress.org/Resetting_Your_Password)
   Video: [http://www.francescolanza.com/2007/10/24/password-admin-reset/](http://www.francescolanza.com/2007/10/24/password-admin-reset/)
 *  Thread Starter [pbaker84](https://wordpress.org/support/users/pbaker84/)
 * (@pbaker84)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037250)
 * I am afraid you don’ t understand, let me take it from the top again. So a few
   days ago I went into the live editor in WordPress. I then changed something on
   accident and it didn’ t like it, so now when I try to get to anything involved
   with my website I get these message.
 * Parse error: syntax error, unexpected ‘/’ in /home2/xxxxxx/xxxxxx/xxxxxx/xxxxxx/
   themes/fortitude-wp/functions.php on line 17 ( I “x” to keep things private, 
   if you know what I mean 😉 )
 * It won’ t even let me access in to my WordPress to fix it, so after that I experienced
   a panic attack. I am still in a state of panic and need someone’ s help. I googled
   my problem and someone said to access via FTP, but I don’ t know how to access
   via FTP. Please help, until I get my site back up and running I’ ll be in a featle
   postion in a dark corner of my bedroom :|.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037251)
 * Re-upload a fresh copy of your theme’s functions.php file to wp-content/themes/
   fortitude-wp using FTP.
 *  Thread Starter [pbaker84](https://wordpress.org/support/users/pbaker84/)
 * (@pbaker84)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037252)
 * LOL. How do I access via FTP please help me!!!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037253)
 * [http://codex.wordpress.org/FTP_Clients](http://codex.wordpress.org/FTP_Clients)
   
   Or use whatever file management application your host provides.
 *  Thread Starter [pbaker84](https://wordpress.org/support/users/pbaker84/)
 * (@pbaker84)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037254)
 * If I contact my host will they provide me with the necessary information?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037255)
 * Yes – they should do.

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

The topic ‘Parse error: syntax error’ is closed to new replies.

## Tags

 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/parse-error-syntax-error-28/#post-2037255)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
