Can't log in using "admin 123456" when installing ZenTao for the first time, no other prompts
2022-03-08 10:20:12
Philip Douglas
  • Visit: 2
  • Join Date: 2022-03-08
  • Last Login: 2022-03-08
  • My Point: 0
  • PartyLevel: No Party

Can't log in using "admin 123456" when installing ZenTao for the first time, There are no other prompts


<?php
$config->installed       = true;
$config->debug           = false;
$config->requestType     = 'PATH_INFO';
$config->db->host        = '127.0.0.1';
$config->db->port        = '3306';
$config->db->user        = 'root';
$config->db->prefix      = 'zt_';
$config->webRoot         = getWebRoot();

$config->db->name      = 'zentao';

$config->db->password    = 'JzsSV60qNDA';

$config->default->lang = 'zh-cn'; 

2022-03-08 10:24:59
Philip Douglas
  • Visit: 2
  • Join Date: 2022-03-08
  • Last Login: 2022-03-08
  • My Point: 0
  • PartyLevel: No Party
Hello, what web service is used for source package deployment? Is it apache+mysql+php or Nginx+php-fpm?
You can try a line to the my.php file $config->framework->filterCSRF = false and check it after logging in
2022-04-14 06:12:45
Andrey
  • Visit: 13
  • Join Date: 2021-03-07
  • Last Login: 2022-04-14
  • My Point: 0
  • PartyLevel: No Party
I have the same problem. Updated to version 16.5, worked for several days, and now suddenly an error appeared:

Login failed. Please check your account and password.

I tried to change the password in the database to e10adc3949ba59abbe56e057f20f883e, but it doesn't accept 123456 either.

$config->framework->filterCSRF = false;
in my.php doesn't help.

How to solve this issue?
#3
2022-04-14 06:16:49
Andrey
  • Visit: 13
  • Join Date: 2021-03-07
  • Last Login: 2022-04-14
  • My Point: 0
  • PartyLevel: No Party

I remembered that today there was an update of php-fpm from version 7.4.28 to 7.4.29 and I forgot to run the command: chmod 777 /var/lib/php/session

Now everything works ok.

1/1