Forum

500 internal server error

I am getting 500 internal server error when i access the tao test from moodle instance.
I integrated the tao and moodle. created the test also. But when i access the test as a test taker from moodle i am getting the error.

Comments

  • Can you provide more information such as the error from the logs and the version of Tao?

    Thanks,

    Amy

  • Hi Amy, Thanks for the response. I am using TAO 3.2.0 and Moodle 3.6.
    I have integrated tao as an activity in Moodle. I could see the test name and number of executions correctly as a Moodle admin. But when i try to launch the test as a student i am getting "500 - Internal server error". Which is not logged in both Moodle and TAO logs.

  • You may wish to set the system to debug by updating config/generis.conf.php. No restart will be needed and that may provide you with more information.

    Thanks,

    Amy

  • That really helps. I am getting following error in debug mode.
    SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'http://localhost:1234/taotest/taotest.rdf#i1552464430965124' for key 'PRIMARY'

  • So that means there's already a DB entry with the primary key you're trying to bring over. You might want to make a copy of the DB then remove the item and try again.

    Thanks,

    Amy

  • Yes in DB there is a duplicate. But removing the DB entry wont solve the issue right. Can you please let me know is there any known issue raised for this issue. Any work in progress. Thanks for the support.

  • Removing the entry would let you re-import without the conflict. There are currently no open issues but you may wish to try Tao 3.3, RC01 https://github.com/oat-sa/package-tao/releases/tag/v3.3-rc01

    Thanks,

    Amy

Sign In or Register to comment.

We use cookies on our website to support technical features that enhance your user experience. Cookie Policy Privacy Policy

×