You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-08-31 12:28:55

Jimmy.Zhu
Member
Registered: 2018-08-31
Posts: 1

There is a error when I login

"The action you have requested is not allowed." when I login GLPI using any account.

I confirm username and password is correct.

Is there anyone encounter it and help me to fix it?

My GLPI version is "glpi-9.2.4.tgz". Server is "CentOS Linux release 7.3"

Thanks,

Offline

#2 2018-09-04 15:18:49

fernando.medina
Member
Registered: 2016-02-23
Posts: 11

Re: There is a error when I login

Hi, I´ve have the same problem with an user, only one user. This user have a super-admin profile.

My GLPI version is 9.3, this user could login with 9.1.6 version.

Our autentication method is with Active Directory and our system is:

- Centos 6.10
- Apache 2.2.15
- PHP 5.6.37
- Mysql Community 5.7.23

When this user is login, we have this messages in log:

[2018-09-04 09:15:33] glpiphplog.WARNING: CommonDBTM::getFromDBByCrit() in /var/www/glpi/inc/commondbtm.class.php line 291
getFromDBByCrit expects to get one result, 2 found!  {"user":"@server.domain.local","mem_usage":"0.018\", 1.82Mio)"}
[2018-09-04 09:15:33] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 657
  *** PHP Notice(8): Undefined index: glpilanguage
  Backtrace :
  inc/html.class.php:1154
  inc/html.class.php:1823                            Html::includeHeader()
  front/login.php:88                                 Html::nullHeader()
  {"user":"@server.domain.local","mem_usage":"0.030\", 3.96Mio)"}
[2018-09-04 09:15:33] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 657
  *** PHP Notice(8): Undefined index:
  Backtrace :
  inc/html.class.php:1154
  inc/html.class.php:1823                            Html::includeHeader()
  front/login.php:88                                 Html::nullHeader()
  {"user":"@server.domain.local","mem_usage":"0.000\", 3.96Mio)"}

Offline

#3 2018-09-05 09:32:22

fernando.medina
Member
Registered: 2016-02-23
Posts: 11

Re: There is a error when I login

Good morning, finally i fixed the problem with this changes:

- I changed the user, name and surname in user tab in web.

- I rename the DN in database users tab .

- I rename the email address in database useremails tab.

- I logged in with user and he was created and he logged in without problems.

I hope the same solution works for you.

Offline

Board footer

Powered by FluxBB