[Xerte-dev] Re: question re dUnzip2.inc.php error

Ron Mitchell ronm at mitchellmedia.co.uk
Mon Jul 13 16:51:43 BST 2015


Hi

quick question - what situations trigger: Only Xerte templates are currently
imported.

I'm not getting anything more helpful in the debug log but have checked
permissions on the import and user-files folder and the same project is
importing ok via xerte 3 on xampp but I'm getting the same error on two
separate online xerte 3 installs.

Cheers

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 13 July 2015 11:34
To: For Xerte technical developers
Subject: [Xerte-dev] Re: question re dUnzip2.inc.php error

 

Oops yes:

On line 39 of website_code/php/import/import.php:




ini_set('memory_limit','64M');

I would suggest we just remove that line. Also, later I will revisit to make
sure the unzipping is not done in memory.

Ron Mitchell schreef op 13-7-2015 om 11:35:

Hi

trying to import a project into xerte3 containing a fair amount of media
resulted in an error like:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to
allocate 6278816 bytes) in /xerte3/website_code/php/dUnzip2.inc.php on line
291

 

On the server used in this case upload_max_filesize is 150M, post_max_size
is 200M and memory_limit is 256M

 

Is the unzip limit set/controlled elsewhere? 

 

Cheers

Ron

 
 
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-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev





-- 
--
 
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
 
 
 
 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150713/e07ddf3b/attachment-0001.html>


More information about the Xerte-dev mailing list