ATutor

Learning Management Tools







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


There are no languages installed


  • 2005-11-22 12:48:30

    There are no languages installed

    Only this error message is presented when loading http://localhost/lms/atutor/login.php on this fresh install. All installation checks passed. The file config.inc.php properly shows 'en' as the default language.

    Things to describe:
    operating system - Linux 2.6.11-1.1369_FC4
    version of ATutor - installed from ATutor-1.5.1-pl2.tar.gz
    versions of php - 5.0.4
    version of mysq l - 4.1.11
    webserver & version - Apache/2.0.54 (Fedora)
    copies of error messages - There are no languages installed!
    changes to default settings - installed to /lms/atutor
    web browser being used - Mozilla Firefox 1.0.4
    and anything else relevant - Made required chmods and installation went flawlessly. This is the only error message.

  • 2005-11-22 15:32:00

    Check the language tables

    Have a look in the language_text and languages table of your database. They should contain all the language items, and a listing for the English language, respectively.

    If not, try a reinstall, or try downloading the EN language pack, unpacking it, and manually running the language_text.sql file using an application like phpMyAdmin. This should populate the two tables with the language and its listing.

    Are you on a hosted system, or is this your own system?

  • 2005-11-22 15:42:35

    There are no languages installed!

    Own system.

    [reply][b]In reply to:[/b]
    Have a look in the language_text and languages table of your database. They should contain all the language items, and a listing for the English language, respectively.

    If not, try a reinstall, or...
    [op]forums/view.php?fid=7;pid=6383;page=1#6385[/op][/reply]

  • 2005-11-23 15:36:55

    There are no languages installed!

    I have installed 5-6 times, tweaking directory rights and ownership. Installation seems to work, but the AT_language_text talbe always has 0 rows. So, I've downloaded and extracted the language pack and see the .sql and .xml files. PHPMyAdmin docs give no information on how to import .xml using an .sql statement script. I would be grateful for a tip to get that done.

  • 2005-11-23 15:48:37

    Just the SQL

    Just run the SQL file from the SQL screen of phpMyAdmin.

    I'm curios why only the language was not imported. It's not something we've heard about before, and there is nothing in your description that suggests why it is happening. Look in some of the other tables and see if there is anything in those (some, but not all, should have data in them)

  • 2005-11-23 16:02:56

    Just the SQL

    Right. Actually figured that out, but thanks for the quick response. Now, AT_language_text shows 1503 records; however, the same error message still appears even though the language is now there. All other tables, except AT_languages with 1 record, are empty!

  • 2005-11-23 17:21:31

    Mysql Permissions

    It sounds like the MYSQL user does not have permissions to insert or update tables. Check the users table in MySQL to make sure these permissions are set to "Y" for the user who owns the ATutor database.

    You may want to empty the language tables now, and instead run the schema file the in include/db/ directory of ATutor. It contains the entire database for a new ATutor install.

    Or, set the permission correctly and reinstall ATutor from scratch.

  • 2005-11-23 17:54:13

    install/db

    That should be
    install/db/atutor_schema.sql

    and

    install/db/atutor_language_text.sql


    or reinstall

  • 2005-11-25 09:36:33

    install/db

    The database rights issue finally occured to me too. I'm a bit embarassed to have not realized that earlier. I had restricted database rights to "create" as specified in the installation docs. Setting to "all" and reinstalling did the trick. It might be a good idea to update the installation docs, and the installer code, to ensure the ATutuor database user account has sufficient rights. Thanks for all the help Greg.

    [reply][b]In reply to:[/b]
    That should be
    install/db/atutor_schema.sql

    and

    install/db/atutor_language_text.sql


    or reinstall
    [op]forums/view.php?fid=7;pid=6383;page=1#6406[/op][/reply]