FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Register ?????Profile? ????Log in
?I keep getting this error on my web page... View next topic
View previous topic
Post new topicReply to topic
Author Message
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Wed Jan 03, 2007 11:29 pm Reply with quoteBack to top



~~~EndItemsRecord~~~

I'm currently trying to put a rss feed into an already designed webpage by putting the feed into a table. However i keep getting this error when the website is launched.
the error that is displayed in the table where the rss feed should be displayed is this:

"Configuration setting prohibit using the specified template file, exiting"

The website is here (where the error can be viewed): www.broskiefoundation.org/postgame_pub_sample.com

Username is "sportsfan" and the password is "nfl" to view the page. Please note the page is still incomplete. But the code can be found by check that page out.

My template code is this:



~~~BeginItemsRecord~~~



~~~ItemPubShortDate~~~

~~~ItemTitle~~~

~~~ItemDescription~~~



more info






I'm pretty sure i could be missing some code there, amongst other things. i'm quite the newb to RSS. Thanks in Advance.
View user's profileAIM Address
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Wed Jan 03, 2007 11:30 pm Reply with quoteBack to top

oops sorry the link to my page should be www.broskiefoundation.org/postgame_pub_sample

lol, i don't know why i put .com before... i've been working all day and I'm very tired.
View user's profileAIM Address
MacSupport



Joined: 24 Feb 2005
Posts: 2806

PostPosted: Thu Jan 04, 2007 6:11 am Reply with quoteBack to top




~~~EndItemsRecord~~~
broskiedesign wrote:
I'm currently trying to put a rss feed into an already designed webpage by putting the feed into a table. However i keep getting this error when the website is launched.
the error that is displayed in the table where the rss feed should be displayed is this:

"Configuration setting prohibit using the specified template file, exiting"

The website is here (where the error can be viewed): www.broskiefoundation.org/postgame_pub_sample.com

Username is "sportsfan" and the password is "nfl" to view the page. Please note the page is still incomplete. But the code can be found by check that page out.

My template code is this:



~~~BeginItemsRecord~~~



~~~ItemPubShortDate~~~

~~~ItemTitle~~~

~~~ItemDescription~~~



more info






I'm pretty sure i could be missing some code there, amongst other things. i'm quite the newb to RSS. Thanks in Advance.


Near the top of the rss2html.php script is a section that starts with " File access level:" Which describes 3 variables: $fileAccessLevel, $allowedTemplateExtensions and $allowedFeedExtensions. My guess is that the $allowedTemplateExtensions is causing your hangup.

Jim

_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/

FeedForAll Mac and rss2html.php
View user's profileVisit poster's website
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Thu Jan 04, 2007 1:54 pm Reply with quoteBack to top

thanks for the suggestion. I noticed that i had named my template with a .txt extension which isn't allowed. However, I changed it to .html which is in the allowed list but i'm still getting the same exact error.
View user's profileAIM Address
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Thu Jan 04, 2007 1:58 pm Reply with quoteBack to top

I also noticed that I had included the wrong file location for the template in the rss2html.php file, however, i've changed that to the correct one and i'm still recieving the same error.
View user's profileAIM Address
MacSupport



Joined: 24 Feb 2005
Posts: 2806

PostPosted: Thu Jan 04, 2007 2:04 pm Reply with quoteBack to top

broskiedesign wrote:
I also noticed that I had included the wrong file location for the template in the rss2html.php file, however, i've changed that to the correct one and i'm still recieving the same error.


What is the URL for you feed and template?

Jim

_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/

FeedForAll Mac and rss2html.php
View user's profileVisit poster's website
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Thu Jan 04, 2007 2:09 pm Reply with quoteBack to top

the url for the template is this: http://www.broskiefoundation.org/postgame_pub_sample/shizzy.html

the url for the feed is this:
http://feeds.feedburner.com/foxsports/RSS/headlines.xml

This is what my code looks like within the table i'm trying to insert the feed into:







I hope that helps. Thanks again.
View user's profileAIM Address
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Thu Jan 04, 2007 2:15 pm Reply with quoteBack to top

Now i'm recieving the error:

Unable to open template http://www.broskiefoundation.org/postgame_pub_sample/shizzy.html with error Unsupported protocol: http, exiting

i'm about to pull my hair out. lol this is getting pretty frustrating.
View user's profileAIM Address
MacSupport



Joined: 24 Feb 2005
Posts: 2806

PostPosted: Thu Jan 04, 2007 2:16 pm Reply with quoteBack to top

broskiedesign wrote:
the url for the template is this: http://www.broskiefoundation.org/postgame_pub_sample/shizzy.html


That URL requires a username and password. rss2html.php can't provide that. But, all is not lost. Open the file locally:

Code:




Don't know if the real file had the problems, but what you posted had spaces in the URL.

Jim

_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/

FeedForAll Mac and rss2html.php
View user's profileVisit poster's website
MacSupport



Joined: 24 Feb 2005
Posts: 2806

PostPosted: Thu Jan 04, 2007 2:17 pm Reply with quoteBack to top

broskiedesign wrote:
Now i'm recieving the error:

Unable to open template http://www.broskiefoundation.org/postgame_pub_sample/shizzy.html with error Unsupported protocol: http, exiting

i'm about to pull my hair out. lol this is getting pretty frustrating.


As the current docs state, the best place to start is with rss2html.php?buildURL

_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/

FeedForAll Mac and rss2html.php
View user's profileVisit poster's website
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Thu Jan 04, 2007 2:25 pm Reply with quoteBack to top

Ok, i changed it to open it locally, and removed any extra spaces. I also removed my password protection on the website to remove any issues that might still be related to that.

now i'm getting this error:

Unable to open template shizzy.html , exiting

I feel like i'm going in cirlces.
View user's profileAIM Address
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Thu Jan 04, 2007 2:29 pm Reply with quoteBack to top

Ok cancel that last error, I got the feed to load :)

but now it is pushing all my info in the neighboring cell down to the next line and totally messing up the format of my page. Could this be a problem in the template coding?
View user's profileAIM Address
MacSupport



Joined: 24 Feb 2005
Posts: 2806

PostPosted: Thu Jan 04, 2007 2:29 pm Reply with quoteBack to top

broskiedesign wrote:
Ok, i changed it to open it locally, and removed any extra spaces. I also removed my password protection on the website to remove any issues that might still be related to that.

now i'm getting this error:

Unable to open template shizzy.html , exiting

I feel like i'm going in cirlces.


Go to http://www.broskiefoundation.org/postgame_pub_sample/rss2html.php?buildURL and fill in your information. After clicking submit it will give you a test link to click on, http://www.broskiefoundation.org/postgame_pub_sample/rss2html.php?XMLFILE=http://feeds.feedburner.com/foxsports/RSS/headlines.xml&TEMPLATE=shizzy.html which works. It also give you the exact code, in 3 different versions, to paste into your HTML

Not only that, but http://www.broskiefoundation.org/postgame_pub_sample/ seems to work as expected.

Jim

_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/

FeedForAll Mac and rss2html.php
View user's profileVisit poster's website
MacSupport



Joined: 24 Feb 2005
Posts: 2806

PostPosted: Thu Jan 04, 2007 2:32 pm Reply with quoteBack to top

broskiedesign wrote:
Ok cancel that last error, I got the feed to load :)

but now it is pushing all my info in the neighboring cell down to the next line and totally messing up the format of my page. Could this be a problem in the template coding?


Most likely. Look at the HTML of the produced page and you should be able to find your error.

Jim

_________________
Be sure to check out the FeedForAll Mac tutorials at: http://www.FeedForAll.com/tutorials/

FeedForAll Mac and rss2html.php
View user's profileVisit poster's website
broskiedesign



Joined: 03 Jan 2007
Posts: 15
Location: California

PostPosted: Thu Jan 04, 2007 2:38 pm Reply with quoteBack to top

Thank you! I fixed the error, it was the extra
tag I had in my template file. Causing the page to create a whole new table after the feed. Thank you so much for your help!! I can't say how stoked I am that i now have this feed working. Thanks sooooo much!
View user's profileAIM Address
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