• Register
Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Error in RSS

+1 vote
106 views

 

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.
asked Dec 28, 2010 in Q2A Core by andre.ortega

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.

answered Dec 29, 2010 by gidgreen
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.
...