TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Empty Password list for all new users.

Open xvisor16 opened this issue 2 years ago • 1 comments

Steps to reproduce

  1. Install on Debian 11 with PHP 8.1.11 and MariaDB
  2. Add user to Teampass
  3. Create 2 basic folder as admin
  4. Create role for one of te folders
  5. Add user to the role
  6. Login as user

Expected behaviour

See the folders the user has access to and/or be able to add new items.

Actual behaviour

Empty display, only a key icons and the word Items is displayed. I can send a screenshot.

Server configuration

Operating system: Debian 11

Web server: Apache2

Database: MariaDB

PHP version: 8.1.11

Teampass version: 3.0.0.20 (github checkout)

Teampass configuration file:

Updated from an older Teampass or fresh install: Fresh install

PLEASE attach to this issue the file /includes/config/tp.config.php. Can't add any attachments?

Client configuration

Browser: Chrome and Edge Chromium (latest)

Operating system: Windows 10 and 11

Logs

Web server error log

Insert your webserver log here
No errors display at all.

#### Log from the web-browser developer console (CTRL + SHIFT + i)

Insert the log here and especially the answer of the query that failed. No errors at all only this warning: DevTools failed to load source map: Could not load content for https://URL REMOVED/plugins/summernote/summernote-bs4.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

I do see this in devtools: HTML VISIBLE: index.php?page=items:6346 index.php?page=items:6408 RESULTS for refresh_folders_other_info index.php?page=items:6409

So the 2 folders do get retrieved from DB... Am I doing something wrong? We've used the 2.x version for years now and newer had this error. (This is a completely new installation btw).

xvisor16 avatar Oct 16 '22 12:10 xvisor16

I've found the issue with this. Their seems to be a missing </div> on the <!-- SERVER UPDATE --> block in pages\items.php

xvisor16 avatar Oct 19 '22 09:10 xvisor16

Hum strange ...seems commit is broken ... perhaps one file is broken. Can you please overwrite with a new checkout .

nilsteampassnet avatar Oct 21 '22 16:10 nilsteampassnet

I did, but that didn't help. I had to add a </div> on line 927 of items.php. Now I found the following, I had set DEBUG to true in includes/config/include.php because at first I couldn't get ldap to work properly. Eventually I did but never disabled debugging. So if DEBUG == true there is a /div missing it seems,

xvisor16 avatar Oct 22 '22 10:10 xvisor16