DOMjudge / domjudge

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

Domjudge keeps Not Authenticated #149

Closed nielswiles closed 9 years ago

nielswiles commented 9 years ago

Hi, I am trying to install DOMjudge 4.0.4 in my new VPS. After I run ./configure and make, and config database, I go to the login page at: /jury/. When I submit the username and password: admin/admin, nothing happened. It send me back to the /jury/ and the header Not Authenticated. I try to change the password or login with different like judgehost but the same thing happened too. If I enter the wrong password, It will notice that "Invalid username or password supplied. Please try again or contact a staff member." so I don't think that is about the database connection or the wrong password. You can see it at: http://judge.code.pro.vn/ with: admin/123456 or judgehost/judge. I have checked all the files index.php init.php auth.php but I don't found anything wrong. Anybody have a solution for this issues?

eldering commented 9 years ago

Hi Niels,

Please have a look in the apache log and error files, and post the contents, or send it to domjudge@a-eskwadraat.nl or the mailinglist domjudge-devel@a-eskwadraat.nl.

On 16/11/14 12:26, nielswiles wrote:

Hi, I am trying to install DOMjudge in my new VPS. After I run ./configure and make, and config database, I go to the login page at: /jury/. When I submit the username and password: admin/admin, nothing happened. It send me back to the /jury/ and the header Not Authenticated. I try to change the password or login with different like judgehost but the same thing happened too. If I enter the wrong password, It will notice that "Invalid username or password supplied. Please try again or contact a staff member." so I don't think that is about the database connection or the wrong password. You can see it at: http://judge.code.pro.vn/ with: admin/123456 or judgehost/judge. I have checked all the files index.php init.php auth.php but I don't found anything wrong. Anybody have a solution for this issues?

— Reply to this email directly or view it on GitHub https://github.com/DOMjudge/domjudge/issues/149.

nielswiles commented 9 years ago

It said: "[Sun Nov 16 20:32:29 2014] [error] [client 108.61.160.191] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0, referer: http://judge.code.pro.vn/jury/". I chmod that path and everything work fine. Thanks!