| Anonymous | Login | Signup for a new account | 2010-07-29 10:16 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories |
| View Issue Details [ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0010352 | mantisbt | rss | public | 2009-04-21 10:33 | 2010-06-08 14:08 | ||||||
| Reporter | matejp | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||
| Status | feedback | Resolution | open | ||||||||
| Platform | IIS6 + SQL Server 2008 | OS | Windows Server 2003 R2 standard | OS Version | |||||||
| Product Version | 1.1.6 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0010352: RSS feed - XML Parsing Error | ||||||||||
| Description | When i try to display RSS feed for all issues (view issues link) in FF or IE7 i've recieve this: XML Parsing Error: XML or text declaration not at start of entity Location: http://silj1pfs01/mantis/issues_rss.php?username=xxxxx&key=a9a1ea6c26cca7bdf1dd270f159cac8d [^] Line Number 3, Column 1:<?xml version="1.0" encoding="utf-8"?> | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
vboctor (administrator) 2009-07-04 04:48 |
I'm not able to reproduce on this bug tracker. There is two options: 1. It is specific to the contents of one of the issues included in the RSS, i.e. not escaped correctly. 2. It is an issue that has been fixed. Please provide more details. |
|
matejp (reporter) 2009-07-07 08:23 |
I installed Mantis on Microsoft Server 2003 with SQL Server 2008. I did some customization (only to install Mantis in SQL server). When i clicked on RSS icon, i've recieved this error. I've also tried with another mantis database for testing purposes. Internet Explorer 8 returns: "Invalid xml declaration. Line: 3 Character: 3 <?xml version="1.0" encoding="utf-8"?> " Firefox 3.5 returns: "XML Parsing Error: XML or text declaration not at start of entity Location: http://silj1pfs01/mantis/issues_rss.php?username=xxxxx&key=a9a1ea6c26cca7bdf1dd270f159cac8d&project_id=4 [^] Line Number 3, Column 1:" Maybe is something wrong with function which creates RSS feeds i dont know. I can check if you tell me where to look for this function or tell me which functions are responsibile for RSS feeds. |
|
grangeway (developer) 2009-07-08 18:17 |
Whats this file look like in notepad? Paul |
|
matejp (reporter) 2009-07-13 07:19 |
I've uploaded "issues_rss.php" i am using. |
|
ctimmer (reporter) 2009-08-14 11:48 |
This problem is caused by a blank line (CRLF) in FRONT of the XML text. Curt |
|
ecasarero (reporter) 2010-06-08 14:08 |
I had the same problem. I solved it by adding "php" to the open tag in config_local.php original: config_local.php <? #Comment ?> modified: config_local.php <?php #Comment ?> The problem was with php config "short open tag" by default is disable and apache did not process this file as php, just dumped the content to the xml breaking it. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-04-21 10:33 | matejp | New Issue | |
| 2009-07-04 04:48 | vboctor | Note Added: 0022382 | |
| 2009-07-04 04:48 | vboctor | Status | new => feedback |
| 2009-07-07 08:23 | matejp | Note Added: 0022435 | |
| 2009-07-08 18:17 | grangeway | Note Added: 0022453 | |
| 2009-07-13 07:19 | matejp | Note Added: 0022487 | |
| 2009-07-13 07:20 | matejp | File Added: issues_rss.php | |
| 2009-08-14 11:48 | ctimmer | Note Added: 0022733 | |
| 2009-08-17 13:23 | ctimmer | Issue Monitored: ctimmer | |
| 2010-06-08 14:08 | ecasarero | Note Added: 0025763 | |
| MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.2360 seconds. memory usage: 1,958 KB |