Pages

PCLZIP_ERR_MISSING_FILE (-4)

In the e107 website building system, which I have now used a few times to create various websites, I keep getting an error when I set up a new one.

It is the same error, and I have always forgotten how to fix it.

This error occurs when I am setting up a new theme or plugin, and the reply comes back with:

An error has occurred, unable to un-archive the file PCLZIP extract error: ‘PCLZIP_ERR_MISSING_FILE (-4)’

and

Error: The filetype application/x-zip-compressed is not allowed and has been deleted. (1)

Well, the simple answer, as a reminder for myself, and anyone searching for this, is:

Rename the file: e107_admin/filetypes_.php to filetypes.php (remove the underline before the dot.)

Also check the filetypes that are permitted actually include the one you need.
The default filetypes are: zip, gz, jpg, png and gif.


2 comments to PCLZIP_ERR_MISSING_FILE (-4)

  • I would like to enable downloads on our website. Where do I find e107_admin/filetypes_.php so I can change it to filetypes.php?

  • admin

    Using the file manager in your website providers CPanel or similar, that file should be in the root directory, such as public_html/abcdiamondsite/e107_admin/filetypes_.php

Leave a Reply

  

  

  


*

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>