Giter Club home page Giter Club logo

Comments (16)

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

我急于像修复这个问题,毕竟已经因为各种技术问题把比赛从一月份延期到二月了

from uoj.

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

@roastduck @panda2134 @vfleaking @Pisces000221 我真的很急,比赛已经开始了,我的QQ消息都堆满了。全是告诉我不能进入比赛

from uoj.

vfleaking avatar vfleaking commented on June 2, 2024

我有点困惑,为什么报名人数是0人?之前大家没有报名吗

from uoj.

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

什么意思,不太理解

from uoj.

vfleaking avatar vfleaking commented on June 2, 2024

比赛开始前需要报名,报名之后才能参赛。你比赛开始前有让大家报名比赛吗?比赛开始后是无法报名的

from uoj.

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

是说需要提前报名吗?
如果是这个意思,那比赛过程中如何开放报名?

from uoj.

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

毕竟初中学生都还小,让他们一直看OJ不太现实,毕竟不可能让所有人一起点报名

from uoj.

vfleaking avatar vfleaking commented on June 2, 2024

比赛过程中开放报名需要自己改代码。鉴于你现在情况比较紧急,建议你把比赛的开始时间调到14:00,然后让大家赶紧报名,14:00再正式开赛

from uoj.

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

哦哦好,谢谢

from uoj.

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

那我想问一下需要改哪一些代码。docker进mysql似乎一直说permission denied,说不能以无密码的root的形式进入

from uoj.

vfleaking avatar vfleaking commented on June 2, 2024

不用进 mysql。改网页端代码就行

https://github.com/UniversalOJ/UOJ-System/blob/0d931e270b425b35fabb421ea21043ba2aaf9786/web/app/controllers/contest_registration.php#L10
这里 != CONTEST_NOT_STARTED 改成 <= CONTEST_IN_PROGRESS

https://github.com/UniversalOJ/UOJ-System/blob/0d931e270b425b35fabb421ea21043ba2aaf9786/web/app/controllers/contest_inside.php#L15
这里 becomeMsgPage(...); 改成 header("Location: /contest/{$contest['id']}/register"); die();

from uoj.

vfleaking avatar vfleaking commented on June 2, 2024

我急于像修复这个问题,毕竟已经因为各种技术问题把比赛从一月份延期到二月了

太惨了……刚上手确实会遇到不少麻烦,不好意思。不过你可以加 UOJ 开源群的,平时有问题可以在群里问,也可以私聊找我。群号是 590822951

from uoj.

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

嗯嗯,再打扰一下,网页端代码怎么改,教程里面没有……:-(

from uoj.

vfleaking avatar vfleaking commented on June 2, 2024

应该是在 /opt/uoj/web/ 这个目录下,找到我上面链接里的两个文件,然后改改就好

我主要在维护官网版,你用的是开源社区版。UOJ 的基本架构可以在这里找到:https://vfleaking.github.io/uoj/dev/ 官网版和开源社区版是类似的,只有些微小的差异

from uoj.

PythonSmall-Q avatar PythonSmall-Q commented on June 2, 2024

好,我试试。有问题再联系您,谢谢啦

from uoj.

vfleaking avatar vfleaking commented on June 2, 2024

好的 :)

from uoj.

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.