Can Not Upload Extension - Error: uploaded file exceeds the upload_max_filesize directive in php.ini
In Admin, I am using Extensions > Installer. Using Upload button.
When I try to upload an Extension I have it fails and I get this error:
Warning: The uploaded file exceeds the upload_max_filesize directive in php.ini!
Now, I went ahead and edited both the PHP.ini for my local server, and also a PHP.ini that is in my opencart main directory.
I made the following changes to my php.ini files, based on suggestions from forum:
upload_max_filesize = 256M
post_max_size = 256M
memory_limit = 512M
max_execution_time = 180
But, this did not help. I am still getting the same Error.
Can anyone suggest some other solution.
later refresh cashed files in extension modifications, and in admin dashboard small cog icon top right corner
Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace
Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace
Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT
post_max_size: 8M
php.ini: /opt/cpanel/ea-php73/root/etc/php.ini
but when I go into php.ini in cPanel ---> upload_max_filesize = 999M
Please help
Attachments
opencart.png (85.38 KiB) Viewed 4279 times
cPanel.png (19.94 KiB) Viewed 4279 times
Use phpinfo() to see what upload_max_filesize is set to. If it's too small you will need to set in php.ini, user.ini, htaccess or your hosting control panel. If you don't know where ask your host.
Users browsing this forum: No registered users and 87 guests