Open ngsankha opened 11 years ago
Hi, why I always got 'Submissions are closed now!' when I clicked Solve? I had set the Start Time and End Time, but it seems not working.
Hi @ticketa! Yes, this is a bug in the current master branch. While we are looking into it, you can try the last known good commit from 9a6d7864ea6888a8de3faed9fab66a303d1b583b. You can track the progress on that issue in #17.
Hi @sankha93, I have changed solve.php from 9a6d786, but I still got 'Submissions are closed now!' and the Run button cannot be clicked.
BTW, may I know what's the function of $accept['end'] and time()? Because after I changed the sign, from "if($accept['end'] < time())" to "if($accept['end'] > time())", and from "<?php if($accept['end'] > time()" to "<?php if($accept['end'] < time()", 'Submissions are closed now!' warning was disappeared, and the Run button can be clicked now. But it redirected to blank page eval.php, and there's no Submissions that I can see in the Submissions page.
Hi @sankha93, I have changed solve.php from 9a6d786, but I still got 'Submissions are closed now!' and the Run button cannot be clicked.
That is a working version, you can just download the zip and use it directly.
BTW, may I know what's the function of $accept['end'] and time()? Because after I changed the sign, from "if($accept['end'] < time())" to "if($accept['end'] > time())", and from "<?php if($accept['end'] > time()" to "<?php if($accept['end'] < time()", 'Submissions are closed now!' warning was disappeared, and the Run button can be clicked now. But it redirected to blank page eval.php, and there's no Submissions that I can see in the Submissions page.
That is an interesting observation, can you file an issue?
Hi @sankha93, I'm still new here, what is file an issue?
BTW, why I get redirected to a blank page eval.php after submit it, is there any error on this? And I tried to changed eval.php from "accept['end'] >time()" to "$accept['end'] <time()", it's not redirected to a blank page eval.php, but I got " Could not connect to the compiler server. Please contact the admin to solve the problem."
Hi @sankha93, I'm still new here, what is file an issue?
Can you go to this link: https://github.com/sankha93/codejudge/issues/new and write whatever problem you are having?
BTW, why I get redirected to a blank page eval.php after submit it, is there any error on this? And I tried to changed eval.php from "accept['end'] >time()" to "$accept['end'] <time()", it's not redirected to a blank page eval.php, but I got " Could not connect to the compiler server. Please contact the admin to solve the problem."
Did you go through this? https://github.com/sankha93/codejudge/wiki/Installing
OK, I have run the compiler now. But there's error when I tried to submit it: http://pastebin.com/X3Zt3V1p There's no err.txt and out.txt. And I always get "Your program output did not match the solution for the problem." (I'm using the older version 9a6d786)
Yes, Codejudge currently runs in Linux only, plans are there to port it to Windows.
The following problems are in effect after #18 has landed: