FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » 3.0.1 XML Integration
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
3.0.1 XML Integration [message #162249] Fri, 16 April 2010 08:37 Go to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I get the following error on a few different XML feeds that did work fine with 3.0.0


PHP Warning: ksort() expects parameter 1 to be array, null given in /var/data/fudforum_data/scripts/xmlagg.php on line 165
PHP Warning: Invalid argument supplied for foreach() in /var/data/fudforum_data/scripts/xmlagg.php on line 166


It appears the issue is with RSS feeds from Yahoo Pipes when they are empty. Here is an example RSS URL

http://pipes.yahoo.com/pipes/pipe.run?_id=ce52e2596ddc7d0554ba3337464f2bec& amp;_render=rss

Right now it is basically empty and I'm getting this error. I'm guessing that if there was content beyond the header that it would be fine.

James.
Re: 3.0.1 XML Integration [message #162250 is a reply to message #162249] Fri, 16 April 2010 11:01 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Patch available @ https://sourceforge.net/apps/trac/fudforum/changeset/4946
Re: 3.0.1 XML Integration [message #162254 is a reply to message #162250] Fri, 16 April 2010 11:36 Go to previous message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
naudefj wrote on Fri, 16 April 2010 11:01
Patch available @ https://sourceforge.net/apps/trac/fudforum/changeset/4946


That seems to get rid of the error messages just fine.

Thanks for the quick reply--those messages were driving me crazy--one every 5 minutes!

James.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Minimize message icon appears twice?
Next Topic: autolinking should include the () characters
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 16 19:54:31 EDT 2017

Total time taken to generate the page: 0.00512 seconds