Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


ATutorSpaces
    (9 guests in past 15 min.)

    Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

    Support Forums

    ATutor Bug Reports

    Admin courses table HTML bug in 1.4.3


    You must be signed-in to post.

    AuthorSubject
      Page: 1
    joel

    Avatar for joel
    Subject: Admin courses table HTML bug in 1.4.3Quote this post in your reply
    Replace lines 115 to 116 with:

    echo '<td class="row1"><small>';
    if ($row['tracking']) {
    echo _AT($row['tracking']);
    }
    echo '</small></td>';

    The bug was created by 1.4.2 which unset the Tracking field in the database to a value other than the preset enumerated values of "on" or "off", as a result the columns on the courses.php page in the admin page in 1.4.3 will be broken. You could also fix it by setting the Tracking option to either on or off for each of the courses as an Admin.
    Posted: 2005-02-07 11:00:02
    gnif
    Subject: Error when fixing the bug...Quote this post in your reply
    When I do that, I get:


    Parse error: parse error, unexpected T_REQUIRE, expecting T_WHILE in /home/neuro/www/university/courses/admin/courses.php on line 130
    Posted: 2005-02-13 13:01:53
    greg

    Avatar for greg
    Subject: take a fresh copyQuote this post in your reply
    Take copy of the file from the source code repository and replace your version.

    atutorsvn.rcat.utoronto.ca/repos/atutor/trunk/docs/admin/courses.php

    Make sure your editor is using Unix end of lines....
    Posted: 2005-02-13 13:24:44
    gnif
    Subject: Follow Up -- ErrorQuote this post in your reply
    Hello Greg,

    Thanks for the info. After changing the code with what you provided, the \"Courses\" table heading under Courses admin is like this (very wide on the webpage):

    Title Order by Title Ascending Order by Title Descending Instructor Order by Instructor Ascending Order by Instructor Descending Access Order by Access Ascending Order by Access Descending Category Created [ create_date_ascending ] [ create_date_descending ] Tracking Order by Tracking Ascending Order by Tracking Descending

    Also, now when I click on a course to edit its properties, it shows a blank page and I am logged out (before, I had to edit the properties to get this error). I could provide admin login details, please just tell me how I can submit that info privately. Thank you.

    Sincerely,
    Sammy
    Posted: 2005-02-13 13:33:19
    greg

    Avatar for greg
    Subject: Are you using 1.4.3 themesQuote this post in your reply
    Have you upgraded your themes (probably not given the problems you have described). Though you may be able to get around 1.4.3 using 1.4.2 themes, you do need to upgrade them.

    Reinstall and see:
    www.atutor.ca/view/7/3590/1.html

    See the admin demo to see how things are supposed to work:
    www.atutor.ca/atutor/demo.php
    Posted: 2005-02-13 14:20:23
    gnif
    Subject: same problem with demoQuote this post in your reply
    I am using Clean Blue download from ATutor for 1.4.3 with a modified header image. Also, when I did access the ATutor.ca DEMO administration account, and when updating the course properties, the same problem occurred: a white blank page and logged off.
    Posted: 2005-02-13 14:41:49
    greg

    Avatar for greg
    Subject: Register Globals offQuote this post in your reply
    You'll need to turn the register_global setting to off in php.ini.

    Or, you can create a ".htaccess" file and place it in the root directory of your ATutor installation with the following line in it.

    php_flag register_globals off

    This has been fixed for the next release, so register_globals can be on or off. For 1.4.3 it needs to be off.
    Posted: 2005-02-14 10:52:43
    gnif
    Subject: register_globals = off, what directories?Quote this post in your reply
    Thanks! I found a bug. I told my system admin about this issue, and they said:

    "You will need to create a php.ini file in the directory, where you need to turn the register_globals variable off, and place the following line in this file:

    register_globals = off

    Please note that the php.ini files does not have a recursive effect, which means that you will have to place this file in each directory, where you need the variable off."

    So, what directories need to have this feature off, so that I may place the php.ini in each folder? Thank you.
    Posted: 2005-02-14 14:50:52
    greg

    Avatar for greg
    Subject: Use .htaccessQuote this post in your reply
    You should create a file called ".htaccess" (with the leading dot) which contains the following line. Place the file in the root directory of ATutor.

    php_flag register_globals off


    Register global should always be turned off for security reasons. You do not need to create a php.ini file.
    Posted: 2005-02-14 15:29:48
    seans888
    Subject: cannot switch the tracker onQuote this post in your reply
    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system - windows xp
    version of ATutor - 1.4.3
    versions of php - 4.3.9
    version of mysq l - 4.0.21
    webserver & version - apache 2

    On the course properties, when you set the tracking to on and then submit, a blank page comes up. Then when you try the tracking under student account, it doesn't work and it request for you to contact your system admin. Once you go back to course properties as system admin, the tracking is still set to off.
    Posted: 2005-04-15 06:22:56
    greg

    Avatar for greg
    Subject: Read the solutionQuote this post in your reply
    The solution is listed above.
    Posted: 2005-04-15 08:31:51
    seans888
    Subject: replyQuote this post in your reply
    Igreg,

    I did what you mentioned but still the same results.
    Posted: 2005-04-15 09:25:08
    greg

    Avatar for greg
    Subject: What did you do?Quote this post in your reply
    List what you did.

    Also note that you should be using Apache 1.3.
    Posted: 2005-04-15 09:44:41
     Page: 1

    You must be signed-in to post.