I recently added a large PDF file (62Mb) to the source media (153 pg scanned family tree compendium) and now I continue to get something like "Error : PCLZIP_ERR_WRITE_OPEN_FAIL (-1) : Unable to open temporary file 'pclzip-6165cb50e5e08.gz' in binary write mode" if I enable "Media Files" for backup.
I am also noticing that last few backups that I made (before this file) where the backup zip file size is >40Mb total now seem to be corrupt. Last biggest file before corruption was 41,176 KB in size.
Is there a total file size limit for backups?
If there a max single file size for items to be backed up?
Any suggestions around the PCLZIP error?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It appears as though the PCLZIP library has run out of memory, and
wants to use a temporary file created in the currently active
directory.
I suggest that you increase the PHP memory limit to 256 Mb and try
again. This needs to be done in the Site Configuration, and your
PHP.INI file also needs to allow at least this amount of memory to
be allocated.
There's a DEFINE line in /includes/pclzip.lib.php, between lines 61
and 83 that's relevant.
I recently added a large PDF file (62Mb) to the source media (153 pg scanned family tree compendium) and now I continue to get something like "Error : PCLZIP_ERR_WRITE_OPEN_FAIL (-1) : Unable to open temporary file 'pclzip-6165cb50e5e08.gz' in binary write mode" if I enable "Media Files" for backup.
I am also noticing that last few backups that I made (before this file) where the backup zip file size is >40Mb total now seem to be corrupt. Last biggest file before corruption was 41,176 KB in size.
Is there a total file size limit for backups?
If there a max single file size for items to be backed up?
Any suggestions around the PCLZIP error?
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
Hello, Douglas:
It appears as though the PCLZIP library has run out of memory, and
wants to use a temporary file created in the currently active
directory.
I suggest that you increase the PHP memory limit to 256 Mb and try
again. This needs to be done in the Site Configuration, and your
PHP.INI file also needs to allow at least this amount of memory to
be allocated.
There's a DEFINE line in /includes/pclzip.lib.php, between lines 61
and 83 that's relevant.
wrote: