greyshark7 Posted August 23, 2015 Share Posted August 23, 2015 When I try to upload an associated file for a virtual product, I get this error message: The uploaded file exceeds the "Maximum size for a downloadable product" set in preferences (2MB) or the post_max_size/ directive in php.ini (2MB). Fair enough, because the file is 18MB. But how do I change these settings so I can upload the file? In my php.ini file, it says the maximum upload is already 50MB (upload_max_filesize = 50M) and it also says that post_max_size = 50M, I've also gone to uploader.php in the classes folder, and changed DEFAULT_MAX_SIZE from 10485760 to 104857600, but this didn't solve the problem. Any ideas? Link to comment Share on other sites More sharing options...
prestamax Posted August 23, 2015 Share Posted August 23, 2015 This is a prestashop setting. Go to administration => preferences and change here the maximum size for downloadable products. Link to comment Share on other sites More sharing options...
greyshark7 Posted August 23, 2015 Author Share Posted August 23, 2015 Thanks, that did the trick. Link to comment Share on other sites More sharing options...
klamort Posted November 2, 2015 Share Posted November 2, 2015 This is a prestashop setting. Go to administration => preferences and change here the maximum size for downloadable products. Hello, Could you please tell me where in "preferences" I can find this option... Thanks Link to comment Share on other sites More sharing options...
kalindiprints Posted September 5, 2016 Share Posted September 5, 2016 I cannot find anything in preferences. Can somebody help where exactly in Preferences it has to be changed? Link to comment Share on other sites More sharing options...
rocky Posted September 6, 2016 Share Posted September 6, 2016 It's not the Preferences tab, but the Administration > Preferences subtab. You'll see an "Upload quota" section with a "Maximum size for attachment", "Maximum size for a downloadable product" and "Maximum size for a product's image" fields in megabytes. 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