Giter Site home page Giter Site logo

Comments (5)

sunner avatar sunner commented on May 24, 2024

Ah, it is terriable.

You must not use MySQL, do you? If no, please tell me which db engine are you using. (postgres? I guess)

In recent updates, I change the fields related with users' program output and testcase data from text type to binary type. This leads to two benefits:

  1. Ability to process more charsets
  2. Ability to judge programs input/output binary data

It seems that your db engine does not support this kind of alerting. Tell me what it is and perhaps we can find the solution.

from moodle-local_onlinejudge.

lchorbadjiev avatar lchorbadjiev commented on May 24, 2024

Yes, you are right: I'm using PostgreSQL 8.4.9. Hopes this helps.

from moodle-local_onlinejudge.

sunner avatar sunner commented on May 24, 2024

I am sure that this is a problem under postgresql. There is also other people met the same problem, like http://bytes.com/topic/postgresql/answers/174532-cast-text-bytea . PostgreSQL does not support cast a column from text to bytea

I have no idea on how to solve this. Perhaps a totally new installation will work. If you want to reserve current data, you can try edit db/upgrade.php, remove two code blocks begin with "if ($oldversion < 2011092200) {" and "if ($oldversion < 2011102401) {", then upgrade as usual. This will keep the fields in text type.

from moodle-local_onlinejudge.

lchorbadjiev avatar lchorbadjiev commented on May 24, 2024

If I want to make fresh install of onlinejudge, which tables I should remove?

from moodle-local_onlinejudge.

sunner avatar sunner commented on May 24, 2024

You can uninstall it in moodle by accessing http://yoursite.domain/admin/localplugins.php.

If the reinstallation works, please let me know. Thank you.

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.