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.
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.
"Well, could my sites be moved to server number 2 then?"
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!
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?