https://www.icyphoenix.com/viewtopic.php?f=26&t=6607&p=45321#p45321
-----------------------------------
darkasylum
Sat 24 Oct, 2009 05:24

Re: Porting Mod: Forum Integrated News Delivery ( Help Needed)
-----------------------------------
it finds my old feeds with no problems. but does not proccess, 

Question des your host support F_OPEN or are you doing this localy? as i had problems last time with F_Open and had set it on the config of the php 

if rember there a debug file, [color=#ff00ff]find_config.php[/color]

[color=#ff0000]// Enable debug information.
$FIND_DEBUG = true;[/color]

i get this error 

rssParser.parse: using fopen to retrieve http://www.synthema.ru/rss.xml
rssParser.parse: Error - fopen failed.
retrieve_rss_content: http://feeds.feedburner.com/Side-lineNewsFeed?format=xml

i not sure if this is same error that you posted? above!


after playing with find_config & find_newsInsert seting fopen safe it seam to process info but did not post any thing 



Error in posting

DEBUG MODE

INSERT INTO bbxs5_posts (post_id, post_subject, bbcode_on, post_text) VALUES (28846, 'John Foxx to release live album \'In The Glow\'', '1', '[size=16][b][url=http://feedproxy.google.com/~r/Side-lineNewsFeed/~3/OEy90gJwppY/news_comments.php]John Foxx to release live album \'In The Glow\'[/b][/size] John Foxx will release a live album, \"In The Glow\", on October 19th. The disc features concerts recorded in 1983 when he was touring his \"The Golden Section\" album. The 2-CD package will feature... [url=http://feedads.g.doubleclick.net/~a/Pf3A5jXzNg27u4XRBieYXJwFQws/0/da] [link]  [url=http://feedads.g.doubleclick.net/~a/Pf3A5jXzNg27u4XRBieYXJwFQws/1/da] [link]  [b][/b] Mon, 12 Oct 2009 21:00:00 PDT [url=http://feedproxy.google.com/~r/Side-lineNewsFeed/~3/OEy90gJwppY/news_comments.php][i][/i] [b][/b][url=http://www.side-line.com]Side-Line news feed [b][/b][size=10]Daily news on electro, gothic, industrial, synthpop, gothicmetal, noise and endzeit music[/size]')

Line : 143
File : find_functionsInsertPost.php

 [img]http://www.icyphoenix.com/files/images/1550/untitled_2yyyyy.png[/img]

     Re: Forum Integrated News Delivery Fopen   
looks like my host have closed fopen on there servers ! is there any way around this? 
or can give me host that does ? 

see there reply below! 

I checked your issue in detail. In our server allow_url_fopen is disabled. If enabled, allow_url_fopen allows PHP's file functions such as file_get_contents() and the include and require statements can retrieve data from remote locations, like an FTP or web site. Programmers frequently forget this and don't do proper input filtering when passing user-provided data to these functions, opening them up to code injection vulnerabilities. A large number of code injection vulnerabilities reported in PHP-based web applications are caused by the combination of enabling allow_url_fopen and bad input filtering. 


This is the reason why rss feed is not included. Many developers include files by pointing to a remote URL, even if the file is within the local system. For example: 

php include("http://example.com/includes/example_include.php"); 

With allow_url_fopen disabled, this method will not work. Instead, the file must be included with a local path, and there are three methods of doing this: 

1. By using a relative path, such as ../includes/example_include.php. 
2. By using an absolute path (also known as relative-from-root), such as /home/username/example.com/includes/example_include.php. 
3. By using the PHP environment variable $_SERVER['DOCUMENT_ROOT'], which returns the absolute path to the web root directory. This is by far the best (and most portable) solution. The example that follows shows the environment variable in action: 

If you have any issues or queries, please feel free to contact us.




UPDATED
http://dark-asylum.co.uk/forum/viewtopic.php?p=28846#p28846

looks like it did post sumthing just the head of the post!
UPDATED
http://dark-asylum.co.uk/forum/viewtopic.php?p=28846#p28846


