MantisBT

View Issue Details Jump to Notes ] Wiki ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010714mantisbtbugtrackerpublic2009-07-12 16:472010-04-23 23:22
Reportervboctor 
Assigned Tojreese 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version1.1.9 
Summary0010714: Got PHP notice due to session already started
DescriptionPHP Notice: A session had already been started - ignoring session_start().

See steps to repro
Steps To Reproduce1. Login as administrator
2. Create a user account.
3. Click the link in the user account creation email.
4. You'll get the error specified in the description.
TagsNo tags attached.
Attached Files

- Relationships
related to 0010187closedjreese Using dession destroy and unset for logout 

-  Notes
User avatar (0022481)
vboctor (administrator)
2009-07-12 16:47

Reminder sent to: dhx, jreese

@jreese, @dhx -- check this out.
User avatar (0022489)
jreese (administrator)
2009-07-13 10:19

Confirmed/investigating

- Related Changesets
MantisBT: master-1.1.x ea368049
Timestamp: 2009-07-13 14:48:11
Author: jreese
Details ] Diff ]
Fix 0010714: Fix session notice with verify.php

This problem is a result of changes for issue 0010187, where the session
is no longer destroyed in order to play nice with other PHP
applications. However, the problem itself only manifests itself when a
user that is already logged into mantis follows the verification link.

Rather than forcefully restarting the session, the verification page now
logs out the existing user and then does a header redirect to itself to
allow the normal session init behavior to kick in.
mod - account_page.php Diff ] File ]
mod - verify.php Diff ] File ]
MantisBT: master-1.2.x 4f9d3515
Timestamp: 2009-07-13 14:48:11
Author: jreese
Details ] Diff ]
Fix 0010714: Fix session notice with verify.php

This problem is a result of changes for issue 0010187, where the session
is no longer destroyed in order to play nice with other PHP
applications. However, the problem itself only manifests itself when a
user that is already logged into mantis follows the verification link.

Rather than forcefully restarting the session, the verification page now
logs out the existing user and then does a header redirect to itself to
allow the normal session init behavior to kick in.
mod - account_page.php Diff ] File ]
mod - verify.php Diff ] File ]
MantisBT: master c3a3ffe8
Timestamp: 2009-07-13 14:48:11
Author: jreese
Details ] Diff ]
Fix 0010714: Fix session notice with verify.php

This problem is a result of changes for issue 0010187, where the session
is no longer destroyed in order to play nice with other PHP
applications. However, the problem itself only manifests itself when a
user that is already logged into mantis follows the verification link.

Rather than forcefully restarting the session, the verification page now
logs out the existing user and then does a header redirect to itself to
allow the normal session init behavior to kick in.
mod - account_page.php Diff ] File ]
mod - verify.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2009-07-12 16:47 vboctor New Issue
2009-07-12 16:47 vboctor Note Added: 0022481
2009-07-12 18:12 vboctor Status new => confirmed
2009-07-13 10:19 jreese Note Added: 0022489
2009-07-13 10:19 jreese Assigned To => jreese
2009-07-13 10:19 jreese Status confirmed => assigned
2009-07-13 10:26 jreese Relationship added related to 0010187
2009-07-13 11:00 jreese Resolution open => fixed
2009-07-13 11:00 jreese Changeset attached master-1.1.x ea368049 =>
2009-07-13 11:00 jreese Changeset attached master-1.2.x 4f9d3515 =>
2009-07-13 11:00 jreese Changeset attached master c3a3ffe8 =>
2009-07-13 12:55 jreese Status assigned => resolved
2009-07-13 12:55 jreese Fixed in Version => 1.1.9
2010-04-23 23:22 dhx Status resolved => closed


MantisBT 1.2.16dev master-1.2.x-05091f5 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.0673 seconds.
memory usage: 2,824 KB
Powered by Mantis Bugtracker