• Register
1 vote

Problem :

I am very new to the php as well as the wordpress but because of some reason I had to work with the wordpress only. So just to begin that I refered the tutorial and created the wordpress theme of my own and after that I simply tried to upload the theme but I got the following error :

The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

I tried searching for the error and I found that the usual cause of such an error is maximum available space issue. But as I am working on my localhost I don't think it is the case. After increasing my upload_max_filesize, post_max_size and memory_limit as well still I am facing the same error.Please note : Currently I am using Wordpress 3.5.2.

6 5 3
7,540 points

1 Answer

0 votes

Solution :

This error is occurring because you are trying to upload the Other than ZIP Compressed version. Other format is currently not supported while uploading your plugin in your wordpress.

So you must unzip all your plugins and please make sure that you compress them with the ZIP format only and after doing that you can upload it and I can assure you that it will be working fine.

9 7 4
38,600 points

Related questions

1 vote
1 answer 18 views
Problem : Currently I am facing the below issue with one of my website where I am displaying the products randomly. Woocommerce this product is currently out of stock and unavailable. If I go to my WordPress admin and then click on update button for my product and without ... my problem. So I need to find some way to fix my above listed problem permanently so that it will not come back itself.
asked Apr 27 stewart 4k points
1 vote
1 answer 44 views
Problem : I am very new to the Wordpress programming world. I am facing below error. “Is currently unable to handle this request. http error 500 wordpress”. There is no information present in above error so I am unable to fix above error. Can somebody help me in fixing above error?
asked Mar 30 morrisBson 3.2k points
0 votes
1 answer 33 views
Problem : I have currently inherited my webpage account for our office. But when I go to the logs in my webpage admin section it shows me the below error:- This page isn't working is currently unable to handle this request. http error 500 I was told by the ... him log back in. I have also tried almost everything to get it back up and running. Does anyone know any solution on this issue?
asked Dec 19, 2019 alecxe 7.5k points
0 votes
1 answer 6 views
9 I need to create a variable that can be accessed throughout my WordPress Theme template files (index.php, header.php etc..). I know function definitions go inside the functions.php template file (in your theme path), but there's no such thing for ... get my categories. Unfortunately adding that piece of code in my functions.php file, doesn't work, neither does making the variable global.
asked Sep 13 boris elin 620 points
1 vote
1 answer 27 views
Problem: I have gained fundamental knowledge on PHP programming after going through online tutorials. Now I am trying to debug the issue related with WP_cron() so I have tried to write the very short app to list the cron() tasks which are pending as shown below. <? php ... -wp-cron-test.php on line 12 Is there anything basic which I am missing about the building of a very simple plugin in PHP?
asked May 30 Martin K 6.6k points