UseBB Community

UseBB support, discussion and development

Fatal error with rss.xml.

Moderators: Gaia.

Post Reply

Page: 1

Author Post
Member
Registered: Mar 2010
Posts: 26
When opening the rss.xml of certain topic in my forum with IE8, I get the error message:
Quote
Fatal error: Call to undefined function named_entities_to_numeric() in ....../bbs/rss.php on line 205

And my forum url is http://cnzhx.net/bbs.
Could anyone give me some help?
« Last edit by Dietrich on Tue Mar 23, 2010 4:15 pm. »
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
That function is defined in sources/functions.php, so something must have gone wrong with the uploaded files. Try to reupload it.

Also, beware of putting script elements in the RSS feed, since <script /> is not really a part of an RSS feed.
Member
Registered: Mar 2010
Posts: 26
Thank you!
I fixed this problem right now by deleting some chars like <code>&nbsp;</code> in one certain post. The RSS Feed works fine in Firefox browser now, but it doesn't work in IE8.
Please open the RSS feed in IE and look at the error message like <script type="text/javascript">.
What's the problem?
_______________
Welcome to my blog: 水景一页
Member
Registered: Mar 2010
Posts: 26
OK, I maybe have found what the problem is.
I put the google analytics code in the template and it has been generated into the rss.xml file in the end-part.
But I don't know how to correct it. Still need some help!

Here is the post maybe most relatively, but I don't know how to escape the single quotes in the code.
_______________
Welcome to my blog: 水景一页
« Last edit by lonelicloud on Thu Mar 25, 2010 3:46 pm. »
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
You escape ' with \, thus resulting in \'.
Member
Registered: Mar 2010
Posts: 26
Thank you,Dietrich! It's fixed!
_______________
Welcome to my blog: 水景一页

Post Reply

Page: 1

UseBB Community is powered by UseBB 1 Forum Software