Deanos Facebook Connect 4.1.2 in 7.1.0

My wesite is having an error with records "Deanos Facebook Connect 4.1.2", when the user will end its record sigiente throws the error:

 

Fatal error: Cannot redeclare geoip_country_code_by_name() in /home/cocoteco/public_html/modules/deano/deanos_facebook_connect/inc/geoip/geoip.inc on line 390


Can anyone help me with this?

Quote · 14 Nov 2012

Products support for this is located here. http://www.boonex.com/forums/topic/Deanos-Facebook-Connect-Support.htm

Anyhow. As i cannot reproduce that problem, i suspect you have another mod installed that is using the same geoip class i use in my module.

My module does not require the function that is causing the error, so edit the file shown in the error /home/cocoteco/public_html/modules/deano/deanos_facebook_connect/inc/geoip/geoip.inc and look for this.

function geoip_country_code_by_name($gi, $name) {
  $country_id = geoip_country_id_by_name($gi,$name);
  if ($country_id !== false) {
        return $gi->GEOIP_COUNTRY_CODES[$country_id];
  }
  return false;
}

Comment it out like so.

/*
function geoip_country_code_by_name($gi, $name) {
  $country_id = geoip_country_id_by_name($gi,$name);
  if ($country_id !== false) {
        return $gi->GEOIP_COUNTRY_CODES[$country_id];
  }
  return false;
}
*/

Or remove that section.

If you continue to have problems, then contact me directly with access info. I may need to find the cause of the conflict so i can create a solution.

https://www.deanbassett.com
Quote · 14 Nov 2012

Your solution is correct, and solved the problem.

You are excellent, thank you very much...

Quote · 14 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.