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

Home » FUDforum Development » Bug Reports » xmlagg.php error when executing
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
xmlagg.php error when executing [message #160445] Mon, 14 September 2009 12:53 Go to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
X-Powered-By: PHP/5.2.10
Content-type: text/html

Fetching XML data from http://ohiodnr.com/home_page/NewsReleases/tabid/18276/rssid/1/Default.aspx
<br />
<b>Warning</b>: DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: URL file-access is disabled in the server configuration in <b>/homepages/35/d196178364/htdocs/huntfud/scripts/xmlagg.php</b> on line <b>80</b><br />
<br />
<b>Warning</b>: DOMDocument::load(http://ohiodnr.com/home_page/NewsReleases/tabid/18276/rssid/1/Default.aspx) [<a href='domdocument.load'>domdocument.load</a>]: failed to open stream: no suitable wrapper could be found in <b>/homepages/35/d196178364/htdocs/huntfud/scripts/xmlagg.php</b> on line <b>80</b><br />
<br />
<b>Warning</b>: DOMDocument::load() [<a href='domdocument.load'>domdocument.load</a>]: I/O warning : failed to load external entity &quot; http://ohiodnr.com/home_page/NewsReleases/tabid/18276/rssid/1/Default.aspx& amp;quot; in <b>/homepages/35/d196178364/htdocs/huntfud/scripts/xmlagg.php</b> on line <b>80</b><br />
Done!(uiserver):u44263550:/homepages/35/d196178364/htdocs/huntfud/scripts >

[Updated on: Mon, 14 September 2009 13:36]

Report message to a moderator

Re: xmlagg.php error when executing [message #160449 is a reply to message #160445] Mon, 14 September 2009 13:46 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
the above error is when i run it from the server command line. when i run the job on the forum nothing happens and the forum does not get populated with any data
Re: xmlagg.php error when executing [message #160451 is a reply to message #160445] Mon, 14 September 2009 14:54 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
I was able to load it. Output:
Output of file /home/xxx/lamp/apache2/htdocs/forum/scripts/xmlagg_1.log:

Fetching XML data from http://ohiodnr.com/home_page/NewsReleases/tabid/18276/rssid/1/Default.aspx
Loading article: Deer-Archery Season Opens Statewide September 26 (beth(dot)ruth(at)dnr(dot)state(dot)oh(dot)us)
Loading article: ODNR to Present Program on Monarch Butterflies (heidi(dot)evans(at)dnr(dot)state(dot)oh(dot)us)
Loading article: Lake Erie Coastal Management Assistance Grants Available (heidi(dot)evans(at)dnr(dot)state(dot)oh(dot)us)
Loading article: Photo Competition Yields Winning Image for New Ohio Wildlife Legacy Stamp (beth(dot)ruth(at)dnr(dot)state(dot)oh(dot)us)
Loading article: Many Factors at Play When Forecasting "Quality" of Fall Color (beth(dot)ruth(at)dnr(dot)state(dot)oh(dot)us)
Loading article: Spectacular Fall Foliage Expected Statewide (drew(dot)todd(at)dnr(dot)state(dot)oh(dot)us)
Loading article: Coastweeks Clean-Ups Improve Waterway Health, Beautify Erie Shore (beth(dot)ruth(at)dnr(dot)state(dot)oh(dot)us)
Done!


littleking wrote on Mon, 14 September 2009 18:53
URL file-access is disabled in the server configuration


Looks like something you need to enable.
Re: xmlagg.php error when executing [message #160452 is a reply to message #160451] Mon, 14 September 2009 14:59 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
Please set allow_url_fopen to ON in php.ini and re-test.
Re: xmlagg.php error when executing [message #160453 is a reply to message #160451] Mon, 14 September 2009 15:04 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
got it... how can i get it to put the permalink into the post it makes?
Re: xmlagg.php error when executing [message #160456 is a reply to message #160453] Mon, 14 September 2009 15:21 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
Let me know what you have in mind (a detailed mock-up/ description will help).
Re: xmlagg.php error when executing [message #160457 is a reply to message #160456] Mon, 14 September 2009 15:23 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
if you look at the feed (http://ohiodnr.com/home_page/NewsReleases/tabid/18276/rssid/1/Default.aspx)

each article has a link to click on to read the whole entire article.... i would like to add that to the end of the post.

example:

<item>
−
<title>
Coastweeks Clean-Ups Improve Waterway Health, Beautify Erie Shore
</title>
−
<description>
09/14/09 Ohioans are observing the 2009 Coastweeks with participation in shoreline clean-ups that promote waterway health and improve natural beauty.
</description>
−
<link>
http://ohiodnr.com/home_page/NewsReleases/tabid/18276/EntryID/1301/Default.aspx
</link>
<author>beth(dot)ruth(at)dnr(dot)state(dot)oh(dot)us</author>
−
<guid isPermaLink="true">
http://ohiodnr.com/Default.aspx?tabid=18276&EntryID=1301
</guid>
<pubDate>Mon, 14 Sep 2009 05:00:00 GMT</pubDate>
−
<trackback:ping>
http://ohiodnr.com/DesktopModules/Blog/Trackback.aspx?id=1301
</trackback:ping>
</item>


the article gets created, and its called:
Coastweeks Clean-Ups Improve Waterway Health, Beautify Erie Shore

and the body of the post contains:
09/14/09 Ohioans are observing the 2009 Coastweeks with participation in shoreline clean-ups that promote waterway health and improve natural beauty.

in the body, can we add "Link to original article:"(contents of <link> above)

does that make better sense?

[Updated on: Mon, 14 September 2009 15:26]

Report message to a moderator

Re: xmlagg.php error when executing [message #160473 is a reply to message #160457] Wed, 16 September 2009 02: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
Feature was committed to CVS.
Re: xmlagg.php error when executing [message #160475 is a reply to message #160473] Wed, 16 September 2009 13:20 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
can you post the patch here
Re: xmlagg.php error when executing [message #160477 is a reply to message #160475] Wed, 16 September 2009 16:20 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
Unfortunately not, CVSTrac doesn't show any of the newly added files. You will have to check out the source from CVS or wait for the final release.
Re: xmlagg.php error when executing [message #161030 is a reply to message #160477] Tue, 10 November 2009 19:52 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
so is there any way to add this?
Re: xmlagg.php error when executing [message #161032 is a reply to message #161030] Wed, 11 November 2009 01:28 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
This feature is part of the final 3.0.0 release.

PS: The repository was migrated to SVN on SourceForge. We won't have any further problems with CVSTrac.
Re: xmlagg.php error when executing [message #161267 is a reply to message #161032] Sun, 29 November 2009 17:43 Go to previous messageGo to next message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
im running version 3 now, how do i enable this?
Re: xmlagg.php error when executing [message #161272 is a reply to message #161267] Sun, 29 November 2009 21:10 Go to previous 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
RTFM @ XML Aggregation.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: RDF Feed Author Field is Blank Sometimes
Next Topic: cannot upgrade from RC1 to release
Goto Forum:
  

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

Current Time: Sun Oct 22 22:40:20 EDT 2017

Total time taken to generate the page: 0.00820 seconds