ATutor

Learning Management Tools







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


cannot import content or language pack for Spanish


  • 2005-04-21 11:32:19

    cannot import content or language pack for Spanish

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -
    Upon trying to import content, whether a language pack or a course file, I receive the following errors:

    When importing course material:

    Fatal error: Call to undefined function: xml_parser_create() in /var/www/html/ATutor/tools/ims/ims_import.php on line 344

    When importing language pack from atutor site:

    Fatal error: Call to undefined function: xml_parser_create() in /var/www/html/ATutor/include/classes/Language/LanguageParser.class.php on line 32

    I find that although these are two different processes, they have the xml_parser_create() function in common. Why would it be an undefined function?

    Could you help me find a solution to this problem? The instalation is on a Linux server using Mandrake 10. I am using Apache 2 because that was what came with the Mandrake 10 install. Globals are turned off in php.ini. No other modification has been made. I have already checked all the version numbers of mysql, apatche, and php and they are in excess of what is required.

  • 2005-04-22 09:57:04

    cannot import content or language pack for Spanish

    Double check to see if you have the XML library available in your PHP installation. It is installed by default, but may have been disabled on your system for some reason.

    create an info.php scirpt with:
    <?php
    phpinfo();
    ?>

    and look for the XML part.

  • 2005-04-22 12:54:53

    xml extension

    Thank you for your kind reply. Since I already had a test. php script on my web server, I used that and got this list of extensions:

    mysql pgsql sqlite gd imap ldap bcmath bz2 calendar cpdf crack curl cyrus db dba dba_bundle dbase dbx dio domxml exif fbsql fdf filepro fribidi gmp hwapi hyperwave iconv imagick informix ingres_ii interbase ircg java mbstring mcal mcrypt mcve mhash mime_magic ming mnogosearch msession msql mssql ncurses notes oci8 odbc oracle overload ovrimos pam_auth pcntl pdf pfpro pspell qtdom readline recode rrdtool shmop snmp smbauth sockets swf sybase sybase_ct sysvmsg tokenizer wddx xml xmlrpc xslt yaz zip adodb mmcache apd cybercash cybermut mono mqseries netools python spplus spread inifile

    I identified xml in the list of extensions. Is that where I was supposed to look?

    Is there yet another step I can take?

  • 2005-04-23 08:37:00

    Mandrake/Apache2 issues

    Mandrake seems to present its have it own set of issues. Various issues have been reported by Mandrake users that do not appear to happen on other Linux system. Unfortunately we don't have a Mandrake installation to reproduce the problems ourselves.

    Apache 2 also presents its own set of problems, since its compatibility with php is still somewhat unstable. I would suggest moving to Apache 1.3 for the time being. You'll likely need to compile it with PHP manually. There are good installation instructions on the php.net site in the documentation.

    http://www.php.net/manual/en/install.unix.php#install.unix.apache

    You can run ATutor with Apache2, but you will likely experience other problems. If you are intending on setting up a production server, you should most certainly use Apache 1.3.

  • 2005-04-25 11:19:51

    greg's reply

    Thank you Greg for your reply. I wanted to let you know that as I experimented at home with another installation, I found that the xml extension was not installed as I had thought. When I found that, I eagerly returned to my office at the school district and observed that the same condition existed there. After installing the xml extension, everything worked with the imports. I haven't tried the exports, but I suppose the same woudld apply there.

    As a precaution, enven though the server was working, I installed and switched to the Apache 1.3 instead of the Apache2. I was not then having problems, but wanted to avoid what I could. I had previously turned globals off in php.ini to solve a diffferent problem.

    As far as I can tell now, I'm okay. The reason why I have been using Mandrake 9.2. and 10.0 is that generally they have been more likely to function for me for a LAMP server. I tried others, but didn't come out with as workable a result.

    Thanks again for you kind help.