{"id":1038,"date":"2025-08-25T11:33:06","date_gmt":"2025-08-25T11:33:06","guid":{"rendered":"https:\/\/orkenyi.hu\/?p=1038"},"modified":"2025-08-25T12:50:10","modified_gmt":"2025-08-25T12:50:10","slug":"wordpress-bovitmeny-frissitesi-hiba-pclzip_err_bad_format-nalam-igy-oldodott-meg","status":"publish","type":"post","link":"https:\/\/orkenyi.hu\/en\/wordpress-bovitmeny-frissitesi-hiba-pclzip_err_bad_format-nalam-igy-oldodott-meg\/","title":{"rendered":"WordPress plugin update error: PCLZIP_ERR_BAD_FORMAT \u2013 this is how I solved it"},"content":{"rendered":"<p>I recently encountered an error in WordPress while updating the Bricks template. The update downloaded, but stopped when unpacking, and I received this message:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>An error occurred while updating Bricks: The package cannot be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature<\/code><\/pre>\n\n\n\n<p>It seemed daunting at first, but luckily the solution was simple. The problem was that the server had <strong>upload_max_filesize<\/strong> was only 20 MB, but the Bricks installation package was larger than that. As a result, WordPress was unable to fully download the file and attempted to extract a corrupted ZIP.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution<\/h2>\n\n\n\n<p>In cPanel, the <strong>MultiPHP INI Editor<\/strong> I raised it with the help of <code>upload_max_filesize<\/code> value to 100 MB, and then the update ran without any problems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Other reasons why this error may occur<\/h2>\n\n\n\n<p>It&#039;s not just the file size that can cause problems. If you&#039;re also getting the above error message, you might want to check these things:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>post_max_size and memory_limit<\/strong> should be high enough (e.g. 128M and 256M), otherwise larger updates may also get stuck.<\/li>\n\n\n\n<li><strong>allow_url_fopen<\/strong> must be enabled on the server because the automatic update downloads the package from a remote URL.<\/li>\n\n\n\n<li><strong>\/wp-content\/upgrade\/<\/strong> empty the folder - if there are remnants of aborted updates in it, it may block the next attempt.<\/li>\n\n\n\n<li><strong>Manual update<\/strong> \u2013 if all else fails, the ZIP file downloaded from the official source can be manually uploaded to the WordPress admin interface (&quot;Upload Template&quot;), thus avoiding the error.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Lesson learned<\/h2>\n\n\n\n<p>This error is not unique to Bricks \u2013 it can occur with any major template or plugin if the server limits are not set correctly. So it&#039;s worth checking and increasing the following values if necessary:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>upload_max_filesize<\/code> \u2013 at least 64M or 100M<\/li>\n\n\n\n<li><code>post_max_size<\/code> \u2013 at least 128M<\/li>\n\n\n\n<li><code>memory_limit<\/code> \u2013 256M recommended<\/li>\n<\/ul>\n\n\n\n<p>Do you have a similar problem? <a href=\"https:\/\/orkenyi.hu\/en\/kapcsolat\/\" data-type=\"page\" data-id=\"40\"><strong>Write to me and help me.<\/strong>k<strong> solve it!<\/strong><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Nemr\u00e9g a Bricks sablon friss\u00edt\u00e9se k\u00f6zben tal\u00e1lkoztam egy hib\u00e1val a WordPressben. A friss\u00edt\u00e9s let\u00f6lt\u0151d\u00f6tt, de a kicsomagol\u00e1sn\u00e1l meg\u00e1llt, \u00e9s ezt az \u00fczenetet kaptam: Els\u0151re ijeszt\u0151nek t\u0171nt, de a megold\u00e1s szerencs\u00e9re egyszer\u0171 volt. A probl\u00e9ma oka az volt, hogy a szerveren az upload_max_filesize \u00e9rt\u00e9ke csak 20 MB volt, a Bricks telep\u00edt\u0151csomag viszont enn\u00e9l nagyobb. Emiatt a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1041,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"none","_seopress_titles_title":"WordPress hiba: PCLZIP_ERR_BAD_FORMAT megold\u00e1sa","_seopress_titles_desc":"WordPress friss\u00edt\u00e9s k\u00f6zben PCLZIP_ERR_BAD_FORMAT hib\u00e1t kapt\u00e1l? Mutatom a megold\u00e1st: f\u00e1jlm\u00e9ret limit emel\u00e9s, upgrade mappa \u00fcr\u00edt\u00e9se, k\u00e9zi friss\u00edt\u00e9s.","_seopress_robots_index":"","footnotes":""},"categories":[6,5],"tags":[],"temakor":[],"class_list":["post-1038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technikai-segiteg","category-weboldal"],"_links":{"self":[{"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/posts\/1038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/comments?post=1038"}],"version-history":[{"count":3,"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/posts\/1038\/revisions"}],"predecessor-version":[{"id":1046,"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/posts\/1038\/revisions\/1046"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/media\/1041"}],"wp:attachment":[{"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/media?parent=1038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/categories?post=1038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/tags?post=1038"},{"taxonomy":"temakor","embeddable":true,"href":"https:\/\/orkenyi.hu\/en\/wp-json\/wp\/v2\/temakor?post=1038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}