DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
738 stars 260 forks source link

Fatal error maybe related to PHP7 #302

Closed easior closed 7 years ago

easior commented 7 years ago

Domjudge is great. I downloaded domjudge-5.3.0 and built it on Fedora box. However, it can't work. Apache complains that [php7:error] [pid 752] [client 127.0.0.1:35876] PHP Fatal error: Cannot read database credentials file /etc/domjudge/dbpasswords.secret in /var/lib/domjudge/use_db.php on line 11 What's wrong with it?

matt-claycomb commented 7 years ago

Your dbpasswords.secret file probably isn't readable by the web server user/group

On Oct 26, 2017 3:00 AM, "Easior Lars" notifications@github.com wrote:

Domjudge is great. I built it on Fedora box. However, it can't work. Apache compains that [php7:error] [pid 752] [client 127.0.0.1:35876] PHP Fatal error: Cannot read database credentials file /etc/domjudge/dbpasswords.secret in /var/lib/domjudge/use_db.php on line 11 What's wrong with it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DOMjudge/domjudge/issues/302, or mute the thread https://github.com/notifications/unsubscribe-auth/AfcqWpkgHxM0b21ojo6l0eS6Dc9jH8Bbks5swDwggaJpZM4QHJ0- .

easior commented 7 years ago

Thanks a lot. I figure it out.