• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed RSS feed renders error

#1
Hello,

when trying to access a RSS feed for a subforum on our XF1.1b testbed I get the following error:
An unexpected error occurred. Please try again later.
Looking at the server log I see the following:

Invalid parameter: parameter must be a non-empty string and valid URI/IRI 2 minutes ago - library/Zend/Feed/Writer/Feed/FeedAbstract.php:406
Server Error Log
Error Info
Zend_Feed_Exception: Invalid parameter: parameter must be a non-empty string and valid URI/IRI - library/Zend/Feed/Writer/Feed/FeedAbstract.php:406
Generated By: Unknown Account, A moment ago
Stack Trace

#0 /library/XenForo/ViewPublic/Forum/View.php(32): Zend_Feed_Writer_Feed_FeedAbstract->setLink('//mcseboard....')
#1 /library/XenForo/ViewRenderer/Abstract.php(215): XenForo_ViewPublic_Forum_View->renderRss()
#2 /library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Rss', Array, 'forum_view')
#3 /library/XenForo/FrontController.php(533): XenForo_ViewRenderer_Rss->renderView('XenForo_ViewPub...', Array, 'forum_view', NULL)
#4 /library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#5 /index.php(13): XenForo_FrontController->run()
#6 {main}

Request State

array(3) {
["url"] => string(74) "/windows-forum-–-clients.40/index.rss"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Any hints?

Thanks
 
#2
Just upgraded to XF1.1b3

The message stating "An unexpected error occurred. Please try again later" disappeared.

Now I get the following errors when trying to access a feed url:
An exception occurred: Invalid parameter: parameter must be a non-empty string and valid URI/IRI in /library/Zend/Feed/Writer/Feed/FeedAbstract.php on line 406

Zend_Feed_Writer_Feed_FeedAbstract->setLink() in XenForo/ViewPublic/Forum/View.php at line 32
XenForo_ViewPublic_Forum_View->renderRss() in XenForo/ViewRenderer/Abstract.php at line 215
XenForo_ViewRenderer_Abstract->renderViewObject() in XenForo/ViewRenderer/Rss.php at line 31
XenForo_ViewRenderer_Rss->renderView() in XenForo/FrontController.php at line 533
XenForo_FrontController->renderView() in XenForo/FrontController.php at line 156
XenForo_FrontController->run() in /kunden/winmcse.de/webseiten/mcseboard_xf/index.php at line 13
Looking at the server log I see the following
Server Error Log
Error Info
Zend_Feed_Exception: Invalid parameter: parameter must be a non-empty string and valid URI/IRI - library/Zend/Feed/Writer/Feed/FeedAbstract.php:406
Generated By: BoardAdmin, 2 minutes ago
Stack Trace

#0 /library/XenForo/ViewPublic/Forum/GlobalRss.php(17): Zend_Feed_Writer_Feed_FeedAbstract->setLink('//mcseboard....')
#1 /library/XenForo/ViewRenderer/Abstract.php(215): XenForo_ViewPublic_Forum_GlobalRss->renderRss()
#2 /library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Rss', Array, '')
#3 /library/XenForo/FrontController.php(533): XenForo_ViewRenderer_Rss->renderView('XenForo_ViewPub...', Array, '', NULL)
#4 /library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#5 /index.php(13): XenForo_FrontController->run()
#6 {main}

Request State

array(3) {
["url"] => string(41) "http://xf.mcseboard.de/forums/-/index.rss"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
 

Mike

XenForo developer
Staff member
#3
Just to note, this only happens if you enter in a URL like "//xenforo.com" in the board URL. I wouldn't recommend that. I'm unsure if we can workaround this error reasonably yet.
 

Mike

XenForo developer
Staff member
#5
Actually, fairly easy to workaround, so fixed. :)

Though I still wouldn't recommend setting the board URL to that.