Try the Demo

Magento Forum

   
No upload image
 
cycology77
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2009-11-11
Macon, Georgia
 

Has anyone found a definitive solution for this?

I\’ve had no issues related to image uploads in my shop until last week (I\’ve been running Magento for over a year). I can\’t think of any changes that would have affected this functionality. I\’ve checked permissions in my media folder, tried all the php.ini fixes I\’ve found, installed the no-flash upload extension (http upload error changes to $_FILES array is empty when using that extension), I even tried uninstalling and downgrading Flash with no luck. I run into these same errors regardless of OS or browser I\’ve tried (FF, IE, Chrome; Mac OS, Win XP, Win7)

It seems a lot of people have run into this issue at some point or another, but I\’m not finding a clear cut solution.

 Signature 

-c

--

Chris Hood
Marketing Manager, ShuBee

http://www.shubee.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
Marlow
Jr. Member
 
Total Posts:  6
Joined:  2008-10-29
 

Wow! The issue has been existed for three years.
I am luck and get this issue still in CE 1.4.1.1 and 1.4.2-rc2, so I know Mage more. LOL

Well, from this thread, someone could solved in MS-IE, get problem in Firefox (and other browswers).
Obvisously, it is the javascript bug matching with MS-IE only.
Is the developer who working for this portion with MS only…
Is the Mage policy working for MS only…

As I use Linux, I would try to install a virtualbox with MS-Windows for this purpose.
Or I would try the extension recommanded from this thread.

Make a note here as this is the first link in google. tongue wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
Marlow
Jr. Member
 
Total Posts:  6
Joined:  2008-10-29
 

After trying upload by MS-IE 7.0 in Windows Xp and MS-IE8.0 in Windows Vista, both versions are failed to upload image to the product and the website would force to logout when I saved it as others mentioned.

Well, any core member for community edition please give us the tips on what we didn’t finish.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Marlow
Jr. Member
 
Total Posts:  6
Joined:  2008-10-29
 

The way to solve is to use…
http://www.magentocommerce.com/extension/1756/no-flash-uploader#magento-community/Dull_Uploader

cool grin  LOL

 
Magento Community Magento Community
Magento Community
Magento Community
 
elfling
Enthusiast
 
Avatar
Total Posts:  821
Joined:  2008-10-21
 

Updating or installing your adobe shockwave sometimes fixes this

 Signature 

creative media group - Magento modules by elfling
Nimbus Hosting UK - Magento Hosting - Fast, Reliable and Secure - Tell them elfling sent you

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sistemi Informativi
Jr. Member
 
Total Posts:  17
Joined:  2009-11-19
Italy
 

following the guide in this post.
http://www.magentocommerce.com/boards/05/08/viewthread/215226/

i spent a lot of time to solve :=(

 Signature 

Children Shoes - Naturino

 
Magento Community Magento Community
Magento Community
Magento Community
 
demonkoryu
Guru
 
Avatar
Total Posts:  328
Joined:  2008-11-26
Dortmund, Germany
 

When you’ve go the images to upload but they don’t get saved with the product, it may be a Prototype error.

In my case (Magento 1.4.2.0), I upgraded to Prototype 1.7 and suddenly couldn’t save uploaded images anymore.

The fix was to change the various <variable>.toJSON() calls in js/mage/adminhtml/product.js to Object.toJSON(<variable>).

For example, from

$(this.idPrefix 'save_attributes').value this.attributes.toJSON();
to
$(this.idPrefix 'save_attributes').value Object.toJSON(this.attributes);

I’m attaching the modified product.js.

Hope that helps someone.

File Attachments
product.js  (File Size: 41KB - Downloads: 357)
 
Magento Community Magento Community
Magento Community
Magento Community
 
navc83
Jr. Member
 
Total Posts:  2
Joined:  2010-07-14
 
demonkoryu - 07 June 2011 05:03 AM

When you’ve go the images to upload but they don’t get saved with the product, it may be a Prototype error.

In my case (Magento 1.4.2.0), I upgraded to Prototype 1.7 and suddenly couldn’t save uploaded images anymore.
The fix was to change the various <variable>.toJSON() calls in js/mage/adminhtml/product.js to Object.toJSON(<variable>), for example:

From

$(this.idPrefix 'save_attributes').value this.attributes.toJSON();
to
$(this.idPrefix 'save_attributes').value Object.toJSON(this.attributes);

I’m attaching the modified product.js.
Hope that helps someone.

This worked for me just as i was about to give up!

Just remember once you have uploaded the file to clear your js/css cache smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
bytedust
Jr. Member
 
Total Posts:  1
Joined:  2011-06-24
 

@demonkoryu! Thanks for the solution, this worked for me too! I did also an update of Prototype.

 
Magento Community Magento Community
Magento Community
Magento Community
 
demonkoryu
Guru
 
Avatar
Total Posts:  328
Joined:  2008-11-26
Dortmund, Germany
 

I\’m glad it helped. smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Amasty
Mentor
 
Avatar
Total Posts:  3016
Joined:  2009-11-10
 

Product images upload can be more intuitive, efficient, and maybe even fun with the AJAX Image Uploader . After all, you can just drag and drop files right from you computer (HTML5 feature)

 Signature 

55+ free & paid Magento extensions

 
Magento Community Magento Community
Magento Community
Magento Community
 
Joel Mellon
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2008-12-31
Cincinnati Ohio
 

@demonkoryu!  Your post regarding Prototype 1.7 upgrade was helpful and the successful solution.  Thank you for your contribution

 Signature 

JM

 
Magento Community Magento Community
Magento Community
Magento Community
 
benblee
Jr. Member
 
Total Posts:  13
Joined:  2009-01-15
 

The issue is a hosting issue as far as I can see.

Check directory permissions and ask your host if “suEXEC” is enabled.  Your directories should be 755 and your account should be the owner...not root or “nobody”. 

If “suEXEC” is NOT enabled, magento will try to upload the images to the “/media/tmp/yadayadayada” directories and will need 777 in order to do so, which is wrong because it will then want to pull from the non-/tmp path.

 
Magento Community Magento Community
Magento Community
Magento Community
 
fbunduka
Jr. Member
 
Total Posts:  1
Joined:  2011-09-11
 

Thanks a lot!
Saved my day grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
djiuzd
Jr. Member
 
Total Posts:  2
Joined:  2011-02-15
 

Thank you demonkoryu, same here: saved my day! I just uploaded the old prototype.js, version 1.6.0.3 - I’m quite sure what the new version does for my site anyway, and the old file is smaller.

 Signature 

Supplemento.nl - Eiwitshakes, vitamines & meer.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top