a 413 Request Entity Too Large error was encountered while trying to use an ErrorDocument to handle the request.

  • updated
  • Answered

I get this error message when trying to upload a Prestashop theme:

The requested resource
/VMSDraft/admin123/index.php/improve/design/themes/import
does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.
Additionally, a 413 Request Entity Too Large error was encountered while trying to use an ErrorDocument to handle the request.

Savoy

Hello, I made the changes but I'm still getting the error:

; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 600M

; Maximum number of files that can be uploaded via a single request
max_file_uploads = 60

Arnel C
  • Answered

Hello Savoy,

Sorry for the problem with the error, "413 Request Entity Too Large." This is typically a setting issue within the PHP.INI.  You can see it addressed in this Prestashop Community Forum post. You can learn how to change these values in the PHP.INI in this tutorial. Remember, anytime you make change to your website, we do recommend that you make a backup before you make the change!

If you have any further questions or comments, please let us know.


Kindest regards,

Arnel C.