ATutor

Learning Management Tools







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


Double Quotes after upgrade


  • 2013-09-10 06:21:53

    Double Quotes after upgrade

    Hi Greg,

    I've recently upgraded an ATutor installation from 1.6.2 to 2.1.1 and I've noticed that when ATutor tries to render the HTML from questions in the question bank, that it adds an extra double quote around the existing attribute values causing the image src (and other attributes) to become invalid. I checked the ATutor forum and noticed that other users described a similar scenario but I was unable to find a solution. After doing some more research through Google it seem that it might be something to do with UTF8 encoding?

    I tried creating a new question and adding an image but it results with two double quotes as well so I doubt it's isolated to the old questions.

    Have you come across a solution to this or can you suggest where I should start looking for the cause?


    Operating system ATutor is installed on - linux
    ATutor version - 2.1.1 (from 1.6.2)
    Patch #s applied - default 2.1.1 patches plus custom
    ATutor theme name - custom
    PHP version - 5.3.27
    MySQL version - 5.5.32-cll
    Webserver & version - Apache version 2.2.25
    Copies of error messages -
    Changes to default settings -
    Web browser being used - Firefox 23.0.1

  • 2013-09-10 06:26:55

    Re: Double Quotes after upgrade

    Forgot to attach the screen shot. Have also checked the HTML code in the database and it's valid.

  • 2013-09-17 19:28:45

    Re: Double Quotes after upgrade

    The double quotes issue was fixed in patch 5 for ATutor 2.0.3 (see http://atutor.ca/view/7/22854/1.html for more details).

    I'm guessing this issue occurred for me because of custom theme files during an upgrade from 1.6.2 to 2.1.1. I was able to use a modified version of the patch file located here (http://update.atutor.ca/patch/2_0_3/2_0_3-5/patch.xml) to patch my custom theme files.

    This is likely to be the same issue that causes images to not display in questions which other users have posted about in these forums.