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,966
  • Latest: safir45
Stats
  • Total Posts: 195,991
  • Total Topics: 21,323
  • Online today: 545
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 288
  • Total: 288

fopen: failed to open stream

Started by ed_m, December 29, 2009, 11:06:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ed_m2

hi peeps.

following on from this upgrade:
http://www.tinyportal.net/index.php?topic=31428.0

turns out since the upgrade i cant actually access any of the TP admin links (e.g. below for "news & credits" link)

Link to my site: http://www.covtri.co.uk
SMF version: 1.11
TP version: 1.0b4
Theme name and version: Customised default
Browser Name and Version: FF something or other
Mods installed:
1. Anti-Bot Registration Puzzles 1.2
2. TinyPortal 1.083
3. SMF Media Gallery 2.0.5
Related Error messages:
Quote
2: fopen(http://www.tinyportal.net/xml/tp1082.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Connection timed out
File: .............................../Sources/TPmodules.php
Line: 1516

i'm assuming this is the same function that return smf news & package news ?.. both if which work ok in my admin panel.

similar errors in search suggest missing files in the installation, any ideas what they would be then ?
or is this a server issue ?

thx for any help.

ed

Renegd98

fopen errors usually mean you will need to talk to your host. They may have institued new security protocols that have casued this issue to appear or you may not be the owner of the files on the server. I would call and ask them to make sure you are the owner of all the files on the server for your domain.

IchBin

This actually looks like another case of the TP.net server being slow. The connection actually timed out, which I'm assuming that others will get this at times as well. It's really slow to load for me in my TPadmin, but I'm still able load. Bloc will need to check out the server to see why it's so slow.

ed_m2

hmmm ok tah.

the one time i copied & pasted the xml address into my browser it came up ok, just did it again and a little slow but still there.

if i have time i might have a naughty dip into the TPadmin source code, i dont really pay attention to streamed info in admin anyway (version updates aside).

ed_m2

ok so.... tp.net is back up and stable ?

i've just got TP back up and running on my other site and all the admin xml feeds work ok.

but still have the problem on the original site.

some php or apache setting ??
or something else ?

IchBin

Sounds like a server configuration problem IMO. Hard to say with error like that.

Bluto

I doubt it's a server issue for fopen if it only times out on that URL And I believe he would have seen an fopen error long ago if it was the server. If they have modified the server config, like adding mod_security, then you may have to ad your own php.ini to your root to try to the override fopen rule

Skhilled

If you are going to add your own php.ini, I suggest you check your TOS for your hosting or ask them if it is OK. Some hosting will not allow it and will shut you down for doing it. It is best to ask first. ;)

ZarPrime

Absolutely, especially wrt to something like fopen.  Some hosts have decided that fopen is a security risk.  This is generally only true with the hosts that don't know how to secure their servers properly or haven't taken the time to figure it out.

ZarPrime.

scept1c

so I need to reconfiger the server?

This website is proudly hosted on Crocweb Cloud Website Hosting.