Mipou Posted June 30, 2015 Share Posted June 30, 2015 Hi there, I have a problem with uploading a theme (13MB), and I got error message "the file is too big". First, I thought it was a problem with OVH, after contacting them, I got the following information (php config) "memory_limit" => 512M "file_max_upload_size => 64M "allow_url_fopen => on "register global => off "safe_mode => off "magicquotes => off So, no problem with memory limit or file max upload size. They said it was probably some configuration in Prestashop. I installed other prestashop with other web hosters (with cPanel), I never have had to configure for this. Could you please help ? Thank you Link to comment Share on other sites More sharing options...
vekia Posted June 30, 2015 Share Posted June 30, 2015 what is the size of the file you're trying to upload? Link to comment Share on other sites More sharing options...
Mipou Posted June 30, 2015 Author Share Posted June 30, 2015 It is about 13MB, and the limit in the message is 10MB. Link to comment Share on other sites More sharing options...
NemoPS Posted July 1, 2015 Share Posted July 1, 2015 Are you sure the theme file is not including the psd as well? You might want to take it out of the archive. That, and any pdf/doc Link to comment Share on other sites More sharing options...
alikasapoglu Posted May 9, 2016 Share Posted May 9, 2016 I had a very similar problem and recently solved with these:1. prestashop settings: administration>preferences , increase values at "upload quota" block2. update php.ini file: 2.1 how to find the location of php.ini file: https://www.ostraining.com/blog/coding/phpini-file/ 2.2 update these values in php.ini (max_input_time 3200 | post_max_size 32M | upload_max_filesize 32M | max_execution_time 300) https://cloud.digitalocean.com/support/suggestions?article=how-to-change-your-php-settings-on-ubuntu-14-04&page=0&query=upload_max_filesize3. restart php and nginx services: (in linux with these commands: "service nginx restart" "service php5-fpm restart")4. increase client_max_body_size in nginx. ( http://stackoverflow.com/questions/2056124/nginx-client-max-body-size-has-no-effect ) 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