Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #184202

    itecs
    Participant

    I have bought X-Theme and want to install it in Word Press. But when I try to upload the zip, I get the following message:
    Warning: POST Content-Length of 88395097 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
    I cannot install it. Can you help me to figure it out? Thanks in advance…

    #184298

    itecs
    Participant

    I tried to upload the zip with the name “themeforest-5871901-x-the-theme”. That didn’t work and got me the error message above.
    When I unzip that folder and go to x_package, I find another zip file named “x”. As I tried to install this as a theme, I got the following error message: “Die hochgeladene Datei überschreitet die maximale Größe von upload_max_filesize, die in der Datei php.ini eingetragen ist.” or in English “the uploaded file is too large an exceeds tha maximal size of upload_max_filesize, which is register in the file php.ini”.
    I am helpless…

    #184815

    John Ezra
    Member

    Hi there,

    Thanks for writing in. You seem to be having sa error that is pointing towards an upload size limit. However x theme zip should still fall withing 8MB limit as it is only 6.35MB when Zipped.

    You will need to do one or more of the following to increase upload size limits.

    1. If you have access to you php.ini file (usually stored in /etc/php.ini or /etc/php.d/cgi/php.ini or /usr/local/etc/php.ini) you will need to look for the following lines and change the values:

     memory_limit = 32M
    upload_max_filesize = 10M
    post_max_size = 20M

    Note: you can do a search for the description as these values may not be the ones set in your server configuration.\

    You may also need to play around with the size to see what works best, you will also have to restart your php server.

    2. If you don’t have access to that, you can try creating or editing the “.htaccess” file in the root of your WP install.

    You would need to include the following lines in that file:

    php_value upload_max_filesize 10M
    php_value post_max_size 20M
    php_value memory_limit 32M

    3. If you are not comfortable withdoing the above two steps, or if they are not working due to restrictions placed by your host. You would need to contact them, to get this sorted out for you.

    Lastly, you could also try extracting the file locally and use a ftp client like filezilla to upload the x folder into the themes folder within your WordPress install. This may work, but it may also be best to have your host look at your configuration.

    Hope this helps!