Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Porting Mod: Forum Integrated News Delivery ( Help Needed) 
 
Hi all.

Trying to port this mod to 1.3, i became stuck nearly at the end.

Got everything right , to the time it comes to post the input in the forum,

 post_rss_problem

first picture is just to show you the text, that should be included, it is from an earlier test.

Now i got this

 post_rss_problem_1

it even turns up in the database POST_TABLE, but the message itself is null.

 database_test_1256325739_950270

Maybe some can have a look at my script and give me a clou.

forum integrated news delivery.rar
Description:  
Download
Filename: forum integrated news delivery.rar
Filesize: 70.69 KB
Downloaded: 268 Time(s)

 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Porting Mod: Forum Integrated News Delivery ( Help Needed) 
 
Open includes/find_rssParser.php
find
Code: [Download] [Hide]
  1. xml_set_object($this->_xml_parser, &$this); 

replace with
Code: [Download] [Hide]
  1. xml_set_object($this->_xml_parser, $this); 

 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Porting Mod: Forum Integrated News Delivery ( Help Needed) 
 
thank´s Informpro.

That sorted one problem.

Now the second one:

It´s still posting blanc. and it got valid feed´s

Spoiler: [ Show ]


I don´t know, why the hell it does´nt process the items.


Edit.

I think the problem is in find_functionsInsertpost.php

in the way it publicates into POST_TABLE
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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, find_config.php

// Enable debug information.
$FIND_DEBUG = true;


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', 'John Foxx to release live album \'In The Glow\' 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... [link] [link]   Mon, 12 Oct 2009 21:00:00 PDT Side-Line news feed Daily news on electro, gothic, industrial, synthpop, gothicmetal, noise and endzeit music')

Line : 143
File : find_functionsInsertPost.php

 untitled_2yyyyy

     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

error.rar
Description: errors 
Download
Filename: error.rar
Filesize: 6.68 KB
Downloaded: 261 Time(s)

 



 
darkasylumSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Porting Mod: Forum Integrated News Delivery ( Help Needed) 
 
Got nothing to do with the Fopen i think. Cause the message is there.

The error is in the syntax, the mod tries to input in the DB.

I´ve checked that, trying to input the consult that apears in the error message directly into the DB.

It has something to do with the post title information.


Any clou? any idea?

Someone?


Edit:

DarkAsylum: could you post your changed files here please. to test it on my local
 




____________
Out of Order
 
spydieSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Porting Mod: Forum Integrated News Delivery ( Help Needed) 
 
hi,

back work at wok to day, the only file changes i made were

find_config.php

// Some hosting services block fopen() and the ini_set() can't clear it.
// If your PHP installation supports CURL then set this variable to "true";
$USE_CURL = true;

// Enable debug information.
$FIND_DEBUG = true;


Question are you getting the subject title posted?, or just blank!.
http://dark-asylum.co.uk/forum/viewtopic.php?f=37&t=28355

this is the only thing that posted.

i will have time to play with this to day and will report back  !

Mighty Gorgon or any one else got any ideas?
 



 
darkasylumSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Porting Mod: Forum Integrated News Delivery ( Help Needed) 
 
darkasylum wrote: [View Post]
Mighty Gorgon or any one else got any ideas?

Sorry, but I'm a bit overloaded... I really do not have time for testing this now.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Porting Mod: Forum Integrated News Delivery ( Help Needed) 
 
http://www.icyphoenix.com/viewtopic...&p=53511#p53511
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron