I was trying to upload a custom module to prestashop 1.7, and get this error:
File is too big (52.59MiB). Max filesize: 50MiB.
I've checked with phpinfo that it's not caused by my php settings:
memory_limit 512M
post_max_size 150M
upload_max_filesize 100M
Searching on the web, I find that this value seems to be hardcoded on the file:
adminblahblahblah/themes/default/js/bundle/module/module.js
One of its lines says:
maxFilesize: 50, // can't be greater than 50Mb because it's an addons limitation
But editing that value, donesn't seem to do nothing.
It's really hardcoded this value and is an addons limitation? or can be changed and how?
Thanks for your help!