Title: T_STRING error in feed.php
Last modified: August 19, 2016

---

# T_STRING error in feed.php

 *  Resolved [toddhayen](https://wordpress.org/support/users/toddhayen/)
 * (@toddhayen)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/t_string-error-in-feedphp/)
 * I am installing WP for the first time and when I go to /install.php I get this
   error:
 * Parse error: syntax error, unexpected T_STRING in /home/content/t/o/d/toddsqueen/
   html/wordpress/wp-includes/feed.php on line 417
 * How can there be a Parse error in a php code that I did not alter at all? (/feed.
   php). I have only altered the wp-config.php file. What is wrong here? Thanks…

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/t_string-error-in-feedphp/#post-1384270)
 * Try re-uploading the wp-includes folder from a **fresh** download of WordPress.
 *  Thread Starter [toddhayen](https://wordpress.org/support/users/toddhayen/)
 * (@toddhayen)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/t_string-error-in-feedphp/#post-1384287)
 * Darn…I already did that. I am using the latest version, 2.9.1. Anything else 
   to try?
 *  Thread Starter [toddhayen](https://wordpress.org/support/users/toddhayen/)
 * (@toddhayen)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/t_string-error-in-feedphp/#post-1384313)
 * Here is the line in feed.php it says has the syntax error:
 * echo apply_filters(‘atom_enclosure’, ‘<link href=”‘%20.%20trim(htmlspecialchars(
   $enclosure%5b0%5d))%20.%20′” rel=”enclosure” length=”‘ . trim($enclosure[1]) .‘”
   type=”‘ . trim($enclosure[2]) . ‘” />’ . “\n”);
 *  Thread Starter [toddhayen](https://wordpress.org/support/users/toddhayen/)
 * (@toddhayen)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/t_string-error-in-feedphp/#post-1384326)
 * Wow…I fixed it. Apparently GoLive changed href addresses if you drag files into
   the GoLive window. I didn’t know this…and it added some odd address based on 
   the desktop folder I had unpacked the WordPress files in. I should have known
   this but didn’t. I need to switch to Dreamweaver…does anyone still use GoLive??
   Thanks and sorry to take up the forum’s time…

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

The topic ‘T_STRING error in feed.php’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 2 participants
 * Last reply from: [toddhayen](https://wordpress.org/support/users/toddhayen/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/t_string-error-in-feedphp/#post-1384326)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
