Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

[Regression] Title missing and submission problem #26

Open
3 tasks
ngsankha opened this issue Jul 15, 2013 · 8 comments
Open
3 tasks

[Regression] Title missing and submission problem #26

ngsankha opened this issue Jul 15, 2013 · 8 comments
Labels

Comments

@ngsankha
Copy link
Owner

The following problems are in effect after #18 has landed:

@ticketa
Copy link

ticketa commented Jul 18, 2013

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.

@ngsankha
Copy link
Owner Author

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 9a6d786. You can track the progress on that issue in #17.

@ticketa
Copy link

ticketa commented Jul 19, 2013

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.

@ngsankha
Copy link
Owner Author

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?

@ticketa
Copy link

ticketa commented Jul 19, 2013

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."

@ngsankha
Copy link
Owner Author

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

@ticketa
Copy link

ticketa commented Jul 19, 2013

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)

@ngsankha
Copy link
Owner Author

Yes, Codejudge currently runs in Linux only, plans are there to port it to Windows.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants