ATutor

Learning Management Tools







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


content doesnt show after adding a new content page


  • 2008-01-14 17:22:11

    content doesnt show after adding a new content page

    Hi, I just added a new content page to an existing course, and then moved the page up above on of its siblings - at this point Atutor returned a blank page - tabs etc are there, as is the label saying Home etc, but no sidebar, no calendar, nothing. If I go to manage and creat create content I get the usual window, and if i click on properties I see a hierarchy of just welcome to Atutor (which was therebefore, and introcution to the course, but none of the other content - at the bottom of the page is :

    //<!-- var selected; function rowselect(obj) { obj.className = 'selected'; if (selected && selected != obj.id) document.getElementById(selected).className = ''; selected = obj.id; } function rowselectbox(obj, checked, handler) { var functionDemo = new Function(handler + ";"); functionDemo(); if (checked) obj.className = 'selected'; els

    Mysql still appears to have the content within it

    so what has happened?? I have never had a problem moving vcontent around before - is this just a db glitch? Can I fix it - I was doing the final tweaks before serving the course on wednesday!

    Any help greatfully received at this time


    Paddy


    operating system -OS X (XServe, with OS X 10.3.9)
    version of ATutor -currently 1.6.2
    versions of php -4.4.4
    version of mysq l -4.1.22
    webserver & version -Apache 1.3.33
    copies of error messages -

    File Integrity Detected Status
    Case Sensitivity Ignored
    PHP Options Detected Status
    PHP 4.3.0+ 4.4.4
    zlib Enabled
    mysql Enabled
    safe_mode = Off Off
    file_uploads = On On
    upload_max_filesize >= 2 MB 260M
    post_max_size >= 8 MB 260M
    sessions Enabled
    session.auto_start = 0 0
    session.save_path Directory Writeable
    . in include_path Enabled
    MySQL Options Detected Status
    MySQL 4.0.2+ Found Unknown Version (is 4.1.22)
    changes to default settings -
    web browser being used - Safari and Firefox

  • 2008-01-14 17:27:13

    Re: content doesn't show after adding a new content page

    just to correct - Atutor is 1.5.5 (was getting ahead of myself!)

    Paddy

  • 2008-01-14 17:43:39

    Re: content doesn't show after adding a new content page

    Ok - have solved it I think- looking the AT_content table my main content area for this module had given itself the same content_parent_id as all the other sub-content pages so impossible to generate a sensible hierarchy so it fell over.I don't know how this happened though? fixed by typing in the correct content_parent_id - could this have happened by accident or is it a potential bug - if so it may need something to stop it happening for others. I am positive I didn't do this deliberately as I was working on content one hierarchy below the problem?


    regards

    Paddy

  • 2008-01-14 17:58:37

    Re: content doesn't show after adding a new content page

    It should not be able to happen by accident. See if you can reproduce the problem.

    There was a problem with pages loosing there parent/child relationships back many versions ago, but we haven't seen that happen for quite some time. We never did figure out why it was happening. Possibly something database related. It just went away as both Mysql and PHP advanced.

  • 2008-01-14 18:09:31

    Re: content doesn't show after adding a new content page

    Hi Greg, thanks for the reply,
    I have moved the content again with success, but I wonder if it was because i originally moved it multiple steps through it's siblings before saving? This time I moving it one at a time just as a precaution - I will try it again on a separate test course I have running and see if I can repoduce the error. (doesn't matter if I break it!) will hava look through the error logs on the server also incase it was due to an odd http request

    Paddy