PHP Problem won allow me to load admin page

6 posts by 2 authors in: Forums > CMS Builder
Last Post: January 4, 2010   (RSS)

By Mel - December 31, 2009

Trying to set up on my stagging PC: CMS ver 2_01

Using WampSever

PHP Ver 5.2.9-1

Getting the following error message when trying to run /cmsAdmin/admin.php

All other php pages on the WampServer are loading without problem
any thoughts on this please

Thanks Mel


Error: PHP fsockopen() and/or network connectivity disabled!
Test connection to www.google.com return error #0 - php_network_getaddresses: getaddrinfo failed: No such host is known.

Please ask your server administrator to enable network connectivity for PHP.

Re: [mel] PHP Problem won allow me to load admin page

By Dave - December 31, 2009

Hi Mel,

We use WampServer internally so I have a very similar setup, but I haven't seen that error before.

On first install CMSB makes a test connection to www.google.com to make sure it can access 3rd party APIs on the internet (such as the spellcheck in the wysiwyg which uses the spellcheck service on www.google.com).

If you are running any firewalls or internet security software such as zone alarm try temporarily disabling it to see if that makes a difference. If it does you can try and figure out the specific setting that needs changing.

The error makes it sound like it can't resolve the DNS for the domain name "www.google.com". You might check to make sure php.exe or apache.exe isn't being blocked from accessing DNS or the internet.

Hope that helps, let me know what you find out.
Dave Edis - Senior Developer
interactivetools.com

Re: [mel] PHP Problem won allow me to load admin page

By Dave - December 31, 2009

Hi Mel,

Ok, that's makes a lot of sense. The purpose of that error is just to make sure people have things configured properly on their servers, but obviously in your case you are intending to be offline.

Try this:

- Open cmsAdmin/lib/init.php
- Make a backup copy of the file
- Search for: "check for disabled sockets" (without the quotes)
- Add the code in red:

// check for disabled sockets
// displaySocketErrors();


Let me know if that works for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] PHP Problem won allow me to load admin page

By Mel - January 1, 2010

Hi Mel,

Ok, that's makes a lot of sense. The purpose of that error is just to make sure people have things configured properly on their servers, but obviously in your case you are intending to be offline.

Try this:

- Open cmsAdmin/lib/init.php
- Make a backup copy of the file
- Search for: "check for disabled sockets" (without the quotes)
- Add the code in red:

// check for disabled sockets
// displaySocketErrors();


Let me know if that works for you.


Hi Dave,

That seems to have fixed the problem thank you and a happy New Year to yourself and all of the team

Mel

Re: [mel] PHP Problem won allow me to load admin page

By Dave - January 4, 2010

Hi Mel,

Great, glad to hear it's working. Let us know if you need anything else.

...and Happy New Year to you as well! :)
Dave Edis - Senior Developer
interactivetools.com