View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Strange problem with a new installation 8.1.2 - ProjeQtOr
 
 

Strange problem with a new installation 8.1.2

More
23 Jul 2019 17:11 #1 by surfufu
using mysql

I had been able to create 2 users, I closed the guest, for all the next users created, it was impossible to login / change the password

log :

2019-07-23 16:39:54.716 ***** ERROR ***** [V8.1.2] on file '/var/www/html/Prj3dRTeam/model/UserMain.php' at line (436)
2019-07-23 16:39:54.716 ***** ERROR ***** [V8.1.2] cause = Undefined index:
2019-07-23 16:40:33.230 ***** ERROR ***** [V8.1.2] ERROR *****
2019-07-23 16:40:33.230 ***** ERROR ***** [V8.1.2] on file '/var/www/html/Prj3dRTeam/model/UserMain.php' at line (436)
2019-07-23 16:40:33.230 ***** ERROR ***** [V8.1.2] cause = Undefined index:
2019-07-23 16:40:58.731 ***** ERROR ***** [V8.1.2] ERROR *****

fix :

I realized that the problem was link to the id 123 of the table accessright with the value #10 to idAcessProfile

the last id of the table accessprofile was #9 and not #10 ... after a little research in the *.sql file i found :
-- V8.1 : remove this accessprofile which is no used
--INSERT INTO `${prefix}accessprofile` (`id`,`name`,`description`,`idAccessScopeRead`,`idAccessScopeCreate`,`idAccessScopeUpdate`,`idAccessScopeDelete`,`sortOrder`,`idle`) values 
--(10,'accessReadOwnOnly',null,2,1,1,1,900,0);

INSERT INTO `${prefix}accessright` (`idProfile`, `idMenu`, `idAccessProfile`) VALUES
(1, 91, 1),
(2, 91, 1),
(3, 91, 1),
(4, 91, 10),
(6, 91, 10),
(7, 91, 10),
(5, 91, 10);

and this look like my problem ... so i added the id #10 with
(10,'accessReadOwnOnly',null,2,1,1,1,900,0) in accessprofile


and now it's work ...

even if I don't understand where why I need the id #10 as it look like it had been removed if the 8.1

maybe it's because I canceled the guest ?

have a good day :)

Please Log in or Create an account to join the conversation.

More
25 Jul 2019 16:43 #2 by babynus
It seems you "closed" an accessScope (screen "Access mode") that was still used by "Access to Data".
After closing an "access mode", you sould take care that all "Access to data" are still relevant.

We'll add a fix in next patch to avoid raising an error.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
25 Jul 2019 17:08 #3 by surfufu
I closed the guest to avoid the guest access ... look like the problem

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.032 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.