Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

N00B Drupal User - User Password Reset

Posted on 2010-09-15
12
Medium Priority
?
716 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
12 Comments
 
LVL 17

Assisted Solution

by:Thomas4019
Thomas4019 earned 375 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 375 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

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 375 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
 
LVL 17

Accepted Solution

by:
Thomas4019 earned 375 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

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 …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

715 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