Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by


Hi, my Q2A (version 1.3) site is showing a error in feed RSS.

Only one top level element is allowed in an XML document.
 Line: 188 Character: 8

</rss><script type="text/javascript">

What can be that?
Thanks for all.

1 Answer

0 votes
Best answer

You seem to have added some kind of Javascript that appears at the end of all requests, including your RSS feed. If you did this by manually editing the core PHP files, you should put it at the end of qa-page.php instead of qa-index.php.

I inserted a php code in index.php for Google Analytics.
The Analytics was working fine...
Now I putted in qa-page.php and I hope that Analytics still working.

Thanks Gidgreen.