Giter Site home page Giter Site logo

Comments (8)

ticketa avatar ticketa commented on September 24, 2024

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.

from codejudge.

ngsankha avatar ngsankha commented on September 24, 2024

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.

from codejudge.

ticketa avatar ticketa commented on September 24, 2024

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.

from codejudge.

ngsankha avatar ngsankha commented on September 24, 2024

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?

from codejudge.

ticketa avatar ticketa commented on September 24, 2024

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

from codejudge.

ngsankha avatar ngsankha commented on September 24, 2024

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

from codejudge.

ticketa avatar ticketa commented on September 24, 2024

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)

from codejudge.

ngsankha avatar ngsankha commented on September 24, 2024

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

from codejudge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.