• Hello all,

    I’m hoping someone might be able to shed some light here as I’m not too sure what I am doing wrong.
    I am trying to install a theme but I keep getting an error:

    Warning: POST Content-Length of 121419156 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

    I am using XAMPP and have installed WordPress locally.
    Could someone help me out please as I have no idea what this means?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • POST Content-Length limit of 8388608 bytes = ~8M, which I think is the default setting for post_max_size in php.ini

    This is sort of a guess for me with xampp, but take a look in C:\\xampp\php\php.ini (adjust your path if required, but you are looking for the file “php.ini”

    Look for these two settings:

    ; Maximum allowed size for uploaded files.
    ; https://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize
    upload_max_filesize = 2M

    and this setting:

    Maximum size of POST data that PHP will accept.
    ; https://www.php.net/manual/en/ini.core.php#ini.post-max-size
    post_max_size = 8M

    Try bumping both of those to – let’s say (a totally arbitrary number here)- 64M each, and see if that changes the symptom at all. You will need to restart Apache after saving the changes you make in php.ini in order for the changes to take effect. See if that changes anything.

    Thread Starter ozzy78

    (@ozzy78)

    Ok I have just done that. The only thing that has changed is the limit. So:

    Warning: POST Content-Length of 121419149 bytes exceeds the limit of 67108864 bytes in Unknown on line 0

    I think 121419149 bytes is around 121M. That seems way too big for just a theme. There must be something else going on there. Also, that’s not the error I would usually expect to see first if the archive you were trying to upload was simply larger than your php upload limit.

    What theme are you trying to install? Is it from a .zip directory located on your computer that you are trying to upload and install? Or, does it happen when trying to download and install a theme that’s already listed in the www.remarpro.com theme directory browser in your dashboard?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Installing a Theme’ is closed to new replies.