Quote:
|
Originally Posted by MatyScripts
My apology if the Beta Version of MSA 1.1 caused problems to your website.
As I E-mailed yesterday, IP-to-Country ( http://ip-to-country.directi.com/)
changed their Web service to resolve country names from an IP-Address. My
site continued working without displaying errors, that's why I didn't notice
it immediately. Another site did lock up and another one had nasty messages
in their footer. I E-mailed yesterday how to change the file
/modules/MS_Analysis/include/class.client.php. I did some more tests today.
The following code will be present in the class.client.php file in the final
version of MSA v1.1
function get_country_ip2country( $ip )
{
if( ( $handle =
@fopen("http://ip-to-country.directi.com/country/name/".$ip, "rb") ) ==
FALSE ) {
return( "" );
}
else {
$country = fgets( $handle, 4096 );
fclose( $handle );
return( $country );
}
}
This routine makes sure that the above mentioned problems can not occur any
more. My advice is that you update this routine in your
/modules/MS_Analysis/include/class.client.php file with the above described
code, so that these problems can not occur any more.
Might in the feature IP-to-country do something like this again, than your
web site will continue working normally and MSA switches automatically to
resolving the country name from the hostname.
|
This is the mail he has sent to all his beta testers, and as you can read he also didn't noticed it because it didn't show up for him.
It seems that the superusers or admins can't see the errors[/quote]