[Xerte] Re: Problem creating SORM/IMS packages

Pat Lockley patrick.lockley at googlemail.com
Fri Aug 17 17:04:15 BST 2012


Hello,

You don't need to alter php.ini, alter the file I sent the path for
(xampp/htdocs/xertetoolkits/website_code/php/scorm/export.php)

if you want to alter php.ini search for "memory limit" and alter the
value after that, then restart apache on your USB stick.

Pat

On Fri, Aug 17, 2012 at 4:58 PM, Raymond Moir <rjm18 at st-andrews.ac.uk> wrote:
> Hi Paul
>
> Thanks for your help on this - unfortunately it didn't work.
>
> There doesn't appear to be the line of code
>
> ini_set('max_execution_time', 300);
>
> in php.ini
>
> Also, the php.ini file is in a slight different folder patch i.e. \xampp\htdocs\toolkits\website_code\php\scorm
>
> Therefore, I edited the php.ini file and added the 2 lines of code near the top of the file and before the conditional coding statements:
>
> ini_set('max_execution_time', 300);
>
> ini_set('memory_limit','128M');
>
> but still got the error
>
> "Fatal error: Allowed memory size of 125829120 bytes exhausted (tried to allocate 35267066 bytes) in J:\xampp\htdocs\toolkits\website_code\php\scorm\archive.php on line 630"
>
> Does the path of "\xampp\htdocs\toolkits\website_code\php\scorm\php.ini" and the absence of " ini_set('max_execution_time', 300);" indicate that I my colleague is using an old version?
>
> Thanks
>
> Raymond
>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
>> bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> Sent: 17 August 2012 10:25
>> To: Xerte discussion list
>> Subject: [Xerte] Re: Problem creating SORM/IMS packages
>>
>> Hello,
>>
>> You need to find the file -
>> xampp/htdocs/xertetoolkits/website_code/php/scorm/export.php
>>
>> Line 26 should be
>>
>> ini_set('max_execution_time', 300);
>>
>> beneath that add as a new line
>>
>> ini_set('memory_limit','100M');
>>
>> That will give you 100MB to play with, you may wish to set it higher
>>
>>
>> On Fri, Aug 17, 2012 at 10:08 AM, Raymond Moir <rjm18 at st-andrews.ac.uk>
>> wrote:
>> > Hi Paul
>> >
>> > My colleague is using the USB stick. I've borrowed it to see if I can fix the
>> problem and to initially try and find the version number.
>> >
>> > Is there a new version out which will resolve the problems?
>> >
>> > Thanks
>> >
>> > Raymond
>> >
>> >> -----Original Message-----
>> >> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
>> >> bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> >> Sent: 16 August 2012 17:00
>> >> To: Xerte discussion list
>> >> Subject: [Xerte] Re: Problem creating SORM/IMS packages
>> >>
>> >> Hello,
>> >>
>> >> You can't at the moment, but that probably means you're using 1.7.
>> >>
>> >> Is your colleague using the USB stick as well? Or a separate install?
>> >>
>> >> Pat
>> >>
>> >> On Thu, Aug 16, 2012 at 4:52 PM, Raymond Moir
>> >> <rjm18 at st-andrews.ac.uk>
>> >> wrote:
>> >> > Hi Pat
>> >> >
>> >> > I've manage to obtain the XOT USB version and have tried finding
>> >> > the
>> >> version without success.
>> >> >
>> >> > This might sound silly, but how do I find out what version of XOT is
>> running?
>> >> >
>> >> > Many Thanks
>> >> >
>> >> > Raymond
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
>> >> >> bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>> >> >> Sent: 15 August 2012 17:16
>> >> >> To: Xerte discussion list
>> >> >> Subject: [Xerte] Re: Problem creating SORM/IMS packages
>> >> >>
>> >> >> Hi Raymond,
>> >> >>
>> >> >> I assume your using XOT.
>> >> >>
>> >> >> Do you know which version?
>> >> >>
>> >> >> Thanks
>> >> >>
>> >> >> Pat
>> >> >>
>> >> >> On Wed, Aug 15, 2012 at 5:13 PM, Raymond Moir
>> >> >> <rjm18 at st-andrews.ac.uk>
>> >> >> wrote:
>> >> >> > I have a colleague who is creating SCORM/IMS packages using
>> >> >> > Xerte from the "USB memory stick" method.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > I use the desktop version myself, but she is having problems
>> >> >> > exporting packages as the system reports "fatal errors".
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > Having googled some solutions and it appears that since the
>> >> >> > content is greater that 100MB (compressed video files and
>> >> >> > images) , this may cause problems - advice about regarding changing
>> the "memory"
>> >> >> > limits in various php files has not worked.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > Can anyone offer any solutions or advice?
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > Alternatively, is there a way to export the "content" from the
>> >> >> > "USB memory stick" method into a set of file it can be read by
>> >> >> > the Xerte
>> >> >> > (desktop) tool , so that I can try exporting the SCORM/IMS
>> >> >> > package this
>> >> way?
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > Many thanks
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > Raymond
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > ----------------------------------------------------------------
>> >> >> > ---
>> >> >> > ---
>> >> >> > -----------------------------------
>> >> >> >
>> >> >> > Raymond Moir (FHEA, BSc, PGDSE)
>> >> >> > Learning Technology Consultant
>> >> >> >
>> >> >> > CAPOD (Centre for Academic, Professional and Organisational
>> >> >> > Development)
>> >> >> >
>> >> >> > University of St Andrews
>> >> >> >
>> >> >> > Hebdomadar's Block
>> >> >> >
>> >> >> > 75 North Street
>> >> >> >
>> >> >> > St Andrews
>> >> >> >
>> >> >> > KY16 9AJ
>> >> >> >
>> >> >> >
>> >> >> > The University of St Andrews is a charity registered in Scotland :
>> >> >> > No
>> >> >> > SC013532
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > This message and any attachment are intended solely for the
>> >> >> > addressee and may contain confidential information. If you have
>> >> >> > received this message in error, please send it back to me, and
>> >> >> > immediately delete it. Please do not use, copy or disclose the
>> >> >> > information contained in this message or in any attachment. Any
>> >> >> > views or opinions expressed by the author of this email do not
>> >> >> > necessarily reflect the views of the University
>> >> >> of Nottingham.
>> >> >> >
>> >> >> > This message has been checked for viruses but the contents of an
>> >> >> > attachment may still contain software viruses which could damage
>> >> >> > your
>> >> >> computer system:
>> >> >> > you are advised to perform your own checks. Email communications
>> >> >> > with the University of Nottingham may be monitored as permitted
>> >> >> > by UK
>> >> >> legislation.
>> >> >> >
>> >> >> >
>> >> >> > _______________________________________________
>> >> >> > Xerte mailing list
>> >> >> > Xerte at lists.nottingham.ac.uk
>> >> >> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> >> >> >
>> >> >> > This message and any attachment are intended solely for the
>> >> >> > addressee and may contain confidential information. If you have
>> >> >> > received this message
>> >> >> in
>> >> >> > error, please send it back to me, and immediately delete it.   Please do
>> >> not
>> >> >> > use, copy or disclose the information contained in this message
>> >> >> > or in any attachment.  Any views or opinions expressed by the
>> >> >> > author of this email do not necessarily reflect the views of the
>> >> >> > University of
>> >> Nottingham.
>> >> >> >
>> >> >> > This message has been checked for viruses but the contents of an
>> >> >> > attachment may still contain software viruses which could damage
>> >> >> > your
>> >> >> computer system:
>> >> >> > you are advised to perform your own checks. Email communications
>> >> >> > with the University of Nottingham may be monitored as permitted
>> >> >> > by UK
>> >> >> legislation.
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> _______________________________________________
>> >> >> Xerte mailing list
>> >> >> Xerte at lists.nottingham.ac.uk
>> >> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> >> >
>> >> > _______________________________________________
>> >> > Xerte mailing list
>> >> > Xerte at lists.nottingham.ac.uk
>> >> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> >>
>> >> _______________________________________________
>> >> Xerte mailing list
>> >> Xerte at lists.nottingham.ac.uk
>> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> >
>> > _______________________________________________
>> > Xerte mailing list
>> > Xerte at lists.nottingham.ac.uk
>> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte



More information about the Xerte mailing list