I just installed Joomlacomment 3.26 on my site, and the only changes I made were to the css to give it a dark background, and the language to change the text on the Send button to Submit.
When I tried to test it I keep getting a popup with an error about an "Invalid xml declaration."
Here's what the popup says:
error is line 3 position 3 >>ml version="1.0" standalone="yes"?><post><id>5</id><after>-1</after><published>1</published><noerror><debug></debug><body><![CDATA[
Looked around and found the code in comment.class.php starting on line 1223
$xml = '<?xml version="1.0" standalone="yes"?>';
$xml .= '<post>';
$xml .= '<id>' . $item['id'] . '</id>';
if ($this->_tree && isset($item['after'])) $xml .= '<after>' . $item['after'] . '</after>';
$xml .= '<published>' . $item['view'] . '</published>';
$xml .= '<noerror>' . $item['noerror'] . '</noerror>';
$xml .= '<debug>' . $item['debug'] . '</debug>';
if ($item['view']) {
$html = JOSC_utils::cdata(JOSC_utils::filter($this->encodeData_Charset($this->insertPost($item, ''))));
$xml .= "<body>$html</body>";
I just can't figure out where the error is. Can anyone possibly give me a hand on this one please.