{"action":"created","issue":{"url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1345","repository_url":"https://api.github.com/repos/nilsteampassnet/TeamPass","labels_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1345/labels{/name}","comments_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1345/comments","events_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1345/events","html_url":"https://github.com/nilsteampassnet/TeamPass/issues/1345","id":161666893,"number":1345,"title":"Admin, password change and logoff not working","user":{"login":"Hyrules","id":3161577,"avatar_url":"https://avatars.githubusercontent.com/u/3161577?v=3","gravatar_id":"","url":"https://api.github.com/users/Hyrules","html_url":"https://github.com/Hyrules","followers_url":"https://api.github.com/users/Hyrules/followers","following_url":"https://api.github.com/users/Hyrules/following{/other_user}","gists_url":"https://api.github.com/users/Hyrules/gists{/gist_id}","starred_url":"https://api.github.com/users/Hyrules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hyrules/subscriptions","organizations_url":"https://api.github.com/users/Hyrules/orgs","repos_url":"https://api.github.com/users/Hyrules/repos","events_url":"https://api.github.com/users/Hyrules/events{/privacy}","received_events_url":"https://api.github.com/users/Hyrules/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-22T12:19:16Z","updated_at":"2016-06-22T13:58:55Z","closed_at":null,"body":"### Teampass version:\r\n2.1.26.8\r\n\r\n### Wamp Version:\r\nwampserver3_x64_apache2.4.17_mysql5.7.9_php5.6.16_php7.0.0\r\n\r\n### Operating system (Linux / Windows):\r\nWindows server 2012 R2\r\n\r\n### Apache version:\r\n2.4.17\r\n\r\n### MySQL version:\r\n5.7.9\r\n\r\n### PHP version:\r\n5.6.16\r\n\r\n### Browser and version\r\nChrome 51.0.2704.103 and IE 11.0.96000.18314\r\n\r\n### Expected behavior\r\nCreate an admin user and allow password change as well as logoff\r\n\r\n### Actual behavior\r\nDoes not create admin user at setup and does not allow first password change and well as logoff.\r\n\r\n### Steps to reproduce\r\nInstall TeamPass.\r\nTry to login with admin. ( no admin user is created in the user table and admin does not work)\r\nif for any reason I was able to login the logoff and password change does not work.\r\n\r\nInstallation goes well. There is no error in the console of Chrome. \r\n\r\nHere is the error log : \r\n\r\n[22-Jun-2016 11:49:22 UTC] PHP Notice:  Undefined index: settings in D:\\wamp64\\www\\teampass\\sources\\main.queries.php on line 22\r\n[22-Jun-2016 11:49:22 UTC] PHP Stack trace:\r\n[2-Jun-2016 11:49:22 UTC] PHP   1. {main}() D:\\wamp64\\www\\teampass\\sources\\main.queries.php:0\r\n[22-Jun-2016 11:49:22 UTC] PHP Warning:  include(/error.php): failed to open stream: No such file or directory in D:\\wamp64\\www\\teampass\\sources\\main.queries.php on line 22\r\n[22-Jun-2016 11:49:22 UTC] PHP Stack trace:\r\n[22-Jun-2016 11:49:22 UTC] PHP   1. {main}() D:\\wamp64\\www\\teampass\\sources\\main.queries.php:0\r\n[22-Jun-2016 11:49:22 UTC] PHP Warning:  include(): Failed opening '/error.php' for inclusion (include_path='.;C:\\php\\pear') in D:\\wamp64\\www\\teampass\\sources\\main.queries.php on line 22\r\n[22-Jun-2016 11:49:22 UTC] PHP Stack trace:\r\n[22-Jun-2016 11:49:22 UTC] PHP   1. {main}() D:\\wamp64\\www\\teampass\\sources\\main.queries.php:0\r\n\r\nI have tested it in Internet explorer and it seems to work as intended for the install  but the password change function and the logoff does not work.\r\n\r\nWhen I login with a created user and try to change my password as soon as I enter my password for the first time there is an error on the console of IE when I change from the first password field to the second. On line 5094 of jquery : object does not manage the property or method \"apply\". Clicking on change on refreshes the page then logoff and other pages does not work,\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/comments/227752031","html_url":"https://github.com/nilsteampassnet/TeamPass/issues/1345#issuecomment-227752031","issue_url":"https://api.github.com/repos/nilsteampassnet/TeamPass/issues/1345","id":227752031,"user":{"login":"girishkg","id":4685602,"avatar_url":"https://avatars.githubusercontent.com/u/4685602?v=3","gravatar_id":"","url":"https://api.github.com/users/girishkg","html_url":"https://github.com/girishkg","followers_url":"https://api.github.com/users/girishkg/followers","following_url":"https://api.github.com/users/girishkg/following{/other_user}","gists_url":"https://api.github.com/users/girishkg/gists{/gist_id}","starred_url":"https://api.github.com/users/girishkg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girishkg/subscriptions","organizations_url":"https://api.github.com/users/girishkg/orgs","repos_url":"https://api.github.com/users/girishkg/repos","events_url":"https://api.github.com/users/girishkg/events{/privacy}","received_events_url":"https://api.github.com/users/girishkg/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T13:58:55Z","updated_at":"2016-06-22T13:58:55Z","body":"This is the code in file (main.queries.php) at 22\r\n\r\n**require_once 'sessions.php';\r\nsession_start();\r\nif (!isset($_SESSION['CPM']) || $_SESSION['CPM'] != 1) {\r\n    $_SESSION['error']['code'] = \"1004\"; //Hacking attempt\r\n    include $_SESSION['settings']['cpassman_dir'].'/var/www/html/error.php';\r\n    exit();\r\n}**\r\n"}}
{"actor":{"display_login":"girishkg"}}