 | |  |
 |

sidcam
Novice
Mar 22, 2008, 12:33 AM
Post #1 of 3
(372 views)
Shortcut
|
|
Installation Issue
|
Can't Post
|
|
I am getting the following message when I try to log into the admin.php for the first time. ---------------------------------------------------------------------------------------------- Warning: fsockopen() [function.fsockopen]: unable to connect to www.google.com:80 in /home/u5/(account name)/html/cmsAdmin/lib/init.php on line 111 Error: PHP fsockopen() and/or network connectivity disabled! Test connection to www.google.com return error #13 - Permission denied Please ask your server administrator to enable network connectivity for PHP. Server Administrators: This is a common problem and may be resolved by one of these methods: - Disable SELinux
- Enable Network Connections with: `setsebool -P httpd_can_network_connect 1`
- Enable Network Connections with: Desktop > Admin. > Security level > SELinux > httpd > HTTPD scripts to connect to the network
------------------------------------------------------------------------------------------------------ My hosting provider support group says, "For the connections to other sites you need to send an e-mail to support@... with the IPs and the port numbers for which you want the firewall to be opened." I can't find anything in the installation guide to deal with this problem. My question is (and I'm not an IT person) what are ALL the IP's and port numbers that I need to have my provider open? I'm guessing Port 80? Maybe Port 5? Those are numbers on Line 111 in that file. However I see nothing that looks like an IP and it would seem to me that Google would have a lot of potential IPs (although I'm not sure why we're connecting with Google in the first place). Can anyone assist please. UPDATE: Here is what my hosting provider sent me back. Please fill out this form: Please allow the outbound connections for scripts for FTP username: XXXX Local script filename (and location) which needs the outbound connection: 1. 2. ... Remote server IP address and port number: 1. 2. ... Exact purpose of this connection: 1. 2. ... Please note that our firewall is IP based. If the remote host changes its IP address in the future, please notify us of the change.
(This post was edited by sidcam on Mar 22, 2008, 10:24 PM)
|
|
|  |
 |

MikeB
Staff
/ Moderator

Mar 24, 2008, 4:30 PM
Post #2 of 3
(317 views)
Shortcut
|
|
Re: [sidcam] Installation Issue
[In reply to]
|
Can't Post
|
|
Hi, Thanks for posting! I just wanted to send you a quick update to let you know that I've got your email here as well. We're going to have a look into this for you and should be able to send a reply out for you tomorrow. In the meantime if you have any updates, or any other questions, just let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

Dave
Staff
/ Moderator

Mar 25, 2008, 12:28 AM
Post #3 of 3
(308 views)
Shortcut
|
|
Re: [sidcam] Installation Issue
[In reply to]
|
Can't Post
|
|
Hi sidcam, Thanks for reporting that. Try opening /lib/init.php and disabling that error message (around line 111 near the bottom of the file). Add the characters in red (or just erase the code). Make sure to download a backup copy of that file first.
/* // check for disabled sockets if (!$SETTINGS['isInstalled']) { $handle = fsockopen("tcp://www.google.com", 80, $errno, $errstr, 5); if (!$handle) { ... lots of $errors lines here ... die($errors); } } */
And the program should install and work fine. We plan on adding features in future that nay require network connections. Do you mind me asking who you host with? I'm curious how many hosts lock this down. Hope that helps, let me know if you need anything else. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
|