ATutor

Learning Management Tools







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


integration between atutor and acontent


  • 2014-08-06 23:18:13

    integration between atutor and acontent

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:

    linux mint 17 cinnamon
    apache2 ver 2.4.7
    mysql ver 5.5.38
    php5 ver 5.5.9
    acontent-1.3

    Operating system ATutor is installed on -
    ATutor version -2.1.1
    Patch #s applied - all
    ATutor theme name -default
    PHP version -5.5.9
    MySQL version -5.5.38
    Webserver & version -apache2 2.4.7
    AContent-1.3
    Copies of error messages - " The following errors occurred: Import Failed "
    Changes to default settings -
    Web browser being used - firefox ver 28
    ...and anything else relevant -

    In both atutor and acontent each table is set as utf8-unicode-ci
    download a file into acontent from your website "Integrating AContent and ATutor"
    I can see the file in file manager and also in the home tab under my lessons.
    I want acontent to be the repository for atutor

    login as professor: this info come from acontent
    Web Service ID: be223fd11bcff4a6b7c7fe5ec2ff5979
    Below is a table of the parameters you can use to send a request to AContent to search
    through the repository by keywords. AContent returns the matching results in REST format.
    URL:
    http://acontent.local/search.php

    I went as admin into atutor into system preferences->acontent setup and enter the
    webservice id and the url them save.

    login as professor in atutor them go to my courses->manage->acontent(acontent), to do
    a search for "integrating acontent and atutor". the system return one result.
    now when I click on the down green arrow I get the following error
    "2 Empty keywords Empty web service ID. "
    the blue arrow take me to the import page and the following message show up
    " Notice: Constant AT_INCLUDE_PATH already defined in /home/prince/Webprojects/
    atutormods/_standard/tile_search/import.php on line 38 "

    after I click on import the following message come up
    " The following errors occurred: Import Failed "

    a new window open up that said " acontent importing in progress" the progress bar go
    on forever like a continous loop. I need help to solve this problem.
    I need to integrated the two program.

    Change that I done:
    firefox ->about config -> network.http.accept-encoding: gzip, deflate
    + network.http.accept-encoding: true


    /atutor/jscripts/tiny_mce/tiny_mce.js all entity encoding are "raw"
    entity_encoding||"raw"

  • 2014-08-07 09:23:41

    Re: integration between atutor and acontent

    Line 38 should be commented out:

    https://github.com/atutor/ATutor/blob/master/mods/_standard/tile_search/import.php#L38

    Also, if commenting out that line does not resolve the problem, you may want to try downgrading PHP to a version of 5.4. Those version of ATutor/AContent are untested with 5.5

  • 2014-08-08 08:30:01

    Re: integration between atutor and acontent

    http://atutor.local/mods/_standard/tile_search/index.php#search_results

    click on download (green arrow)
    http://acontent.local/search.php/home/ims/ims_export.php?course_id=2
    result: 2 Empty keywords Empty web service ID.

    click on blue arrow
    http://atutor.local/mods/_standard/tile_search/import.php?tile_course_id=2&title=Integrating+AContent+and+ATutor+-+Integrating+AContent+and+ATutor

    them click on import on the left side

    the following win popup with the mesage - AContent importing in progress
    http://atutor.local/tools/prog.php?tile=1
    and on the following page
    http://atutor.local/mods/_core/imscp/index.php

    The following errors occurred:
    Import Failed

    after commenting out line 38 on mods/_standard/tile_search/import.php#L38
    // define('AT_INCLUDE_PATH', '../../../include/');

  • 2014-08-08 09:05:50

    Re: integration between atutor and acontent

    Local links will not work if your think we might take a look. They are only available on the local computer.

    You should try connecting to the public AContent at

    https://acontent.atutorspaces.com

    Create an account there, then copy the key from your account profile.

    Did you try downgrading PHP?