[Xerte] error exporting

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Wed May 27 10:53:27 BST 2009


I've just checked xampp and because of the php switch option I've sent
you to the wrong file

 

Edit

 

C:\xampp\apache\bin\php.ini instead.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tianna Tagami
Sent: 27 May 2009 10:51
To: Xerte discussion list
Subject: Re: [Xerte] error exporting

 

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 13523343 bytes) in
C:\xampp\htdocs\xertetoolkits\website_code\php\scorm\archive.php on line
635

What is the folder I need to zip up?

 

On Wed, May 27, 2009 at 2:39 AM, Patrick Lockley
<Patrick.Lockley at nottingham.ac.uk> wrote:

Turns out phpinfo or ini_get don't display, so we'll have to take it as
set.

 

What is the error message now?

 

Could you zip the folder for that project up and put it online
somewhere?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tianna Tagami
Sent: 27 May 2009 10:22


To: Xerte discussion list
Subject: Re: [Xerte] error exporting

 

Where do I look that up?

On Wed, May 27, 2009 at 2:18 AM, Patrick Lockley
<Patrick.Lockley at nottingham.ac.uk> wrote:

That should have restarted PHP

 

Does phpinfo report the new size as 99m

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tianna Tagami
Sent: 27 May 2009 10:17


To: Xerte discussion list
Subject: Re: [Xerte] error exporting

 

I restarted the whole computer. Do I need to do something else to
restart the PHP?

 

Right now the media folder is 34.6MB, but it will be larger when I am
finished with the project.

 

On Wed, May 27, 2009 at 2:13 AM, Patrick Lockley
<Patrick.Lockley at nottingham.ac.uk> wrote:

Did you restart PHP?

 

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?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tianna Tagami
Sent: 27 May 2009 10:12


To: Xerte discussion list
Subject: Re: [Xerte] error exporting

 

It's still not working. 

On Wed, May 27, 2009 at 1:49 AM, Patrick Lockley
<Patrick.Lockley at nottingham.ac.uk> wrote:

That looks ok to me

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tianna Tagami
Sent: 27 May 2009 09:36


To: Xerte discussion list
Subject: Re: [Xerte] error exporting

 

OK. So I need someone to hold my hand when it comes to this stuff.

What should these values be:

 

max_execution_time = 60     ; Maximum execution time of each script, in
seconds

max_input_time = 60  ; Maximum amount of time each script may spend
parsing request data

memory_limit = 99M??      ; Maximum amount of memory a script may
consume (16MB)

 

On Wed, May 27, 2009 at 1:25 AM, Patrick Lockley
<Patrick.Lockley at nottingham.ac.uk> wrote:

I would check your phpinfo page to see if the new number worked.

 

If you add lots of zeros it might be too big a number.

 

I took it up to 99M

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tianna Tagami
Sent: 27 May 2009 09:09


To: Xerte discussion list
Subject: Re: [Xerte] error exporting

 

I just added a bunch of zeros. Do you have a better number I can use? :)

On Wed, May 27, 2009 at 12:54 AM, Julian Tenney
<Julian.Tenney at nottingham.ac.uk> wrote:

what did you change the php.ini file settings to?

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Tianna Tagami
Sent: Wed 27/05/2009 05:40


To: Xerte discussion list
Subject: Re: [Xerte] error exporting

 

Any progress on this? It's still not working for me.

On Fri, May 22, 2009 at 12:37 PM, Patrick Lockley
<Patrick.Lockley at nottingham.ac.uk> wrote:

I can check the memory thing, but not sure it is possible if the file is
bigger than 32 meg?

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of David Goodwin
Sent: Fri 22/05/2009 18:47
To: Xerte discussion list
Subject: Re: [Xerte] error exporting

Tianna Tagami wrote :
> I am getting this error when I try to export my project:
> *Fatal error*: Allowed memory size of 33554432 bytes exhausted (tried
to
> allocate 13523343 bytes) in *
> C:\xampp\htdocs\xertetoolkits\website_code\php\scorm\archive.php* on
line *
> 635*
>
> How do I fix this?

Edit php.ini, and change the memory_limit setting to something larger.

That's the easy fix; alternatively, someone needs to change the code
that creates the archive so it's not done in memory (for example)

IF you don't know where your php.ini file is, create a new page (e.g.
phpinfo.php) containing <?php phpinfo(); ?> and it'll tell you.


David.



--
 David Goodwin                          Pale Purple Limited
 Office: 0845 0046746                   Mobile: 07792380669
 http://www.palepurple.co.uk <http://www.palepurple.co.uk/>
Company No: 5580814
 'Business Web Application Development and Training in PHP'
_______________________________________________
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

 


_______________________________________________
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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090527/203abc6e/attachment.html


More information about the Xerte mailing list