• Hey guys,
    anyone encountered the problem when installing plugin?

    After uploading the zip file we’re getting this:
    The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Invalid End of Central Dir Record size : 17

    It’s a custom plugin, it works fine with all other WordPress installations we’ve tried. The zip file itself should be fine, the space on the server also. We kind of ran out of ideas.

    Thanks!

    • This topic was modified 3 years, 8 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • It is possible that WordPress doesn’t have enough memory (not space) to unzip. It can also be caused by a plugin.

    I suggest checking memory usage on server and trying disabling all plugins.

    Dion

    (@diondesigns)

    PCLZip is the fallback ZIP archive processor in WordPress. Unlike the PHP Zip extension (which is what WordPress uses if it’s available), PCLZip does not need to read in the entire archive to process files, so it uses less memory. While the error could be memory-related, it’s unlikely.

    How did you create the ZIP archive? Did you use a standard ZIP archive tool, or did you use a custom tool such as 7-Zip? Are you able to extract its files using a standard un-ZIP command-line tool?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PCLZIP_ERR_BAD_FORMAT error’ is closed to new replies.