This error didn't occur with Drupal 5.3 -- but started right after I upgraded to 5.6

My site http://www.bioenergylists.org no longer sends out password information email with the %strings filled in.

Example of email:

"%username,

A request to reset the password for your account has been made at %site.

You may now log in to %uri_brief clicking on this link or copying and pasting it in your browser:

%login_url

This is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it's not used.

After logging in, you will be redirected to %edit_uri so you can change your password."

I've noticed, that if I turn off the Internationalization module, it sends out the password information normally. Upgrading to the latest version of that module doesn't resolve the problem.

Internationalization Module ver 5.x 2.2 with 2 languages English (en) and Spanish (es)
drupal 5.6
no additional user modules installed.

Problem environment: I've got a multi-site Drupal at http://www.bioenergylists.org.
There are 5 sites running off the same installation of Drupal 5.6 with separate databases. User information is totally distinct for each database.

The sites without i18n are behaving normally e.g. http://gasifiers.bioenergylists.org/, and http://terrapreta.bioenergylists.org/

Comments

em_rasmussen’s picture

Project: Drupal core » Internationalization
Version: 5.6 » 5.x-2.2
Component: user.module » Miscellaneous

Since this error only occurs when I have the i18n module active, maybe it's more appropriately labeled as an Internationalization module issue.

mohammed76’s picture

hi.

this very same thing occured here too. the solution was to use "!" sign instead of "%" sign. here's my password recovery email template for you to look at:

!username,

A request to reset the password for your account has been made at !site.

You may now log in to !uri_brief clicking on this link or copying and pasting it in your browser:

!login_url

This is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it's not used.

After logging in, you will be redirected to !edit_uri so you can change your password.

--- !site team

hope this helps.

em_rasmussen’s picture

Status: Active » Fixed

Thank you! That fixed it, and it makes sense to me.

I started with an early version of Drupal, and haven't checked this setting after upgrading, so that's probably where the error crept in. (My other sites are newer).

Anonymous’s picture

Status: Fixed » Closed (fixed)

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