If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

PrestaShop Troubleshooter. How to resolve the issue “The uploaded file exceeds 2M”

This tutorial will guide you through on how to resolve the issue “The uploaded file exceeds 2M”.

You may choose one of these solutions:

  1. Upload theme to server directly

    1. First, use the FTP connection or log into the cPanel dashboard.

    2. This leads you to the main cPanel area. From here, locate and enter the File Manager.

    3. Once inside the File Manager, navigate to your store’s root folder. Most stores use the main domain, so the root folder would be public_html. If you are using a subfolder (e.g. example.com/shop) then you would look for public_html/shop.

    4. From here, click on the themes/themeXXXX/ folder, where XXXX stands for your theme number. Then upload the ‘themeXXX.zip’ file to themeXXX folder. You may find the ‘themeXXX.zip’ file in the ‘themeinstallator’ folder of the template you have purchased.

    5. Open the Admin panel > Preferences > Themes > Add new theme > Import theme from FTP.

  2. Increase the PHP upload limits

    1. Second, log into the cPanel dashboard or use FTP connection.

    2. This leads you to the main cPanel area. From here, locate and enter the File Manager.

    3. Once inside the File Manager, navigate to your store’s root folder. Most stores use the main domain, so the root folder would be public_html. If you are using a subfolder (e.g. example.com/shop) then you would look for public_html/shop.

    4. From here, increase the PHP upload limits in php.ini file:

      memory_limit = 32M
      upload_max_filesize = 24M
      post_max_size = 32M
    5. If the upload_max_filesize is greater than post_max_size, you must increase post_max_size so that it is larger than upload_max_size. If the value of post_max_size is greater than memory_limit, you must increase the memory_limit so that it is larger than post_max_size.

    6. Save changes to the file.

Don’t forget to have a look at our large scale of professional PrestaShop templates!

Feel free to check the detailed video tutorial below:

PrestaShop Troubleshooter. How to resolve the issue “The uploaded file exceeds 2M”