I have this problem which is probably related to another module I installed, maybe i18n but i have no idea how to approach this isssue. When reminders are sent, the links look like this:

You may also log in by clicking on this link or copying and pasting it in your browser:

http:///en/user/reset/94/1211673601/5efb9THIS-LINK-IS-USELESS7ba

The url of the site is missing. Any ideas?

Comments

jaydub’s picture

Another user came up with the problem before which
you can read here:

#243468: Reminder email links don't have the site's domain

The code uses the standard Drupal url() function to generate the
URL in the email and that Drupal function is responsible for
adding in the base url so I wasn't sure what to tell the previous
user nor would I know what to tell you...Check the old issue and
see if anything there helps...

derjochenmeyer’s picture

Thanks a lot! ... i will try adding the $base_url in the settings.php

derjochenmeyer’s picture

Unfortunately that didnt help :-( But its not the only problem ... also update status sends out non working urls ... i still suspect custom_url_rewrite thats used by i18n ... i posted an issue there but got no response yet ... http://drupal.org/node/262474

jaydub’s picture

So what happens if you disable the i18n module and try to
generate links in account_reminder or update_status?

If they work as expected then I guess we can assume
that it is i18n that's causing the issue.

derjochenmeyer’s picture

unfortunately my site is dependent on i18n, i cant deactivate it (www.iwanttospeak.net) ... i have to try to clone it on a different server before i can run tests ... will report ...

jaydub’s picture

Status: Active » Closed (fixed)