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,965
  • Latest: boruko
Stats
  • Total Posts: 195,980
  • Total Topics: 21,320
  • Online today: 281
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 142
  • Total: 142

fopen Url server config

Started by SleePy, September 24, 2006, 12:15:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SleePy

In my php.ini I have fopen disabled..

so When I go to settings I get this in error log

2: fopen(http://www.tinyportal.net/tp.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found
File: /home/*****/public_html/home/Sources/TPortal.php
Line: 1325


The odd thing is SMF annoucnements display just fine. So You might want to find another way to get stuff other than fopen..

An_Old_Girl

I, too, have this error whenever I access the TP news page...

Last night, I just finished installing a clean SMF 1.1RC3, then TP 0.96, then the SMF security update from yesterday. No errors. Both the information from SMF and from Tiny Portal was coming through loud and clear. So I continued creating boards, making membergroups, setting permissions, loading themes (of course, all compatible with the latest releases above), etc.

I had been checking the error log frequently as I went along, watching for errors and I found these two:

Quotehttp://mysiteurl/smfinstallationfolder/index.php?action=tpadmin;sa=news
2: fopen(http://www.tinyportal.net/tp.xml): failed to open stream: no suitable wrapper could be found
File: /home/content/m/a/1/myusername/html/smfinstallationfolder/Sources/TPortal.php
Line: 1353

http://mysiteurl/smfinstallationfolder/index.php?action=tpadmin;sa=news
2: fopen(): URL file-access is disabled in the server configuration
File: /home/content/m/a/1/myusername/html/smfinstallationfolder/Sources/TPortal.php
Line: 1353

I checked, and sure enough, I no longer could tune in to the TP news, but SMF is still connecting perfectly. It is strange that it worked for a while, then stopped... I doubt my host (GoDaddy) suddenly changed their server configuration, so I am stumped as to why the disappearing act...

Is there a way I could simply disable this function so that it does not create errors?

akulion

fopen is usually used to get info from external pages on other servers

the smf news is usually fetched that way too so it should be working fine.

but i dont know fully about fopen urls, i just encountered them when 3 other scripts failed to work for me since they directly used fopen to fetch info from other pages.However SMf and TP news still works for me....

maybe when bloc comes around he could shed some more light into this :up:

An_Old_Girl

#3
My goal today was to clean up forum errors from my recent installation. I still have the error above as well as the one below...

http://mysite/myforumdir/index.php?topic=154.msg546;topicseen
2: fopen(): URL file-access is disabled in the server configuration
File: /home/content/m/a/1/myGoDaddyacct/html/myforumdir/Sources/TPortal.php
Line: 1353


So I looked to see what was on line 1353...
                        $mypage=$context['TPortal']['featured_article'];   

Now I do understand that fopen is a server setting that is set to off by my hosting company by default. I can change this, but do not know if I should, since it was disabled for security reasons...

I don't understand the "no suitable wrapper" error in my previous post...

My question is how come the fopen thingy for the SMF news works fine but the fopen thingy for TP does not?
                     

This website is proudly hosted on Crocweb Cloud Website Hosting.