Solved

N00B Drupal User - User Password Reset

Posted on 2010-09-15
12
710 Views
Last Modified: 2012-05-10
Hey all -

I have the basic Drupal e-mail setup working for a user password recovery, however, the redirect to

/user/#/edit

doesn't seem to be working.  I get that it has to be a Trigger or something, but I just don't understand how to set this up.  Any help would be appreciated.
0
Comment
Question by:sbweitzman
  • 7
  • 5
12 Comments
 
LVL 17

Assisted Solution

by:Thomas4019
Thomas4019 earned 125 total points
ID: 33684886
I don't really get what's going wrong. Could it just be that you need clean URL's setup? http://drupal.org/node/15365

What do you mean the redirect to /user/#/edit doesn't seem to be working? Are you getting a 404, or is it not redirecting at all.
0
 

Author Comment

by:sbweitzman
ID: 33685089
It's redirecting to the home page...

I'm using the default recovery setup, so what's sent in the e-mail is

/user/reset/59/1284571152/656109f92d6637c5496a6ef5122037e0

Which resets the password.  I'm supposed to get redirected to the following page:

/user/59/edit

After I reset, but I just get redirected to the home page, with no way to change my password.

Thanks Thomas,
Stu
0
 
LVL 17

Assisted Solution

by:Thomas4019
Thomas4019 earned 125 total points
ID: 33685120
I would try running it with Firebug open (http://getfirebug.com/) and the NET panel open. It will allow you to look at the redirects and see exactly what is going on. Firebug is awesome for many other uses as well.
0
 

Author Comment

by:sbweitzman
ID: 33685184
I'm sure this is just a site config issue...  I get a 302 Moved Temporarily response, then redirect to the home page.

How is that url supposed to be setup... Or is that a default?
0
 
LVL 17

Assisted Solution

by:Thomas4019
Thomas4019 earned 125 total points
ID: 33685276
That URL looks pretty standard, here's part of a URL one my Drupal sites spit out, user/reset/8/1284575484/b6c2b188fd19a922 ....

I would check your .htaccess file in your Drupal site root for any odd rules. Particularly maybe one redirecting from non www to the ww version or vice versa.
0
 

Author Comment

by:sbweitzman
ID: 33686462
Nothing there... I did notice a redirect script within the site, but after resetting to defaults it still doesn;t work...
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 17

Accepted Solution

by:
Thomas4019 earned 125 total points
ID: 33686498
Well, something unique about your site must be causing a problem (likely a contributed module, or htaccess). How old / large is this site? Do you have any funny contributed modules like Drupal FrontPage, Login Destination, Page Redirects, etc.

Maybe try turning off Clean URLS and seeing if the problem persists?
0
 

Author Comment

by:sbweitzman
ID: 33686575
Clean URLs aren't implemented, and there's not any other modules that I think can be causing this... I checked the permissions, thinking that might be the issue as well.. no dice...

Argh.

Stu
0
 

Author Comment

by:sbweitzman
ID: 33687171
I figured it out... finally... It was a permissions issue.  Anonymous User has to be checked under user profile administration.

Stu
0
 

Author Comment

by:sbweitzman
ID: 33693489
I wanted to give Thomas some of the points for this question, since he did offer a lot of great advice.
0
 

Author Closing Comment

by:sbweitzman
ID: 33693513
Thomas has a killer knowledge of Drupal, and though he couldn't pin down my particular problem, there's no way he could have known about our particular setup, etc.

Dupal is a ridiculous beast... Glad thomas can help slay some of the dragons out there.
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33693655
Thanks for you very kind compliments, Drupal is a rather ridiculous beast, an awesome ridiculous beast, that is.

Your weapons are very important, Firebug, server logs, Drupal's logs, and especially the contributed module's issue queues are extremely helpful.

Thomas
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now