ATutor

Learning Management Tools







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


problem with displaying test submissions


  • 2005-08-27 02:36:48

    problem with displaying test submissions

    Hi,

    Things to describe:
    operating system - RedHat 9
    version of ATutor - 1.5
    versions of php - php 4.2.2
    version of mysql - 3.23.54
    webserver & version - Apache 2.0
    web browser being used - IE 6.0

    When I want to view a test's submissions, I get this warnings:
    [blue]
    [b]Warning[/b]: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in [b]/var/www/html/PublicATutor/tools/tests/results.php on line 96[/b]

    [b]Warning[/b]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [b]/var/www/html/PublicATutor/tools/tests/results.php on line 99[/b][/blue]
    and the nothing is displayed in the submissions table.

  • 2005-08-29 17:58:36

    Can not reproduce

    We have not been abole to reprodcue this problem ourselves.

    Try yourself on the atutor.ca demo site and see if you can reproduce the problem there. It could be the version of PHP being used is the problem. 4.2.2 should work, though it is border line with the requirement (4.2). We try to keep 4.2 the minimum requirement, but occassionally one slips by.

    Try upgrading your php to a 4.3 + version of php.

    Also make sure register_globals is turned off in php.ini