Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0010714mantisbtbugtrackerpublic2010-04-23 23:22
Reportervboctor Assigned Tojreese  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version1.1.9 
Summary0010714: Got PHP notice due to session already started
Description

PHP Notice: A session had already been started - ignoring session_start().

See steps to repro

Steps To Reproduce
  1. 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.

Relationships

related to 0010187 closedjreese Using dession destroy and unset for logout 

Activities

vboctor

vboctor

2009-07-12 16:47

manager   ~0022481

Reminder sent to: dhx, jreese

@jreese, @dhx -- check this out.

jreese

jreese

2009-07-13 10:19

reporter   ~0022489

Confirmed/investigating

Related Changesets

MantisBT: master-1.1.x ea368049

2009-07-13 10:48

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.
Affected Issues
0010187, 0010714
mod - account_page.php Diff File
mod - verify.php Diff File

MantisBT: master-1.2.x 4f9d3515

2009-07-13 10:48

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.
Affected Issues
0010187, 0010714
mod - account_page.php Diff File
mod - verify.php Diff File

MantisBT: master c3a3ffe8

2009-07-13 10:48

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.
Affected Issues
0010187, 0010714
mod - account_page.php Diff File
mod - verify.php Diff File