FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Register ?????Profile? ????Log in
?Error occurred while processing - View next topic
View previous topic
Post new topicReply to topic
Author Message
whighfill



Joined: 14 Apr 2015
Posts: 3

PostPosted: Tue Apr 14, 2015 10:08 am Reply with quoteBack to top

I've been reading the forum and documentation to try to solve this, but to no avail. I am attempting, like many before me, to display an rss feed in a webpage. However, what shows up is "[an error occurred while processing this directive]".

The webpage I am trying to do this in is

highfillcustomwoodworks.com/blog.html

My server is Apache and I have added a handler to allow SSI on html.

The blog.html page calls blogfeed.php with



I have uploaded blogfeed.php and FeedForAll_XMLParser.inc.php to the same directory as blog.html and replaced the following bits of code from the template:

$XMLfilename = 'http://weshighfill.blogspot.com/feeds/posts/default?alt=rss'

$TEMPLATEfilename = 'http://highfillcustomwoodworks.com/Templates/rss2html-template.html'

$limitItemDescriptionLength = 150

I have uploaded rss2html-template.html to the Templates directory.

Any help is greatly appreciated.
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2688

PostPosted: Tue Apr 14, 2015 10:20 am Reply with quoteBack to top

I think the issue is that you've included "/public_html/" as part of the URL you're referencing in the include.

When I bring up the direct PHP file (http://highfillcustomwoodworks.com/blogfeed.php), I don't receive an error and it displays the content appropriately.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
whighfill



Joined: 14 Apr 2015
Posts: 3

PostPosted: Tue Apr 14, 2015 10:28 am Reply with quoteBack to top

Thanks for the fast response! Yes, when I go to the blogfeed.php, it works.

I tried removing the /public_html/, and I get the same result. I note that in the source code of blog.html, my SSI statement is not there. Line 66. This sounds like it is not something to do with RSS2HTML, which appears to be working fine (given how blogfeed.php works). It seems it's something more to do with the SSI code. I guess that's what I need to research...?
View user's profile
whighfill



Joined: 14 Apr 2015
Posts: 3

PostPosted: Tue Apr 14, 2015 10:38 am Reply with quoteBack to top

Never mind, got it to work! I replaced this code



with this:



I swear I had that in earlier and it wasn't working, but it's working now! Thanks!
View user's profile
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme