GetDotted Domains

Viewing Thread:
"php fopen error"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 02/11/07 at 23:25
Regular
Posts: 9
Can anyone shed some light on the following problem?

I have three areas of web space on Freeola servers 2, 6 and 8.
On server 8 I have some graphics that I need to access from the other two servers. Before attempting to include the required graphics a check, using the php function 'fopen', is made to see if the file exists (if it doesn't a default graphic is used).

The code on server 2 works as expected, ie it finds the file, opens it and then closes it.

The code on server 6 is identical but generates a 'failed to open stream: Permission denied in /freeola/ users/ 6/ 9/ srnumber/ htdocs/ path/ functions.php on line xxx'

The thing that is puzzling me is that it works from one server but not the other. Any suggestions/ideas/solutions would be greatly appreciated.
Thu 14/02/08 at 23:00
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
That might be possible. Could you send me your user details (website address, sr number and any special details I may need to know about, such as specific script permissions etc) using the link under my avatar and I'll see what I can do. Sorry for the delay in replying, been a little busy with the recent password changes.
Thu 14/02/08 at 18:39
Regular
Posts: 13
I will ask again:
"Well, could my sites be moved to server number 2 then?"
Tue 12/02/08 at 23:43
Regular
Posts: 13
server 9 has the same problems!
Tue 12/02/08 at 14:12
Regular
Posts: 13
Well, could my sites be moved to server number 2 then?
Tue 12/02/08 at 13:20
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
Still working on it. Sorry I don't have good news yet. It appears the the engineers are struggling to find the cause but I have hassled them again today.
Tue 12/02/08 at 09:13
Regular
Posts: 13
Any news on this? As it seems to be dragging on a bit :(

I'm surprised no other web site developers have encountered this issue and reported it.

If any other web site developers have the time, please could you test whether this issue will affect you, by creating a 'tester.php' file containing the following:

$fp=fopen( 'http://www.google.co.uk/index.html', 'rt');
$testSTR=fgets($fp);
echo $testSTR;
?>

Upload it to your website then navigate to it using your usual web browser, do you see:
a) window.google={BLAH BLAH BLAH}
OR
b) Warning: fopen(http://www.google.co.uk/index.html) ... /freeola/users/#/#/

If you see (a) then you are OK, but, if you see (b) then the issue affects you, the first # is the server number your site is hosted on.

Please report your findings.

Gotta get this sorted ... ... ... please!
Fri 08/02/08 at 15:41
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
No problem. I have chased up the problem again today and should hopefully get a resolution soon. I haven't forgotten about it though!
Fri 08/02/08 at 12:47
Regular
Posts: 13
Sorry, but I've got to keep asking in case it gets forgotten; is there any progress on this problem? As its been over 2 weeks since I raised the ticket :o(
Wed 06/02/08 at 11:14
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
That would be the logical way of approaching it, yes. However I'm not sure of the complexities behind tracking down the problem, although I would have though a firewall would be to blame. We are chasing it for you and will get it resolved.
Wed 06/02/08 at 10:08
Regular
Posts: 13
Do the engineers need anything more from me?

Have they looked at my 'tester.php' script at the locations I gave?

Its just I wouldn't have thought it'd take too long to rectify this problem, because as it works on some servers, surely they can identify the server differences and make the relevant changes ... can't they?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

First Class!
I feel that your service on this occasion was absolutely first class - a model of excellence. After this, I hope to stay with Freeola for a long time!
Top-notch internet service
Excellent internet service and customer service. Top-notch in replying to my comments.
Duncan

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.