Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening a one time view page give a notice: A session had already been started.... #1833

Closed
byeight opened this issue Jul 26, 2017 · 1 comment

Comments

@byeight
Copy link

byeight commented Jul 26, 2017

Steps to reproduce

  1. Select the "One time view link" and copy the link
  2. Open the link on another pc
  3. The One time view link page opens with the notice

Expected behaviour

To see only the one time view page, without notice.

Actual behaviour

It displays the requested page and an extra message:
Notice: A session had already been started - ignoring session_start() in C:\wamp64\www\teampass\otv.php on line 16

1 | 0.0022 | 527456 | {main}( ) | ...\index.php:0
2 | 0.0738 | 3376584 | include( 'C:\wamp64\www\teampass\otv.php' ) | ...\index.php:451
3 | 0.0739 | 3376584 | session_start ( ) | ...\otv.php:16

Server configuration

Operating system: Windows server 2012 R2

Web server: Apache 2.4.23

Database: MySQL 5.7.14

PHP version: 7.0.10

Teampass version: Latest, 2.1.27.7

Updated from an older Teampass or fresh install: Fresh install

Client configuration

Browser:: Firefox 54.0.1 and Edge

Operating system: Windows 10

Logs

Web server error log

Insert your webserver log here

Firebug log (How to?)

Insert the Firebug log here
@nilsteampassnet
Copy link
Owner

A fix was committed recently for this in 'development' branch.

Thanks for reporting

nilsteampassnet added a commit that referenced this issue Jul 27, 2017
Code review
Fix for #1834, #1833, #1830, #1829, #1820
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants