Elio Posted September 3, 2018 Share Posted September 3, 2018 Uploading a virtual product on InMotion hosting of over 100mb in size produces the following: "The uploaded file exceeds the "Maximum size for a downloadable product" set in preferences (999MB) or the post_max_size/ directive in php.ini (100MB). " My php.ini file is set as follows: error_log = /home/rpmcon5/www/error_log log_errors = On upload_max_filesize = 2000m post_max_size = 2000m max_input_time = 600 max_execution_time = 600 memory_limit = 1024M max_file_uploads = 1024 The phpinfo page at http://rpmconsulting.com/store/phpinfo.php indeicates that the max upload and post size are being set correctly and they are recursive thoughout the directory structure. I also confirmed that there were no other copies of php.ini floating around. The Administrator Preferences have been set to 2gb max size Upload.php contains: const DEFAULT_MAX_SIZE = 10485760000; I also whitelisted my local IP in the ModSecurityManager in Cpanel, so that should not be causing a problems (I have also tried disabling it completely) At this point, I am at a loss as to why Prestashop interprets the php.ini max file size to be only 100mb when phpinfo shows it to be 2,000mb Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now