Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1114 closed defect (bug) (invalid)

wp-rss2.php feed will not validate, XML parsing error, undefined root element

Reported by: anonymousbugger's profile anonymousbugger Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: major Version: 1.5.1
Component: General Keywords:
Focuses: Cc:

Description

Sorry

This feed does not validate.

*

Feeds should not be served with the "text/html" media type [help]

*

line 1, column 0: Undefined root element: br [help]

<br />

*

line 2, column 0: XML parsing error: <unknown>:2:0: junk after document element [help]

<b>Parse error</b>: parse error, unexpected T_IF in <b>/homepages/7/d106361 ...

Source: http://netmix.com/wordpress/wp-rss2.php

  1. <br />
  2. <b>Parse error</b>: parse error, unexpected T_IF in <b>/homepages/7/d106361195/htdocs/netmix_home/wordpress/wp-rss2.php</b> on line <b>2</b><br />

Attachments (1)

wp-rss2.php (2.2 KB) - added by anonymousbugger 18 years ago.

Download all attachments as: .zip

Change History (5)

#1 @anonymousbugger
19 years ago

  • Patch set to No

#2 @ryan
19 years ago

Your wp-rss2.php has bad line endings. It is corrupt. Upload a fresh copy.

#3 @anonymousbugger
19 years ago

Thank you so much. After all this time, I couldn't figure it out. Much appreciated. Thanks!

#4 @ryan
19 years ago

  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 70
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.