undesigned Posted July 1, 2016 Share Posted July 1, 2016 Suddenly I got an error when I want to add an image to a new product or an existing one. The error is: "A PHP extension stopped the file upload" I tried several solutions from forum but nothing works. Please help me with a solution!! Attached store configuration: Thanks! Link to comment Share on other sites More sharing options...
musicmaster Posted July 1, 2016 Share Posted July 1, 2016 This is not a Prestashop error. It is a PHP error. It looks like there is some PHP security module or other software (such as Suhosin) stopping the file. You should ask your hosting provider or have a look with phpinfo() to know which software it might be. Link to comment Share on other sites More sharing options...
codetheweb Posted July 2, 2016 Share Posted July 2, 2016 Hi, Usually this php error is caused by your apache environnement. Your file is too large so apache cant proced with the file upload. Try to change max_post_size on your php.ini (usually: /etc/php5/apache2/php.ini) King regards 1 Link to comment Share on other sites More sharing options...
undesigned Posted July 4, 2016 Author Share Posted July 4, 2016 The solution was the settings: suhosin.post.max_vars = 5000suhosin.request.max_vars = 5000 Mark the topic as [solved] Thanks! 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