<b>Fatal error</b>: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 13523343 bytes) in
<b>C:\xampp\htdocs\xertetoolkits\website_code\php\scorm\archive.php</b> on line
<b>635</b><br><br><div>What is the folder I need to zip up?</div><div><br><div class="gmail_quote">On Wed, May 27, 2009 at 2:39 AM, Patrick Lockley <span dir="ltr"><<a href="mailto:Patrick.Lockley@nottingham.ac.uk">Patrick.Lockley@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p><span style="font-size:10.0pt;color:blue">Turns out phpinfo or ini_get don’t display, so we’ll
have to take it as set.</span></p>
<p><span style="font-size:10.0pt;color:blue"> </span></p>
<p><span style="font-size:10.0pt;color:blue">What is the error message now?</span></p>
<p><span style="font-size:10.0pt;color:blue"> </span></p>
<p><span style="font-size:10.0pt;color:blue">Could you zip the folder for that project up and put it online
somewhere?</span></p>
<p><span style="font-size:10.0pt;color:blue"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt">
<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Tianna Tagami<br>
<b>Sent:</b> 27 May 2009 10:22<div><div></div><div class="h5"><br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] error exporting</div></div></span></p>
</div><div><div></div><div class="h5">
<p style="margin-left:36.0pt"> </p>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">Where do I look that up?</p>
<div>
<p style="margin-left:36.0pt">On Wed, May 27, 2009 at 2:18 AM,
Patrick Lockley <<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>>
wrote:</p>
<div>
<div>
<p style="margin-left:36.0pt"><span style="font-size:10.0pt;color:blue">That
should have restarted PHP</span></p>
<p style="margin-left:36.0pt"><span style="font-size:10.0pt;color:blue"> </span></p>
<p style="margin-left:36.0pt"><span style="font-size:10.0pt;color:blue">Does
phpinfo report the new size as 99m</span></p>
<p style="margin-left:36.0pt"><span style="font-size:10.0pt;color:blue"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p style="margin-left:72.0pt"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tianna Tagami<br>
<b>Sent:</b> 27 May 2009 10:17</span></p>
<div>
<div>
<p style="margin-left:36.0pt"><span lang="EN-US" style="font-size:10.0pt"><br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] error exporting</span></p>
</div>
</div>
</div>
<div>
<div>
<p style="margin-left:72.0pt"> </p>
<p style="margin-left:72.0pt">I restarted the whole computer. Do I need to do
something else to restart the PHP?</p>
<div>
<p style="margin-left:72.0pt"> </p>
</div>
<div>
<p style="margin-left:72.0pt">Right now the media folder is 34.6MB, but it will
be larger when I am finished with the project.</p>
<div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt"> </p>
<div>
<p style="margin-left:72.0pt">On Wed, May 27, 2009 at 2:13 AM, Patrick Lockley
<<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>>
wrote:</p>
<div>
<div>
<p style="margin-left:72.0pt"><span style="font-size:10.0pt;color:blue">Did you
restart PHP?</span></p>
<p style="margin-left:72.0pt"><span style="font-size:10.0pt;color:blue"> </span></p>
<p style="margin-left:72.0pt"><span style="font-size:10.0pt;color:blue">How big
are the files in the user-files folder – could you click on the media and
quota tab for me to let me know how big it is?</span></p>
<p style="margin-left:72.0pt"><span style="font-size:10.0pt;color:blue"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p style="margin-left:108.0pt"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tianna Tagami<br>
<b>Sent:</b> 27 May 2009 10:12</span></p>
<div>
<div>
<p style="margin-left:72.0pt"><span lang="EN-US" style="font-size:10.0pt"><br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] error exporting</span></p>
</div>
</div>
</div>
<div>
<div>
<p style="margin-left:108.0pt"> </p>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:108.0pt">It's still not working. </p>
<div>
<p style="margin-left:108.0pt">On Wed, May 27, 2009 at 1:49 AM, Patrick Lockley
<<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>>
wrote:</p>
<div>
<div>
<p style="margin-left:108.0pt"><span style="font-size:10.0pt;color:blue">That
looks ok to me</span></p>
<p style="margin-left:108.0pt"><span style="font-size:10.0pt;color:blue"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p style="margin-left:144.0pt"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tianna Tagami<br>
<b>Sent:</b> 27 May 2009 09:36</span></p>
<div>
<div>
<p style="margin-left:108.0pt"><span lang="EN-US" style="font-size:10.0pt"><br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] error exporting</span></p>
</div>
</div>
</div>
<div>
<div>
<p style="margin-left:144.0pt"> </p>
<p style="margin-left:144.0pt">OK. So I need someone to hold my hand when it
comes to this stuff.</p>
<div>
<p style="margin-left:144.0pt">What should these values be:</p>
</div>
<div>
<p style="margin-left:144.0pt"> </p>
</div>
<div>
<div>
<p style="margin-left:144.0pt">max_execution_time = 60 ; Maximum
execution time of each script, in seconds</p>
</div>
<div>
<p style="margin-left:144.0pt">max_input_time = 60 ; Maximum amount of
time each script may spend parsing request data</p>
</div>
<div>
<p style="margin-left:144.0pt">memory_limit = <span style="color:red">99M??</span>
; Maximum amount of memory a script may consume (16MB)</p>
</div>
<p style="margin-left:144.0pt"> </p>
<div>
<p style="margin-left:144.0pt">On Wed, May 27, 2009 at 1:25 AM, Patrick Lockley
<<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>>
wrote:</p>
<div>
<div>
<p style="margin-left:144.0pt"><span style="font-size:10.0pt;color:blue">I
would check your phpinfo page to see if the new number worked.</span></p>
<p style="margin-left:144.0pt"><span style="font-size:10.0pt;color:blue"> </span></p>
<p style="margin-left:144.0pt"><span style="font-size:10.0pt;color:blue">If you
add lots of zeros it might be too big a number.</span></p>
<p style="margin-left:144.0pt"><span style="font-size:10.0pt;color:blue"> </span></p>
<p style="margin-left:144.0pt"><span style="font-size:10.0pt;color:blue">I took
it up to 99M</span></p>
<p style="margin-left:144.0pt"><span style="font-size:10.0pt;color:blue"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p style="margin-left:180.0pt"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>
[mailto:<a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tianna Tagami<br>
<b>Sent:</b> 27 May 2009 09:09</span></p>
<div>
<div>
<p style="margin-left:144.0pt"><span lang="EN-US" style="font-size:10.0pt"><br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] error exporting</span></p>
</div>
</div>
</div>
<div>
<div>
<p style="margin-left:180.0pt"> </p>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:180.0pt">I just added a bunch of zeros. Do you have a better number
I can use? :)</p>
<div>
<p style="margin-left:180.0pt">On Wed, May 27, 2009 at 12:54 AM, Julian Tenney
<<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>>
wrote:</p>
<div>
<div>
<div>
<p style="margin-left:180.0pt"><span style="font-size:10.0pt;color:black">what
did you change the php.ini file settings to?</span></p>
</div>
</div>
<div>
<p style="margin-left:180.0pt"> </p>
<div style="margin-left:36.0pt">
<div style="margin-left:36.0pt">
<div style="margin-left:36.0pt">
<div style="margin-left:36.0pt">
<div align="center" style="margin-left:36.0pt;text-align:center">
<hr size="2" width="100%" align="center">
</div>
</div>
</div>
</div>
</div>
<p style="margin-left:180.0pt"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of Tianna
Tagami<br>
<b>Sent:</b> Wed 27/05/2009 05:40</span></p>
<div>
<div>
<p style="margin-left:180.0pt"><span style="font-size:10.0pt"><br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] error exporting</span></p>
</div>
</div>
<p style="margin-left:180.0pt"> </p>
</div>
<div>
<div>
<div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:180.0pt">Any progress on this? It's still not working for me.</p>
<div>
<p style="margin-left:180.0pt">On Fri, May 22, 2009 at 12:37 PM, Patrick
Lockley <<a href="mailto:Patrick.Lockley@nottingham.ac.uk" target="_blank">Patrick.Lockley@nottingham.ac.uk</a>>
wrote:</p>
<div>
<div>
<div>
<p style="margin-left:180.0pt"><span style="font-size:10.0pt;color:black">I can
check the memory thing, but not sure it is possible if the file is bigger than
32 meg?</span></p>
</div>
</div>
<div>
<p style="margin-left:180.0pt"> </p>
<div style="margin-left:36.0pt">
<div style="margin-left:36.0pt">
<div style="margin-left:36.0pt">
<div style="margin-left:36.0pt">
<div align="center" style="margin-left:36.0pt;text-align:center">
<hr size="2" width="100%" align="center">
</div>
</div>
</div>
</div>
</div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:180.0pt"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk" target="_blank">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of David
Goodwin<br>
<b>Sent:</b> Fri 22/05/2009 18:47<br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> Re: [Xerte] error exporting</span></p>
</div>
<div>
<div>
<div>
<p style="margin-left:180.0pt"><span style="font-size:10.0pt">Tianna Tagami
wrote :<br>
> I am getting this error when I try to export my project:<br>
> *Fatal error*: Allowed memory size of 33554432 bytes exhausted (tried to<br>
> allocate 13523343 bytes) in *<br>
> C:\xampp\htdocs\xertetoolkits\website_code\php\scorm\archive.php* on line
*<br>
> 635*<br>
><br>
> How do I fix this?<br>
<br>
Edit php.ini, and change the memory_limit setting to something larger.<br>
<br>
That's the easy fix; alternatively, someone needs to change the code<br>
that creates the archive so it's not done in memory (for example)<br>
<br>
IF you don't know where your php.ini file is, create a new page (e.g.<br>
phpinfo.php) containing <?php phpinfo(); ?> and it'll tell you.<br>
<br>
<br>
David.<br>
<br>
<br>
<br>
--<br>
David
Goodwin
Pale Purple Limited<br>
Office: 0845
0046746
Mobile: 07792380669<br>
<a href="http://www.palepurple.co.uk/" target="_blank">http://www.palepurple.co.uk</a>
Company No: 5580814<br>
'Business Web Application Development and Training in PHP'<br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></span></p>
</div>
</div>
</div>
</div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:180.0pt"><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></p>
</div>
<p style="margin-left:180.0pt"> </p>
</div>
</div>
</div>
</div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:180.0pt"><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></p>
</div>
<p style="margin-left:180.0pt"> </p>
</div>
</div>
</div>
</div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:144.0pt"><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></p>
</div>
<p style="margin-left:144.0pt"> </p>
</div>
</div>
</div>
</div>
</div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:108.0pt"><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></p>
</div>
<p style="margin-left:108.0pt"> </p>
</div>
</div>
</div>
</div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt"><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></p>
</div>
<p style="margin-left:72.0pt"> </p>
</div>
</div>
</div>
</div>
</div>
</div>
<p style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk" target="_blank">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a></p>
</div>
<p style="margin-left:36.0pt"> </p>
</div></div></div>
</div>
<br>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br></blockquote></div><br></div>