Import File restriction

thema

New Member
Hi, I just have setup Mailwizz.

When I try to import csv file or template it says: ...csv" is too large. Its size cannot exceed 700 bytes.

However, the settings I have changed in Mailwizz to: 2MB, CLI import enabled (see attachment)

On my VPS I have upload limit to 64MB

System: Cloudlinux/Litespeed Web Server/WHM/cPanel, PHP 7.3.21

It also says in in PHP info: max file upload: 20 (see screenshot)

I would be thankful for any help. Thank you very much
 

Attachments

  • Screen Shot 2020-10-11 at 18.13.00.png
    Screen Shot 2020-10-11 at 18.13.00.png
    70.4 KB · Views: 9
  • Screen Shot 2020-10-11 at 18.16.52.png
    Screen Shot 2020-10-11 at 18.16.52.png
    104.5 KB · Views: 8
I could solve the issue myself. In case someone else has the problem with upload/import file size restriction.

Edit .access file in folder where you have Mailwizz installed on your VPS. Add:

RewriteEngine on
php_value upload_max_filesize 50M
php_value post_max_size 100M
php_value memory_limit 512M
php_value max_execution_time 300
php_value max_input_time 300

You can change size according to your need and what your hosting server allows. If the limit comes from your hosting server, ask your provider. If you have WHM access, you can change on WHM Panel > Server Configuration > Tweak Settings > PHP

There you can increase

cPanel PHP max POST size
cPanel PHP max upload size

Hope, this helps
 
Back
Top