Mar 13th, 2013, 6:40 PM
To chalorlay - Your issue is different than than my reply, but it sounds like the authentication types or criteria have changed, if not by you, then perhaps by the host you are connecting to.
For everyone else getting the fsockopen error. I recently was tasked with installing FormTools on several additional webs I admin, to replace outdated FrontPage forms. On my first attempt I started getting this error again, when trying to connect to gmail via SMTP. I tried different encryption methods and different ports, to no avail.
I contacted the host who told me that the ports were open for external connections and they verified the server's firewall was not blocking those ports.
The weird thing is that I have two FT installs on a dedicated server that work without question. One of them is connecting to gmail via SMTP, and has no trouble. But for some reason I am getting this error on our shared server.
As of just this moment, after learning that fsockopen is actually a specific module of PHP, I discovered that the fsockopen module had not been enabled on our server.
You can test this on your server by uploading a .php file with the following code:
I found this info from here: http://kb.siteground.com/how_to_check_if...he_server/
My WebHost informed me that I could upload a file with the name of php.ini to the root, with custom PHP settings for that website.
I will update with the exact contents of the php.ini file when they reply.
For everyone else getting the fsockopen error. I recently was tasked with installing FormTools on several additional webs I admin, to replace outdated FrontPage forms. On my first attempt I started getting this error again, when trying to connect to gmail via SMTP. I tried different encryption methods and different ports, to no avail.
I contacted the host who told me that the ports were open for external connections and they verified the server's firewall was not blocking those ports.
The weird thing is that I have two FT installs on a dedicated server that work without question. One of them is connecting to gmail via SMTP, and has no trouble. But for some reason I am getting this error on our shared server.
As of just this moment, after learning that fsockopen is actually a specific module of PHP, I discovered that the fsockopen module had not been enabled on our server.
You can test this on your server by uploading a .php file with the following code:
PHP Code:
<?php
if(function_exists(‘fsockopen’)) {
echo "fsockopen function is enabled";
}
else {
echo "fsockopen is not enabled";
}
?>
I found this info from here: http://kb.siteground.com/how_to_check_if...he_server/
My WebHost informed me that I could upload a file with the name of php.ini to the root, with custom PHP settings for that website.
I will update with the exact contents of the php.ini file when they reply.