In magento admin while adding products image is not uploading.I tried by uploading in different browsers but it too doesn't worked.I have given 777 file permissions to media folder.When i upload image, image is stored in media/tmp/catalog/media folder.But it is not showing the image in the magento admin.Here is the screenshot of the issue.Can there be any reason for the image not saving in product in admin.
Asked
Active
Viewed 2.0k times
5
-
Did you tried clearing browser's cache, or any other browser – TBI Infotech Jun 12 '14 at 05:13
-
Yes i tried clearing browser cache and also in other browser but image is not uploading.@TBIInfotech – Abinaya Jun 12 '14 at 05:15
-
Check if you have enough space at your FTP and if the limit was not exceeded. – TBI Infotech Jun 12 '14 at 05:27
-
Ok try logout and login, and check if the image is showing? – TBI Infotech Jun 12 '14 at 05:51
-
Image is saved in media/tmp/catalog/product folder. – Abinaya Jun 12 '14 at 06:32
-
Do you have adobe shockwave on your system? – TBI Infotech Jun 12 '14 at 07:44
-
When i run magento in localhost image is uploading correctly. – Abinaya Jun 12 '14 at 10:15
-
i have the same problem did you get the solution??? – Jigs Parmar Jun 05 '17 at 16:33
-
Anyone with a solution? – abr Mar 14 '18 at 15:03
-
Same Problem in my website but i am using this code butt no working Please solved this problem – Muhammad Qasim Ali Sep 12 '18 at 08:50
-
This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review – Manashvi Birla Sep 12 '18 at 09:11
-
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. - From Review – Rama Chandran M Sep 12 '18 at 09:13
6 Answers
4
I have the same problem. The issue was with the PHP7.0.
I have chosen the image, have clicked the "Upload" button. The row with the file name has become in red color.
I have debuged it and found error
xdoctordog
- 41
- 2
-
-
the change in code saved my life! was looking for hours until i stumbled upon this answer – Bart Hofma Jan 30 '17 at 01:43
-
@xdoctordog sorry i dont get what u r suggesting on that line . Can u plz explain it – inrsaurabh Jul 11 '17 at 11:45
-
Please, try to add braces in core Magento file, like I had shown on the screenshot. – xdoctordog Aug 28 '17 at 10:06
4
Disable flash uploader magento and install the below plugin to solve the issue. The Key for connect 2.0
http://connect20.magentocommerce.com/community/Dull_Uploader
Teja Bhagavan Kollepara
- 3,816
- 5
- 32
- 69
alamelu
- 446
- 3
- 14
-
3could you please give some more detailed information on this plugin – David Manners Jun 13 '14 at 13:58
-2
Goto FTP open Media Directory and just change name of
.htaccess to .htaccess_old
And remove the Cache
TBI Infotech
- 4,788
- 1
- 13
- 30
-
3Never use this solution. You may face other issue to. Because .htaccess files are used for setting up site configuration and renaming current one will overwrite setting and a default one will be created. – Trimantra Software Solution Jan 29 '15 at 10:49
-
1When you do this, you open yourself up to people uploading php scripts into your media directory structure and being able to execute them. Congratulations for opening up a security hole that the Titanic can pass through. If you read that .htaccess file, it has specific entries to prevent execution of files out of the media folders. – Fiasco Labs Jul 24 '15 at 00:00
-2
What worked for me (on an older version of Magento of 1.3.2.4) was a recursive permission of 777 of the media folder AND renaming the .htaccess to .htaccessold - I then logged out, cleared the cache, logged back in and IT WORKED!!
-
3The removed .htaccess file had specific entries to prevent file execution out of the media folder structure. You've just enabled a security hole. – Fiasco Labs Jul 24 '15 at 00:02

