ATutor

Learning Management Tools







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


Problem with Export Content to SCORM in v14x


  • 2004-09-04 13:16:03

    Problem with Export Content to SCORM in v14x

    Dear friends,
    I would like to ask you a question.

    I have installed ATutor v1.4 in:
    - Windows XP
    - Apache 1.3.27
    - PHP 4.3.3
    - MySQL 4.0.15

    Before installing this version I had version 1.3.3 of ATutor, where everything worked OK. With version 1.4 and the versions after that (1.4.1 and 1.4.2) I have the following problem. When I export content to the SCORM format, the PIF (zip file) which is created, cannot then opened. To be more specific, when I download the .zip file and then try to open it, I receive the message: "Cannot open file: it does not appear to be a valid archive. If you downloaded this file try downloading the file again".

    That is not happened when I create a course backup. In this case the created zip file can be opened normally.

    Thank you in advance for your help and congratulations for your very good work.

    Polyxeni Arapi

  • 2004-09-06 10:58:45

    Remove zip file

    I could not reproduce the problem myself. SCORM packages export from 1.4.1 and 1.4.2 as they should, and open properly in my archiving application (Linux File Roller).

    If you have zip files in your file manager, try removing them before you package content.

    Are you able to import the content package back into ATutor, even though you are unable to open it in your archive application?

    What archive application are you using?

  • 2004-09-06 12:15:33

    maybe it is something else

    Dear greg,
    Thank you for your response.

    [i]If you have zip files in your file manager, try removing them before you package content.[/i]
    I don't have .zip files in the file manager. The only files are .jpg files.

    [i]Are you able to import the content package back into ATutor, even though you are unable to open it in your archive application? [/i]
    No. I am not able to import the content package back into ATutor. When I try to do this I receive the following message:

    Error : PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

    I don't have the same problem in ATutor v1.3.3. There, the SCORM package is successfully created and the .zip file can be opened. I imported the package generated from v1.3.3 to the v1.4 and I don't have a problem too.

    [i]What archive application are you using? [/i]
    I am using WinZip, but I don't think that this is the problem, because as I already said the package cannot be imported back to ATutor.

    Very strange! ;)

    Thank you again for your help.

    Polyxeni Arapi

  • 2004-09-06 13:23:32

    I just found the problem

    Dear greg,
    I just found the problem. The problem occured because of the value of the zlib.output_compression variable which resides in the php.ini file. This variable must be set to "On". Instead of this, the variable had no value.

    But, something else is now occured. Although the SCORM package is generated normally and can be also opened, when I try to import it as is to ATutor I receive the message:
    Error : PCLZIP_ERR_BAD_FORMAT (-10) : Invalid archive structure

    So, I opened the generated zip file and I re-compressed it using WinZip. Then I tried to import it again to ATutor and the package has been successfully imported.

    Maybe this problem occures because of the values of other variables (e.g. output_handler, zlib.output_handler) which also reside in php.ini.

    Could you please tell me which are the correct values of these variables? If something else must be also configured please inform me.

    Thank you very much.

    Polyxeni Arapi

  • 2004-09-06 13:29:21

    Set to off

    Set the zlib.output_compresion to "off", and comment out zlib.output_handler

  • 2004-09-06 14:06:17

    Problem remains

    I set the zlib.output_compression to "off" and I comment out zlib.output_handler but the previous problem remains.

    zlib.output_handler must be empty or should take a value?

    Thank you
    Polyxeni Arapi

  • 2004-09-06 14:25:35

    See php docs

    See the php documentation for the default settings on Window (et al) systems

    http://www.php.net/manual/en/ref.zlib.php

    [reply][b]In reply to:[/b]
    I set the zlib.output_compression to "off" and I comment out zlib.output_handler but the previous problem remains.

    zlib.output_handler must be empty or should take a value?

    Thank you
    Polyxen...
    [op]forums/view.php?fid=7;pid=2409;page=1#2423[/op][/reply]

  • 2004-09-07 09:06:55

    Thanks

    Dear greg,
    Thank you for your help. I installed ATutor on Unix and the above problem doesn't occur on it. For the configuration of the php.ini on Windows I will read the documentation on the link provided by you and if the problem remains, I'll ask you again. Hope that after that I'll fix the problem. ;)

    Polyxeni Arapi