Giter Site home page Giter Site logo

Comments (7)

sunner avatar sunner commented on June 4, 2024

I guess this is not a oj bug. Suggests:

  1. Clear your browser's cache and retry.
  2. If 1 does not work, perhaps other modules which allow uploading files have the same problem. Right?

from moodle-local_onlinejudge.

baobosir avatar baobosir commented on June 4, 2024

不是浏览器的问题,我换了几个浏览器,包括Mac的,都是一样。
其它跟添加文件有关的模块,我都用过了,都没有发现问题。
我印象当中,一开始使用的时候,管理测试用例就是这样的状态,当时没有在意,因为编辑输入没有问题。
孙老师,你有空查查是不是模块本身有什么问题

from moodle-local_onlinejudge.

sunner avatar sunner commented on June 4, 2024

Oh, that's so bad!

Can you change the theme to standard and try again? And, if possible, open the javascript debug/console window, there should be some useful information. Thanks.

from moodle-local_onlinejudge.

baobosir avatar baobosir commented on June 4, 2024

错误: Y.one("#id_" + options.elementname) is null
源文件:http://211.80.185.6/moodle/lib/javascript.php?file=%2Flib%2Fform%2Ffilemanager.js&rev=175
行:1
我用firebox的错误控制台看到这样的信息有用吗?你用什么调试工具?

from moodle-local_onlinejudge.

baobosir avatar baobosir commented on June 4, 2024

警告: 搜索 选择器 时遇到不期望的文件结束符。
源文件:http://211.80.185.6/moodle/mod/assignment/type/onlinejudge/testcase.php?id=179
行:0
警告: 预期为属性名或者名字空间,但却得到 '0'。
源文件:http://211.80.185.6/moodle/mod/assignment/type/onlinejudge/testcase.php?id=179
行:0
错误: Y.one("#id_" + options.elementname) is null
源文件:http://211.80.185.6/moodle/lib/javascript.php?file=%2Flib%2Fform%2Ffilemanager.js&rev=175
行:1

from moodle-local_onlinejudge.

sunner avatar sunner commented on June 4, 2024

Sorry, I can not reproduce this bug on my site and have no ideas about it. The last suggest is upgrading both moodle and onlinejudge to the latest version.

from moodle-local_onlinejudge.

sunner avatar sunner commented on June 4, 2024

Since the issue is probably not related with oj, close.

from moodle-local_onlinejudge.

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.