|
Notes |
|
|
|
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. |
|
|
|
(0022435)
|
|
matejp
|
|
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. |
|
|
|
|
Whats this file look like in notepad?
Paul |
|
|
|
(0022487)
|
|
matejp
|
|
2009-07-13 07:19
|
|
|
I've uploaded "issues_rss.php" i am using. |
|
|
|
|
This problem is caused by a blank line (CRLF) in FRONT of the XML text.
Curt |
|
|
|
|
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. |
|