Jump to content

The uploaded file exceeds the "Maximum size for a downloadable product" set in preferences (2MB)


Recommended Posts

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?

post-1079490-0-46024600-1440356934_thumb.png

Link to comment
Share on other sites

  • 2 months later...
  • 10 months later...
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...