Wordpress theme upload error PCLZIP_ERR_BAD_FORMAT

前端 未结 8 713
忘掉有多难
忘掉有多难 2021-02-05 03:42

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 a

相关标签:
8条回答
  • 2021-02-05 04:16

    One of simple alternative is to download theme package, upzip it and upload through FTP whole theme folder into

    /wp-content/themes
    

    Then go to Admin CP and switch to new installed theme.

    0 讨论(0)
  • 2021-02-05 04:17

    please check that only those file are here that you wan to upload. i was getting same problem, then i search on folder, there was already zip folder in it. after uploading that zip file. the problem was solved. Now the themes is activated.

    0 讨论(0)
  • 2021-02-05 04:24

    I found one more case which may help you.

    It throws the same error if the zip file is incomplete or corrupt.

    0 讨论(0)
  • 2021-02-05 04:27

    I had a similar problem when I was installing plugins for a theme. It appeared that in the meantime plugins' download url had changed, updating it solved the problem :)

    0 讨论(0)
  • 2021-02-05 04:35

    This is because you are uploading the theme as a ".rar" file.

    Convert the theme into ".zip" file and then upload it to your site.

    For converting into the ".zip":

    1. Right-click on the folder of your theme folder.

    2. Select "Send to".

    3. Click on "Compressed (zipped) folder".

    4. Upload ".zip" file to your WordPress site.

    0 讨论(0)
  • 2021-02-05 04:40

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

    You should unzip your plugin and make sure you compress with ZIP format and upload it will be working fine.

    0 讨论(0)
提交回复
热议问题