ATutor

Learning Management Tools







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


Not returning data from clean install


  • 2010-11-02 09:30:01

    Not returning data from clean install

    Ok so heres the problem ATutor isnt pulling important data that it should be from the database. Heres some screenshots of the data:

    http://img828.imageshack.us/img828/4365/95092336.png
    http://img214.imageshack.us/img214/3540/48596338.png
    http://img837.imageshack.us/img837/7131/29806621.png

    Note: These pictures arent from a clean install but this is also happening when I do a clean install on both of my hosts (which are both running the same config).

    I have looked on the database and the data has been inserted fine, it just wont be returned.

    Note: I noticed when I log into my phpmyadmin on both my web hosts there is a little messege at the bottom saying certain settings have been disabled. Which are:

    $cfg['Servers'][$i]['pmadb'] ... not OK [ Documentation ]
    $cfg['Servers'][$i]['relation'] ... not OK [ Documentation ]
    General relation features: Disabled

    $cfg['Servers'][$i]['table_info'] ... not OK [ Documentation ]
    Display Features: Disabled

    $cfg['Servers'][$i]['table_coords'] ... not OK [ Documentation ]
    $cfg['Servers'][$i]['pdf_pages'] ... not OK [ Documentation ]
    Creation of PDFs: Disabled

    $cfg['Servers'][$i]['column_info'] ... not OK [ Documentation ]
    Displaying Column Comments: Disabled
    Browser transformation: Disabled

    $cfg['Servers'][$i]['bookmarktable'] ... not OK [ Documentation ]
    Bookmarked SQL query: Disabled

    $cfg['Servers'][$i]['history'] ... not OK [ Documentation ]
    SQL history: Disabled

    $cfg['Servers'][$i]['designer_coords'] ... not OK [ Documentation ]
    Designer: Disabled

    Not sure whether these settings will make a difference but thought it was necassary to add them.

    Any help would be much appreciated as Im pretty stuck for any clues as to what might be happening.

    Thanks in advance!



    Additional Info:
    Operating system ATutor is installed on - Linux
    ATutor version - 2.0.1
    Patch #s applied - N/A (Clean install)
    ATutor theme name - Default
    PHP version - 5.2.14
    MySQL version - 5.1.48
    Webserver & version - Apache/2
    Copies of error messages - None
    Changes to default settings - None
    Web browser being used - N/A

  • 2010-11-02 10:59:01

    Re: Not returning data from clean install.

    Forgot to add.

    Additional Information:

    I have an old version of ATutor still installed on one of my web servers 1.x.x where the problem stated above IS NOT happening.

  • 2010-11-02 13:47:13

    Re: Not returning data from clean install.

    Thanks for the report.
    I will add this to the bug tracker and put out a patch asap.

  • 2010-11-02 13:52:21

    Re: Not returning data from clean install.

    Regarding to http://img837.imageshack.us/img837/7131/29806621.png, I am not too sure why the content isn't showing. I see the 3 content pages you have on the side menu.

    Just want to confirm this, can you try creating a new course and create a content page. Then go to manage and edit content, see if you can see the page you just added. Thanks.

  • 2010-11-02 13:57:12

    Re: Not returning data from clean install.

    Great!

    Do you know vaguely where the problem lies is it to do with the server config or?

    You see our deadline for using the ATutor site as a functional LCMS is arriving so would be good too know if I can change hosts to get this working etc.

    Thanks for the support!

    ATutor.ca is doing good work.

  • 2010-11-02 14:06:41

    Re: Not returning data from clean install.

    Didnt see your second post. Heres another screenshot where I've created a course and new content:

    http://img178.imageshack.us/img178/7330/19636202.png

    And heres what happens when you edit it:

    http://img181.imageshack.us/img181/2441/37671686.png

    Thanks again.

  • 2010-11-02 14:28:23

    Re: Not returning data from clean install.

    For the forum, it could be a problem in the code. To confirm, can you please try creating a forum called "Test forum", and see if the title shows?

    For the content, I can't reproduce it. I am not sure why the content is not showing in edit. If you go to our demo site, it's showing up fine.

  • 2010-11-02 14:38:49

    Re: Not returning data from clean install.

    Can you do me a favor and "view source" on this screen: http://img178.imageshack.us/img178/7330/19636202.png

    Then save it as a html, and attach it here, thanks.

  • 2010-11-02 15:20:32

    Re: Not returning data from clean install.

    I thought the problem might be in the code but I couldnt see how since I checked the demo version and that was fine. Anyway here we go:

    Test forum page created:
    Missing title of post in the main area and on the side bar, however the forum title is showing up.
    http://img709.imageshack.us/img709/7442/73504915.png

    The source from http://kai-patient.co.uk/ATutor2/mods/_core/content/index.php is attached.

    Thanks.

  • 2010-11-02 15:54:11

    Re: Not returning data from clean install.

    Looking at your source, the problem seems to be in
    mods/_core/content/index.php line 149

    ..echo AT_print($row['title'], 'content.title');

    It seems like the above "AT_print" function is returning an empty string for you. I do not have access to your system, so you will have to trace this yourself. AT_print is a function in include/lib/output.inc.php. AT_print is also used in the forum, so it could be the source of your problem.

    Maybe you can try tracing from there and let us know what you found. Thanks!

  • 2010-11-02 20:24:47

    Re: Not returning data from clean install.

    Great thanks for putting me in the right direction, going to continue too investigate the function tomorrow, as its getting late here.

    Shall post again if/when I find the problem.

    Thanks again.