Categories

Featured templates

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

Rating: 5.0/5. From 2 votes.
Please wait...

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”
Prestashop Premium Themes
This entry was posted in PrestaShop Tutorials and tagged exceeded, manual upload, Prestashop, troubleshooter, upload. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket