When a user types in wrong credentials for his email account provider, he receives the message
Login failed. Please check the email and password and try again or try another provider.
as defined in line 277 of the openinviter_engine.module. There, the link is created using the function contact_importer_form_url() of the contact_importer.module file defined in line 1222. This function returns the result of a url() function call. As a result,

t('Login failed. Please check the email and password and try again or <a href="!try_again">try another provider</a>.',array('!try_again' => contact_importer_form_url()));

is linking to //contact_importer instead of http://www.example.com/contact_importer and should be replaced with:

t('Login failed. Please check the email and password and try again
  or !try_another_provider.', array('!try_another_provider' => l('try another provider', 
  substr(contact_importer_form_url(),2))));

substr() is used to delete the // from the returned result of the contact_importer_form_url(). No other changes are needed.

PS: This error still exists in the 6.x.2.x-dev version

CommentFileSizeAuthor
#1 openinviter.patch1.91 KBvensires

Comments

vensires’s picture

StatusFileSize
new1.91 KB

Same happens in line 264. So I include a patch for both lines. Great module nevertheless ;)

dalin’s picture

Status: Needs review » Patch (to be ported)

Not really a good way to fix the problem, but thanks for the bug report. The problem is that the path was run twice through url().

Fixed on the D7 branch. Need to backport to D6.

dalin’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

rakesh.gectcr’s picture

Please check this .. Its may help you...Its working for me...in case of yahoo

http://drupal.org/node/1223464