Mosasauroidea / GazellePW

Movie-based Gazelle
MIT License
243 stars 58 forks source link

what is the default login info for amdin? #54

Closed johnsmithodom closed 7 months ago

johnsmithodom commented 1 year ago

After

Clone git clone https://github.com/Mosasauroidea/GazellePW.git cd GazellePW

Start docker-compose -p gazelle up

trying to login as: user: gazelle password: password on http://ipv4:9000/

( ! ) Fatal error: Uncaught DB_MYSQL_Exception: MySQL: Invalid Query: INSERT INTO login_attempts (UserID, IP, LastAttempt, Attempts) VALUES ('', '112.9.116.150', '2023-05-31 23:45:17', 1) SQL error: 1364 (Field 'BannedUntil' doesn't have a default value) in /var/www/classes/mysql.class.php on line 199

( ! ) DB_MYSQL_Exception: MySQL: Invalid Query: INSERT INTO login_attempts (UserID, IP, LastAttempt, Attempts) VALUES ('', '112.9.116.150', '2023-05-31 23:45:17', 1) SQL error: 1364 (Field 'BannedUntil' doesn't have a default value) in /var/www/classes/mysql.class.php on line 199

120318 commented 1 year ago

which os did you use?

johnsmithodom commented 1 year ago

Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy

johnsmithodom commented 1 year ago

which os did you use?

Distributor ID: Ubuntu Description: Ubuntu 22.04.2 LTS Release: 22.04 Codename: jammy

johnsmithodom commented 1 year ago

Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster

fresh debian has the same errors with same install method of docker.

120318 commented 1 year ago

I think it because of mysql's strict mode. I don't know why the mysql config file does no effect. maybe you should look the docker log when docker first up.