as you can see from his post, I dont think that was the problem...
I have tried both with UTF-8 and ISO-8859-1 and both give the same result...
XML Parsing Error: syntax error
Location: http://exelsior.sweden/modules/newbb/rss.php
Line Number 1, Column 16:
xml version="" encoding=""?>
---------------^
So it actually points to the xml version being empty, not the encoding.
with UTF-8 enabled and not, it gives the exact same fault...
in the template one can read
xml version="<{$rss.xml_version}>"
encoding="<{$rss.xml_encoding}>"?>
and in the code rss.php in the module...
if (!$tpl->is_cached('db:newbb_rss.html')) {
$rss = &newbb_buildrss();
$tpl->assign('rss', $rss);
}
so it seems those variables are not provided to the template from the newbb_buildrss function for some reason...
looking deeper I see that the include/functions.php DOES provide these variables, but I cant see that the templates gets them, perhaps it goes through the xml parser before the template is filled? Changing the template to try to get it to debug only gives other errors from the xml parser so it seems the parser processes the template in some manner...
Oh, BTW, freshly installed 2.0.9.2 with the newBB replaced with newBB2.0.1 and the patch for it.
System base is
# php -v
PHP 4.3.5RC2 (cli) (built: Feb 16 2004 17:41:53)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
#/usr/local/mysql/bin/mysqladmin
/usr/local/mysql/bin/mysqladmin Ver 8.40 Distrib 4.0.17, for sun-solaris2.9 on sparc