View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006503 | mantisbt | feature | public | 2005-12-15 09:41 | 2008-10-18 18:34 |
Reporter | Labutin | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0006503: Password reset don't work | ||||
Description | I cant register new users and password reset. | ||||
Tags | No tags attached. | ||||
Attached Files | gpc.patch (677 bytes)
Index: core/gpc_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/gpc_api.php,v retrieving revision 1.39 diff -u -r1.39 gpc_api.php --- core/gpc_api.php 13 Jul 2005 20:45:02 -0000 1.39 +++ core/gpc_api.php 11 Feb 2006 12:49:09 -0000 @@ -254,7 +254,13 @@ $p_domain = config_get( 'cookie_domain' ); } - return setcookie( $p_name, $p_value, $p_expire, $p_path, $p_domain ); + if ( setcookie( $p_name, $p_value, $p_expire, $p_path, $p_domain ) ) { + // set up cookie for immediate use + $_COOKIE[$p_name] = $p_value; + return true; + } else { + return false; + } } # ------------------ | ||||
Bug still present :( |
|
Could you explain the steps you are taking? Are you getting other email messages from Mantis? |
|
Signup for a new account |
|
I experience the same problem w/ the CVS Head. I tried the following also using phpmyadmin to access the mysql DB:
So it seems this is connected to http://bugs.mantisbt.org/view.php?id=5886. |
|
Bug still present :( |
|
I'm using the cvs head from today and I still have this issue. A user signs up for an account and gets an email with the confirmation link, but the link takes them to the login page instead of the page where you set your password. If I reset that users password, the get the email with the link to reset their password, but they go to the login page instead? Been getting a few angry emails and calls about this. It would be very nice to have a workaround asap. Thanks, John Cole |
|
I have a possible fix, but can't reproduce the original problem here. Would someone be willing to try the attached patch and provide feedback? |
|
thraxisp |
|
I tried the patch as well and it did not solve the problem. Only systems from outside are having trouble, so while I can recreate the problem at home, at work, things work normally. This does not seem to be browser dependent as it occurs with FireFox and IE. |
|
Is there a proxy server involved? Is it possible some cookies are being suppressed? |
|
No proxies in my case :-( Cookies are acting normally for other applications running on the same server. |
|
Any progress on this issue? I'm still getting complaints from users. Thanks |
|
I just upgraded our server running mantis to the latest php (Apache/1.3.31 (Win32) PHP/5.1.2) and now we are seeing the problem on all machines. It appears no one can sign up or reset their passwords now. I have tried it with and without the attached patch; the results are the same. |
|
Mantis 1.0.0rc5 works fine on the same server. But CVS version dosn't work :( |
|
Mantis 1.0.1 also works without problem. |
|
Did a special CVS update (we've a slightly modified code) w/ RELEASE_1_0_1_20060218 branch. I can confirm that this bug is only at the CVS head, after the update everything is ok! |
|
I merged RELEASE_1_0_1_20060218 into our CVS HEAD version (we have some changes as well) and still have the same problem. I'll try a 1.0.1 vanilla version and see if it works. |
|
This may be related to an IIS "security feature". See http://groups.google.com/group/microsoft.public.inetserver.iis/browse_thread/thread/c2c90707d33a5f0f/4783319c51be5d29?q=underscore&rnum=6#4783319c51be5d29 . It appears that certain characters are not allowed in cookies, either in the web site or path. |
|
Thank you for taking the time to report a problem with mantis. As far as i'm aware - this issue got fixed. Since this problem report was originally made, a number of releases have occured. Additionally no recent feedback has been received on this issue. Unfortunately you are not using the latest version and the problem might already be fixed. Please download the latest release from http://www.mantisbt.org/download.php [^] [^] If you are able to reproduce this bug in the current release, or have some more information on how this feature could be improved in the current release. Please either change the mantis version on this bug report Again, thank you for your continued support and report. |
|