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
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
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.
interactivetools.com
Re: [Dave] PHP Problem won allow me to load admin page
By Mel - 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.
Hi Dave,
It could be that when trying to install on Wamp that I was not connected to the internet
I am presently working out of the office on an expensive pay as you go usb stick connection, which is why I am not online all of the time
When you say first install, do I take it then that it will work without being connected to the internet after the first install?
Thanks Mel
Re: [mel] PHP Problem won allow me to load admin page
By Dave - December 31, 2009
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.
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
Great, glad to hear it's working. Let us know if you need anything else.
...and Happy New Year to you as well! :)
interactivetools.com