ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Upgrade and tests


  • 2008-08-07 06:08:20

    Upgrade and tests

    Hi,
    We recently upgraded to the latest version of ATutor and have been ironing out some issues as a result of the upgrade. We have a problem with the tests we created in the earlier version which are not now showing in the new. When we click on the tests icon within a course, we receive an error message :

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mycourse/htdocs/ATutor/tools/my_tests.php on line 123

    Any help appreciated
    Cheers
    Jim

  • 2008-08-07 08:40:37

    Re: Upgrade - and tests

    Upgraded from which version?

  • 2008-08-07 08:55:22

    Re: Upgrade - and tests

    Not sure - where can I find version info ?
    Cheers,
    jim

  • 2008-08-07 09:05:46

    Re: Upgrade - and tests

    This is normally found on the administrator's opening screen, depending on the version.

  • 2008-08-07 09:07:48

    Re: Upgrade - and tests

    Hi Greg,
    But we've already upgraded to the new version - is there somewhere I can look in the old file system to find the version info that we upgraded from ?
    Cheers
    Jim

  • 2008-08-07 09:32:12

    Re: Upgrade - and tests

    look for something like the following in include/lib/constants.inc.php of the old installation.

    [php]


    define('VERSION', '1.6.1');

    [/php]

  • 2008-08-07 09:34:59

    Re: Upgrade - and tests

    Hi Greg,
    OK found it - version 1.5.4
    Thanks,
    Jim

  • 2008-08-07 09:36:06

    Re: Upgrade - and tests

    Did you do any customization to the codes?

  • 2008-08-07 09:38:59

    Re: Upgrade - and tests

    Hi Harris,
    No - no customisation of code. I assume you mean the php - not enough knowledge of this to alter without your guidance.
    Thanks
    Jim

  • 2008-08-07 10:07:36

    Re: Upgrade - and tests

    Hmm... Can I have your mysql version again please? thanks.

  • 2008-08-07 10:21:45

    Re: Upgrade - and tests

    Harris,

    mysql version is currently 5.0.27

    Cheers
    Jim

  • 2008-08-07 10:42:19

    Re: Upgrade - and tests

    Hi,

    Do you mind send the dump mysql database? Or at least the dump file on 3 tables: AT_tests, AT_tests_results, AT_tests_questions_assoc? You can use command line mysqldump or browser interface "phpmyadmin" to dump it.

    Please send the dump file to cindyqi.li at utoronto dot ca

    Thanks.