TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Folders and Passwords are empty (!) after update from 2.1.27.36 to 3.0.0.19

Open pat75007 opened this issue 2 years ago • 5 comments

Steps to reproduce

  1. Update from 2.1.27.36 to 3.0.0.19 following this procedure : https://documentation.teampass.net/#/start?id=upgrading-from-2x-branch
  2. Everything is ok, None error nor Warning.
  3. Restart Apache2. Login for the first time and using the Ont-Time Code. No error.

Expected behaviour

Tell us what should happen

Actual behaviour

I can not see my Directories and password. Everything is empty. Even if i connect using the Admin account. Everything is empty (directories, roles, users...). I do not have change database settings into settings.php. And i have an error message at the bottom of the page : Bugs." onclick="generateBugReport()">

Server configuration

Operating system: Debian GNU/Linux 10 (buster)

Web server: Apache/2.4.38 (Debian) Capture

Database: mariadb Ver 15.1 Distrib 10.3.36-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

PHP version: PHP 7.4.30 (cli) (built: Sep 18 2022 12:49:13) ( NTS )

Teampass version: 3.0.0.19

Teampass configuration file:

Updated from an older Teampass or fresh install: PLEASE attach to this issue the file /includes/config/tp.config.php.

Client configuration

Browser: Google Chrome Version 105.0.5195.127 (Build officiel) (64 bits)

Operating system: Windows 10

Logs

Web server error log

[Fri Sep 23 19:44:51.353245 2022] [php7:notice] [pid 912] [client 10.10.10.85:31359] PHP Notice:  Trying to access array offset on value of type bool in /var/www/html/digipass.fcd-fr.local/sources/main.functions.php on line 74, referer: https://digipassv3.fcd-fr.local/
[Fri Sep 23 19:46:39.853628 2022] [php7:notice] [pid 914] [client 10.10.10.85:31415] PHP Notice:  Undefined index: en_lang in /var/www/html/digipass.fcd-fr.local/sources/main.functions.php on line 74, referer: https://digipassv3.fcd-fr.local/index.php?page=admin
[Fri Sep 23 19:46:39.853686 2022] [php7:notice] [pid 914] [client 10.10.10.85:31415] PHP Notice:  Trying to access array offset on value of type null in /var/www/html/digipass.fcd-fr.local/sources/main.functions.php on line 74, referer: https://digipassv3.fcd-fr.local/index.php?page=admin

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

index.php?page=items:3775 Uncaught SyntaxError: missing ) after argument list (at index.php?page=items:3775:21)
Échec du chargement de la carte source par les Outils de développement : Impossible de charger le contenu de https://digipassv3.fcd-fr.local/plugins/summernote/summernote-bs4.css.map : Erreur HTTP : code d'état 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
jquery.min.js:2 [Violation] 'load' handler took 225ms
9[DOM] Password field is not contained in a form: (More info: <URL>) 
index.php:1 [DOM] Input elements should have autocomplete attributes (suggested: "current-password"): (More info: https://goo.gl/9p2vKq) <input id=​"form-item-password" type=​"password" class=​"form-control form-item-control" placeholder=​"Password" data-field-name=​"pwd" data-change-ongoing>​
jquery.min.js:2 [Violation] 'setTimeout' handler took 186ms

tp.config.php.txt

pat75007 avatar Sep 23 '22 18:09 pat75007

Hello, I have the same problem since update to 3.0.019 from 3.0.0.17. It is the encoding of the outsourced character strings that is the problem for javascript. I have modified file ./source/main.functions.php line 84 to be similar to version 3.0.0.17 which works:

return $session_language; become return str_replace( ["'"], ['&apos;'], $session_language );

loutremaline avatar Sep 25 '22 20:09 loutremaline

i confirme, it works. thanks.

pat75007 avatar Sep 26 '22 06:09 pat75007

i always have this displayed at the bottom of each screen : Capture

pat75007 avatar Sep 26 '22 06:09 pat75007

i always have this displayed at the bottom of each screen : Capture

I have the same issue, any fix?

ArnOCP avatar Sep 29 '22 13:09 ArnOCP

to fix the "Bugs onclick...." issue, search 'bug_page' in your language file, stored in /include/language, and remove the HTML code. I juste change it on POEditor for french language.

ServiceMRE avatar Oct 03 '22 20:10 ServiceMRE