givanz / VvvebJs

Drag and drop page builder library written in vanilla javascript without dependencies or build tools.
https://www.vvveb.com/vvvebjs/editor.html
Apache License 2.0
7.15k stars 1.64k forks source link

PayloadTooLargeError: request entity too large #332

Open DeadONGz opened 8 months ago

DeadONGz commented 8 months ago

I'm using xampp and i'm trying to save and that happens.

givanz commented 8 months ago

In xampp window click on apache config button.

Edit apache/conf/httpd.conf and add

LimitRequestBody 1024000

<IfModule mod_security.c>
  SecFilterEngine Off
  SecFilterScanPOST Off
</IfModule>

Edit php.ini and increase the following values or add them if missing

post_max_size = 64M
upload_max_size = 64M 

xampp-control-panel-httpd-conf

xampp-control-panel-php-ini