Title: Looking for help -Parse error: syntax error, unexpected T_STRING, expecting
Last modified: August 20, 2016

---

# Looking for help -Parse error: syntax error, unexpected T_STRING, expecting

 *  Resolved [daimonx](https://wordpress.org/support/users/daimonx/)
 * (@daimonx)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/looking-for-help-parse-error-syntax-error-unexpected-t_string-expecting/)
 * I was trying to move my wordpress site to a new domain and server. everything
   went wrong. Tried to fix it went worse. Now my base site doesn’t work. Saying:
 * Parse error: syntax error, unexpected T_STRING, expecting ‘)’ in D:\www\territorium.
   eu\www\wp-includes\functions.php on line 2175
 * this is what’s there:
 *     ```
       $uploads = apply_filters( 'upload_dir', array( 'path' => $dir, 'url' => $url, 'subdir' => $subdir, 'basedir' => $bdir, 'baseurl' => $burl, 'error' => false ) );
   
       	// Make sure we have an uploads dir
       	if ( ! wp_mkdir_p( $uploads['path'] ) ) {
       		$message = sprintf( __( 'Unable to create directory %s. Is its parent directory writable by the server?' ), $uploads['path'] );
       		return array( 'error' => $message );
       	}
   
       	return $uploads;
       }
       ```
   

Viewing 1 replies (of 1 total)

 *  [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * (@crondeau)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/looking-for-help-parse-error-syntax-error-unexpected-t_string-expecting/#post-2353685)
 * I wouldn’t touch that file as it is part of the WordPress core.
    I would go through
   the installation again and review the steps outlined in the codex.
 * [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)

Viewing 1 replies (of 1 total)

The topic ‘Looking for help -Parse error: syntax error, unexpected T_STRING, expecting’
is closed to new replies.

## Tags

 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Christine Rondeau](https://wordpress.org/support/users/crondeau/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/looking-for-help-parse-error-syntax-error-unexpected-t_string-expecting/#post-2353685)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
