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.
Tue 22/04/08 at 14:02
Regular
Posts: 3
Thanks a lot!

Message sent ;)
Tue 22/04/08 at 13:30
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
Yep that's good enough for me. If you could send me the site details (domain, sr number and your name and address) using the link under my avatar then I will set this up for you and email you details on how to continue.
Tue 22/04/08 at 09:11
Regular
Posts: 3
Hi Eccles, thanks for your quick response!

We need the fsocketopen function to integrate our site with PayPal's Instant Payment Notification service. We sell digital goods on our site and need to confirm with PayPal that payment has been received and has cleared before we can email the goods automatically to the customer.

I trust this is a good enough reason to move the site? How do we go about doing this please, what's the next step?

Thanks for your assistance in this matter!
Mon 21/04/08 at 13:14
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
This has already been suggested. I believe it was intended that outbound connections would not be allowed but is seems slightly different configurations were used on some servers when they were upgraded. The ones that do allow fopen haven't been closed off as we have moved several customers to these servers now.
Please be aware that we will only move your site if you can prove it's absolutely necessary and moving your site will make it unavailable for a short period while the DNS updates.
Sun 20/04/08 at 16:21
Regular
Posts: 3
Eccles wrote:
> I believe that the way this was solved before was to move the
> site to another server as for some reason it was not possible to
> implement the necessary change on the servers concerned. If you
> could send in a support ticket with you site details then we can
> see whether we can have it moved servers.

I am having similar problems with the fsockopen function.

As far as I am aware the fix to this problem is to simply to activate "HTTPD scripts to connect to the network" in the SELinux.ini file.

Can you please run this by the server engineers Eccles and see whether this change can be implemented on all servers. If not I am afraid it looks like you may have to move my site gladiatustools.com to server 2 also!

Although it does seem very strange that your servers are set up differently!

Please advise, thank you! :)
Thu 10/04/08 at 11:40
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
I've replied to your message via email but in case you read this first:
Moving your site from one server to another will not effect your email accounts. You will simply have a new webspace folder with a different SR number. Email accounts are not linked to this.
Thu 10/04/08 at 00:01
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
Ah really sorry, must have missed the message in the pile, will check tomorrow and get back to you.
Wed 09/04/08 at 20:25
Regular
Posts: 2
Hi Eccles,
I sent you a private message last week, but have not heard back. I am on server 5. If I were to migrate to another server on Freeola, this presumably would mean that all 'sr' numbers would change too, including email addresses?

If this is the case, it's not an option as I have so many email addresses attached to this domain.

Look forward to hearing from you.
Tue 01/04/08 at 19:53
Staff Moderator
"Aargh! Broken..."
Posts: 1,408
I believe that the way this was solved before was to move the site to another server as for some reason it was not possible to implement the necessary change on the servers concerned. If you could send in a support ticket with you site details then we can see whether we can have it moved servers.
Tue 01/04/08 at 16:13
Regular
Posts: 2
Hi Eccles. I have just found this thread and I too need outbound http access for a script. But it's being blocked.

What is the status of getting things opened up?

Thanks.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Easy and free service!
I think it's fab that you provide an easy-to-follow service, and even better that it's free...!
Cerrie
Simple, yet effective...
This is perfect, so simple yet effective, couldnt believe that I could build a web site, have alrealdy recommended you to friends. Brilliant.
Con

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.