Site icon NgDeveloper

No data was received to import. Either no file name was submitted

No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16
Before going further first take the backup of the php.ini file which exists in the xampp/php folder.

Root Cause:
This issue will occur either of these reasons,

1. upload_tmp_dir parameter would have been in php.ini file which cause “no data was received to import error”.

2. Below parameter means that max upload size is 2M, so if you would have tried to upload more than that you may be facing “file size exceeded the maximum size permitted by your php configuration” issue.

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

Solution:

Fix for reason 1:

Ensure you have the same value like below to fix this issue,
upload_tmp_dir = “\xampp\tmp”
Fix for reason 2:
Increase the upload_max_filesize = 10M or based on your import file size.
Path of php.ini file will be in “\xampp\php”.

Note: Restart the xampp to reflect the changes you have done.
Hope you resolved the issue.

Exit mobile version