ATutor

Learning Management Tools







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


Different PHP versions creating different effects


  • 2009-06-10 00:45:09

    Different PHP versions creating different effects

    Hello.

    I'm modifying various test result files and I was working on matching_result.tmpl.php. I made the revisions I wanted on a webhost server with PHP version 5.2.5 (webhost 1) and everything worked fine. Then when I transferred the file to a different webhost with PHP version 5.2.4 (webhost 2) there is one thing that will not work.

    I was modifying the file (attached) to show the user's answer and also the correct answer. On webhost 2, if the user answers correctly, everything works fine. If the user answers incorrectly, their answer will not be displayed. However, on webhost 1, everything works just fine.

    I cannot figure out what the difference is. Any ideas?


    Webhost 1....
    Operating system ATutor is installed on - Linux
    ATutor version - 1.6.2
    Patch #s applied - All patched
    ATutor theme name - Default
    PHP version - 5.2.5
    MySQL version - 5.0.45
    Webserver & version - Debian ????


    Webhost 2....
    Operating system ATutor is installed on - Linux
    ATutor version - 1.6.2
    Patch #s applied - All patched
    ATutor theme name - Default
    PHP version - 5.2.4
    MySQL version - 5.1.30
    Webserver & version - Apache 2.2.11 ?????

  • 2009-06-10 00:58:27

    Re: Different PHP versions creating different effects?

    Update: Apparently the problem is particular to one matching question on one test. Other matching test results display fine on webhost 2.

    The only difference between this question and any other question is that this one contains <sup> and </sup> tags to try to display exponents.

    If that gives anyone an idea, great. Otherwise, don't worry about it because if it ends up only effecting one question, I can live with that. :)

    Thanks.

  • 2009-06-10 08:50:35

    Re: Different PHP versions creating different effects?

    Thanks for the great detail. We'll watch to see if this problem occurs for others.