I can't import in new localhost site my previous site which is on server? I am exported .wpress file and now I want to import. I using All-in-one plugin and toxedo plugin for maximum upload file size. Error which i got is
"Unable to import Unable to open file for reading. File: C:\Bitnami\wordpress-5.3-0\apps\wordpress\htdocs\wp-content\plugins\all-in-one-wp-migration\storage\wdfoahbbl74z\myapp.com-20191120-060914-394.wpress"
When i go to see logs a see this:
Nov 20 2019 12:38:59 {"type":2,"message":"POST Content-Length of 711871094 bytes exceeds the limit of 41943040 bytes","file":"Unknown","line":0}
Nov 20 2019 12:39:02 {"Number":2,"Message":"filesize(): stat failed for C:\Bitnami\wordpress-5.3-0\apps\wordpress\htdocs\wp-content\plugins\all-in-one-wp-migration\storage\wdfoahbbl74z\myapp.com-20191120-060914-394.wpress","File":"C:\Bitnami\wordpress-5.3-0\apps\wordpress\htdocs\wp-content\plugins\all-in-one-wp-migration\functions.php","Line":233}
Nov 20 2019 12:39:02 {"Number":2,"Message":"Division by zero","File":"C:\Bitnami\wordpress-5.3-0\apps\wordpress\htdocs\wp-content\plugins\all-in-one-wp-migration\lib\model\import\class-ai1wm-import-validate.php","Line":67}
Nov 20 2019 12:39:02 {"Number":2,"Message":"fopen(C:\Bitnami\wordpress-5.3-0\apps\wordpress\htdocs\wp-content\plugins\all-in-one-wp-migration\storage\wdfoahbbl74z\myapp.com-20191120-060914-394.wpress): failed to open stream: No such file or directory","File":"C:\Bitnami\wordpress-5.3-0\apps\wordpress\htdocs\wp-content\plugins\all-in-one-wp-migration\lib\vendor\servmask\archiver\class-ai1wm-archiver.php","Line":98}
Did anyone know where is my mistake ?
according to
Nov 20 2019 12:38:59 {"type":2,"message":"POST Content-Length of 711871094 bytes exceeds the limit of 41943040
bytes","file":"Unknown","line":0}
you need to change php settings to allow bigger POST size than 40M. the new value should be a bit bigger than your backup filesize
EDIT: during the chat we figured that bitnami has it's own php.ini in C:/Bitnami/wordpres/php/php.ini
and this one had the bad (small) value. updating this file finally allowed to fix the issue with the POST limit.