ATutor

Learning Management Tools







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


Extra variable


  • 2005-09-03 11:17:36

    Extra variable

    I found some times when user open pages, it shows extra string "variable:" before normal string to be displayed. For example "Home" appears like [variable: Home].

    Screenshot is at http://gndec.ac.in/~hsrai/tmpD/atutorScreenShot.jpeg

    What could be reason. I experimented and found that presence of "www" or its absence make this happen. Application is at: http://www.gndec.ac.in/tutor/

    It also displays [ Variable: error] * {AT_ERROR_NO_LANGUAGE]

    phpinfo is at: http://gndec.ac.in/~hsrai/tmp/php/

    I am using operating system RedHat Linux 9 , ATutor 1.4
    php 4.3.9 , mysq l 3.23.49, Apache/1.3.31, web browser : Firefox

    Thanks in advance

  • 2005-09-04 07:25:32

    missing language

    [variable: home] appears when the language for that variable is missing. You need to install a complete language pack, or use the ATutor Language Manager to add in the translation for the missing items.

    see:
    http://www.atutor.ca/atutor/docs/translate.php

    Also see the Languages section in the ATutor Handbook

  • 2005-09-04 08:36:30

    Extra "variable:"

    But, it is not always, only sometimes, that to appear random, problem normalyy solved by altering "www" in URL. So, that mean software is installed properly. If "Language:" is problem then this error would have occured all the times and not sometimes.

  • 2005-09-04 10:38:44

    Upgrade to 1.5.1

    I can not reproduce the problem myself, adding or removing the www part of the URL. What other details can you provide to help us duplicate the problem?

    One thing I did notice is that register_globals is turned on. It should be turned off. Turn it off in php.ini, and restart your webserver and see if that helps. Or use the php_flag command in a .htaccess file to turn register_globals off in the ATutor directory. Use the atutor.ca search top find info on php_flag.

    You might want to upgrade to the current ATutor 1.5.1, and see if the problem still occurs.

  • 2005-09-05 08:02:32

    Extra "variable:"

    We need set register_globals on to run few php programs. May be we are using obsolete programming style :-(

    Thanks for your suggestions and reply.

    About upgradation, I have in my mind, and will do at the earliest possible.

    Thanking you.