Cannot install plugins in wordpress admin panel.


I am trying to make a wordpress website and whenever I try to install a plugin in it’s admin panel, I get this error:
Installation failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

Does anyone know how to resolve this problem?


How big is the plugin you’re trying to upload? Judging by the error, I suspect it’s over the 10 MB file size limit and getting cut off.

If that’s the case, then this article may help you:

Thanks, I uploaded through FTP and it worked. I have a problem now that when I try to upload a picture in wordpress, it says “Failed to write file to disk”. I tried changing permissions for the files but it didn’t help. I found in a forum this:

WordPress uses a temporary file directory in PHP during file transfers. In this case, you will need to contact your web host to have them empty out this directory. This is often a hidden location, and you may be unable to access this area with Filezilla or any other FTP program.

Is there a way to do that?