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

Home » FUDforum Development » Bug Reports » 3.0.1 XML Integration
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
3.0.1 XML Integration [message #162249] Fri, 16 April 2010 12:37 Go to next message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
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 15:01 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
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 15:36 Go to previous message
jm2morri is currently offline  jm2morri   Canada
Messages: 225
Registered: January 2009
Location: Stratford, Ontario, Canad...
Karma: 0
Senior Member
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.
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Sat May 18 18:09:45 GMT 2024

Total time taken to generate the page: 0.02354 seconds