For some reason hotmail just wont work, i think it may be due to the hotmail plugin. The errors that are generated when trying to login are below:
Notice: Undefined index: hotmail in openinviter->startPlugin() (line 147 of /www/Full-site/sites/all/libraries/OpenInviter/openinviter.php).
Notice: Undefined index: hotmail in openinviter->startPlugin() (line 182 of /www/Full-site/sites/all/libraries/OpenInviter/openinviter.php).
Unable to get contacts.
Warning: curl_close(): 217 is not a valid cURL handle resource in openinviter_base->stopPlugin() (line 482 of /www/Full-site/sites/all/libraries/OpenInviter/plugins/_base.php).
Warning: Invalid argument supplied for foreach() in _openinviter_engine_contacts_get() (line 307 of /www/Full-site/sites/all/modules/contact_importer/openinviter_engine/openinviter_engine.module).
No contacts could be retrieved from your account. Please try again with a different provider.
Notice: Undefined variable: options in contact_importer_js() (line 14 of /www/Full-site/sites/all/modules/contact_importer/contact_importer.pages.inc).
The first issue i had was with the openinviter package module being for D6 so i had to convert for D7. Not sure if this module is required, the one downloaded from openinviter?
Would be good just to find out if anyone else is having problems with this or just me.
Thanks
Comments
Comment #1
dalinIt sounds like this isn't related to Contact Importer rather with OpenInviter. Do you have OpenInviter configured to auto-update itself? There are regular bug fixes to OpenInviter and if you configure it to auto-update itself then you don't have to manually download the code on a regular basis.
Comment #2
dalinComment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedI think this needs a second look. I found that the contact importer needs to load the current available plugins to avoid the following error specifically.
Notice: Undefined index: hotmail in openinviter->startPlugin() (line 147 of /www/Full-site/sites/all/libraries/OpenInviter/openinviter.php).
Notice: Undefined index: hotmail in openinviter->startPlugin() (line 182 of /www/Full-site/sites/all/libraries/OpenInviter/openinviter.php).
I added this to the openinvite_engine.module (I know this is not recommended)
$oi_services=$inviter->getPlugins();
and the problem went away. I don't use $oi_services for anything in particular just needed to trigger a call to the getPlugins(); Hope it helps another person or the module is fixed to solve this for others.
Comment #4
dalinGreat, can you roll a patch?
Comment #5
basant CreditAttribution: basant commentedThanks for the solution, one needs to add
$oi_services=$inviter->getPlugins();
after line 259 in openinviter_engine.module file before
$inviter->startPlugin($provider_name);
$error = $inviter->getInternalError();
Comment #6
dalinIf one of you could create a patch, then we can get this code committed so everyone can benefit. If you haven't rolled a patch before, checkout this guide:
http://drupal.org/node/707484
Comment #7
basant CreditAttribution: basant commentedIs this fixed or shall I roll out a patch for this?
Comment #8
dalinno one has rolled a patch yet.
Comment #9
DuaelFrCommitted in 67c7670.
Comment #11
jay.lee.bio CreditAttribution: jay.lee.bio commented#5 worked perfectly for me. Thank you.