Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
What URL is cms builder calling home to?

 

 


tonythemediaguy
User

Mar 7, 2008, 10:46 PM

Post #1 of 4 (546 views)
Shortcut
What URL is cms builder calling home to? Can't Post

We need to setup a rule on our firewall. If we block everything outgoing, then we can't get into the admin. Please give me an IP or URL that I can add to my firewall to allow cms builder to call home and block everything else.

Thanks,

Tony


Dave
Staff / Moderator


Mar 8, 2008, 12:17 AM

Post #2 of 4 (534 views)
Shortcut
Re: [tonythemediaguy] What URL is cms builder calling home to? [In reply to] Can't Post

Are you referring to the "Error: PHP fsockopen() and/or network connectivity disabled" error?

If so that's a check that's done in /lib/init.php on install only (it's at the bottom, you can just comment it out) and it tries to connect to www.google.com to test for network access.

When you install the registration process is passive, meaning you shouldn't ever get any errors, and connects to www.registerSoftware.to

The google check is unneeded right now and mainly in place to prepare for future updates where we _may_ add more optional network features in future like sending mail via SMTP, pinging blog services, google spellcheck, or downloading content from internet urls, etc.

Just for future reference, is there any way to make features like those work in your environment or we'd just have to rely on customers with similar setups to setup firewall rules for that?

Dave Edis - Senior Developer
interactivetools.com


tonythemediaguy
User

Mar 10, 2008, 1:21 PM

Post #3 of 4 (508 views)
Shortcut
Re: [Dave] What URL is cms builder calling home to? [In reply to] Can't Post

Hi Dave,

I can't find anything to comment out in that file.

We have to allow all outbound traffic from this webserver to make the cms work again.

Could you tell me exactly what I need to comment out? I did on the contents on all of the files and couldn't find www.google.com in there anywhere.

Thanks,

Tony


Dave
Staff / Moderator


Mar 10, 2008, 1:47 PM

Post #4 of 4 (506 views)
Shortcut
Re: [tonythemediaguy] What URL is cms builder calling home to? [In reply to] Can't Post

The network connectivity check is at the bottom of /lib/init.php under a comment that says "// check for disabled sockets". It's in v1.10. The first few lines look like this:


Code
// check for disabled sockets 
if (!$SETTINGS['isInstalled']) {
$handle = fsockopen("tcp://www.google.com", 80, $errno, $errstr, 5);
if (!$handle) {
$errors = "Error: PHP fsockopen() and/or network connectivity disabled!<br/>\n";
...
}
}


But once CMS Builder is installed you shouldn't get any errors even if it doesn't have network connectivity. What error are you getting? You're running v1.10 right?

Let me know the error or output you're getting and I'll help you get it fixed ASAP.

Dave Edis - Senior Developer
interactivetools.com

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4