When Clean URLs are disabled the invite email contains and invalid Register Here link. Recommend a check to see if Clean URLs disabled/enabled when generating URLs to Drupal site.

Comments

laura s’s picture

Priority: Normal » Critical

Changing this to critical because this problem renders the module dysfunctional.

The problem code in invite.module,v 1.4 2005/12/23 01:44:49 kbahey is line 374:

$body .= "Register Here : ". $base_url."/user/register";

Normally I'd convert this line to use the "l()" link method, which automatically adapts to clean/non-clean URLs, but as this is text for a plain text email, that string doesn't seem to work, unless I'm missing something.

My this-time-only hack is to manually un-clean the URL, but fixing this hard-coding would seem to be essential.

AjK’s picture

Status: Active » Fixed

This appeared to be fixed sometime ago by the use of templates and the path using url()

Anonymous’s picture

Status: Fixed » Closed (fixed)