- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
PrestaShop Troubleshooter. How to resolve the issue “The uploaded file exceeds 2M”
September 29, 2016
This tutorial will guide you through on how to resolve the issue “The uploaded file exceeds 2M”.
You may choose one of these solutions:
Upload theme to server directly
First, use the FTP connection or log into the cPanel dashboard.
This leads you to the main cPanel area. From here, locate and enter the File Manager.
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.
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.
Open the Admin panel > Preferences > Themes > Add new theme > Import theme from FTP.
Increase the PHP upload limits
Second, log into the cPanel dashboard or use FTP connection.
This leads you to the main cPanel area. From here, locate and enter the File Manager.
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.
From here, increase the PHP upload limits in php.ini file:
memory_limit = 32M upload_max_filesize = 24M post_max_size = 32M
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.
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”