missing base url in reminder emails
derjochenmeyer - May 25, 2008 - 10:51
| Project: | Account reminder |
| Version: | 5.x-1.0-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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-USELESS7baThe url of the site is missing. Any ideas?

#1
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...
#2
Thanks a lot! ... i will try adding the $base_url in the settings.php
#3
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
#4
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.
#5
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 ...