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

---

# Parse error: syntax error

 *  [letitbe](https://wordpress.org/support/users/letitbe/)
 * (@letitbe)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-1/)
 * hi guys.
    first of all ive got to say that im not a professional php or wordpress
   user. i havent done any expirience with php boefore therefore im asking for help
   here, even my problem is simple.
 * im using the [rio theme](http://www.amypink.com/downloads/rio-theme-wordpress-theme/)
   
   after uploading everything looked fine first but when i tried to press the ‘comments’
   button an error message at the bottom of the page appeared:
 * >  Parse error: syntax error, unexpected ‘}’ in /directory/wordpress/wp-content/
   > themes/rio/comments.php on line 1
 * here are the forst lines of the comments.php page:
 * >  <?php // Do not delete these linesif (‘comments.php’ == basename($_SERVER[‘
   > SCRIPT_FILENAME’]))die (‘Bitte diese Seite nicht direkt laden. Danke!’);if (!
   > empty($post->post_password)) { // if there’s a passwordif ($_COOKIE[‘wp-postpass_’.
   > COOKIEHASH] != $post->post_password) { // and it doesn’t match the cookie?>
   > <p class=”nocomments”><?php _e(“Dieser Beitrag ist Passwort geschützt. Um ihn
   > anzusehen gib bitte das Passwort ein:”); ?><p><?php return; } }/* This variable
   > is for alternating comment background */$oddcomment = ‘even’;?><div id=”watertownStrip”
   > ><div class=”responses”><?php if ($comments) : ?><
 * im sorry the makers of this theme didnt seem to care much about the structure,
   it looks quite chaotic.
    i hope youll be able to help me anyhow.
 * thanks
 * leo

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [letitbe](https://wordpress.org/support/users/letitbe/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
