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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | openinviter.patch | 1.91 KB | vensires |
Comments
Comment #1
vensiresSame happens in line 264. So I include a patch for both lines. Great module nevertheless ;)
Comment #2
dalinNot 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.
Comment #3
dalinComment #5
rakesh.gectcrPlease check this .. Its may help you...Its working for me...in case of yahoo
http://drupal.org/node/1223464