title: Wordpress theme upload error PCLZIP_ERR_BAD_FORMAT
body: <p>I'm new to php as well as wordpress however because of some need I had to work with wordpress only. So just to start I read a tutorial and created a wordpress theme of my own and when I tried to upload my theme I got the below error: </p>
  
  <pre><code>The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
  </code></pre>
  
  <p>Searching for the same I've found that usually the cause of such an error is maximum available space or upload file size issue. However since I'm working on localhost I don't think it could be the case. Moreover I've increased the <code>upload_max_filesize</code>, <code>post_max_size</code> and <code>memory_limit</code> as well. But still I'm getting the same error.</p>
  
  <p>I'm using Wordpress 3.5.2.</p>