• Hello everyone,i have successfully installed wordpress into my localhost but when i upload my theme it brings up this error:
    Warning: POST Content-Length of 14072712 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
    Are you sure you want to do this?

    Please try again.
    ……how can i fix

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello, from what you’ve written, it seems like your theme (?) is 14mb, which is over WordPress’ standard 8mb upload limit, so that’s why you might be getting an error.

    Have you tried looking in your root or wp-admin folder for a file called “php.ini”? If there isn’t one, then try creating the file in a text editor and add the following code:

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    This should increase the upload limit. Also don’t forget to restart your servers after you make these changes.

    Or alternatively you can manually place the theme folder in the Themes directory and not worry about the max_upload size

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘installing wordpress theme’ is closed to new replies.