TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,190
  • Total Topics: 21,347
  • Online today: 603
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 146
  • Total: 146

Damn, one last problem!! RSS not working.

Started by OneBadMoFo, March 31, 2006, 08:26:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


G6Cad

Very strange, just tested it on my testsite to, no errors.

I read back here and saw your first post, how did you set it up?

I used the Blocks show in middle, choosed the rssfeed, put the link in and klicked on send and then placed it in the middle. And it works ok on both sites.

Isent that what you have done?

OneBadMoFo

I think I figured it out.  My ISP has fopen set to off with their windows accounts which I bet is the same on their linux account.  Sent a email... wait for a response now.

feline

that is a problem with php.ini and your hosting ...

create a php.ini in your webserver root directory and insert this line:

allow_url_fopen = on

That will work

Fel

OneBadMoFo

Quote from: feline on April 04, 2006, 12:19:37 PM
that is a problem with php.ini and your hosting ...

create a php.ini in your webserver root directory and insert this line:

allow_url_fopen = on

That will work

Fel

Yeah, too bad it will only work if they don't have it shut off, which they do.  I guess I'll be looking for a new hosting site soon.  They have VD servers but they are pricey.

LilBitty


claudek

Quote
 
2: fopen(http://rss.cnn.com/rss/cnn_topstories.rss): failed to open stream: no suitable wrapper could be found
File: /home/content/m/i/k/mikecamp/html/smf/Sources/TPortal.php
Line: 1222

2: fopen(): URL file-access is disabled in the server configuration
File: /home/content/m/i/k/mikecamp/html/smf/Sources/TPortal.php
Line: 1222


Assuming that the /home/content/m/i/k/mikecamp/html/smf/Sources/ folder in question above is at fault, would having the fopen function only allowed in that folder be sufficient for the RSS script to work properly?

I would really appreciate an answer, as I assume would others on shared hosting. My host has on another occasion enabled the fopen function on one of the folders on one of my websites when it was required for a specialised script. Does the fopen need to be enabled only in the /home/content/m/i/k/mikecamp/html/smf/Sources/ folder in the example above or on the entire server?

Max


click the link below, this will work in a PHP block aswell as articles.

http://www.tinyportal.net/smf/index.php?topic=6742.0

may work for you.

claudek

It also appears to be using the fopen command

claudek

OK, for the benefit of others who have the fopen issue and rss does not work, I created a html block and put in a javascript solution generated from http://www.rss-to-javascript.com . This works perfectly and gives good options as well. I hope you find it useful as I did.

This website is proudly hosted on Crocweb Cloud Website Hosting.