butlerov Posted July 16, 2016 Share Posted July 16, 2016 Hi.Cant upload some pictures.Ask a host increase php_value memory_limit. now i receive another error. ant still cant upload even compressd pic(1.5mb).Help! Another pics 11mb uploading just fine.maybe 4409x5208 pixels too big? presta 1.6.1.2 before increased memory limit PHP Warning: copy(/home/users/b/butlerov/domains/mysite.ru/img/p/4/7/0/470-thickbox_default-qQGItL43yA.jpg): failed to open stream: \xd0\x9d\xd0\xb5\xd1\x82 \xd1\x82\xd0\xb0\xd0\xba\xd0\xbe\xd0\xb3\xd0\xbe \xd1\x84\xd0\xb0\xd0\xb9\xd0\xbb\xd0\xb0 \xd0\xb8\xd0\xbb\xd0\xb8 \xd0\xba\xd0\xb0\xd1\x82\xd0\xb0\xd0\xbb\xd0\xbe\xd0\xb3\xd0\xb0 in /home/users/b/butlerov/domains/mysite ru/classes/Image.php on line 343, referer: http://www mysite ru/admin7630nx85y/index.php?controller=AdminProducts&conf=4&token=a0035c880729eac83edd483fa8b039de after increased memory limit PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 17636 bytes) in /home/users/b/bulerov/domains/mysite ru/classes/ImageManager.php on line 485, referer: http://www mysite ru/admin7630nx85y/index.php?controller=AdminProducts&id_category=30&id_product=300&updateproduct&token=a0035c880729eac83edd483fa8b039de Link to comment Share on other sites More sharing options...
sandipchandela Posted July 17, 2016 Share Posted July 17, 2016 Ask your hosting to increase memory limit Double check upload_size with phpinfo method. I know u can upload 11MB files but no 1.5MB file ! Check prestashop/img/p/....*.* having the images or not. Run phpinfo method on server. Have a look into this - https://www.prestashop.com/blog/en/php-ini-file/ Link to comment Share on other sites More sharing options...
musicmaster Posted July 17, 2016 Share Posted July 17, 2016 Did you test smaller image sizes? Note that already during the upload Prestashop will reduce the size of the images. So it doesn't make sense to upload such huge images. Link to comment Share on other sites More sharing options...
butlerov Posted July 17, 2016 Author Share Posted July 17, 2016 (edited) Yea small image sizes uploads, probably 4409x5208 pixels of pics was a problem, but its strange Edited July 17, 2016 by butlerov (see edit history) 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