Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Image upload fix for Macs
 
northlandadv
Jr. Member
 
Total Posts:  7
Joined:  2008-05-03
 

After much forum browsing and experimentation, I have found a fix for the Mac upload issue for product images.  I updated my flash, etc,etc, with no effect.  Uploads worked great on a PC, not on Mac FF and Safari.

It turns out it’s a setting in the htaccess file:

# disable user agent verification to not break multiple image upload

php_flag suhosin.session.cryptua Off

</IfModule>

php_flag suhosin.session.cryptua need to be set to ON

Previously I had no trouble with a local install (MAMP) but that’s because I was not using the htaccess file since I wasn’t using rewrites.  Once the site went to the production server with the htaccess file, it no longer worked.

Hope this helps!  I know there’s been a log of posts about this before..

 
Magento Community Magento Community
Magento Community
Magento Community
 
mirtillotta
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2008-06-03
Italy
 

Hi,
I’m running Magento 1.0.19870 on lighttpd, not on Apache and I couldn’t upload product images from both Mac and PC.

My problem got solved doing the exact contrary of what you did: I turned php_flag suhosin.session.cryptua OFF (which was ON by default)!

Now everything works properly for single and multiple images upload.

Bye,
Francesca

 
Magento Community Magento Community
Magento Community
Magento Community
 
thomasfr
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-04-10
Vienna
 

Hi!

I had the same Problem with Product Image Uploads.

I have also the suhosin hardened php patch installed and i fixed the error with DISABLING the “ suhosin.session.cryptua” Option. So i think northlandadv also means to turn this option to OFF as mirtillotta said already.

I hope this helps to fix the nasty image upload logout “Issue”

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sébastien Yaher
Jr. Member
 
Total Posts:  9
Joined:  2008-04-05
 

Hi,

I tried everything yu said and I still can’t use the image upload with my Mac. It works fine with windows.
Can you copy paste your .htaccess parameters?

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

Has anyone else gotten this to work? I’ve tried enabling and disabling “suhosin.session.cryptua” with no apparent change either way in Firefox or Safari.

 
Magento Community Magento Community
Magento Community
Magento Community
 
migo
Jr. Member
 
Total Posts:  10
Joined:  2008-08-15
 

VMWare/WinXP/Firefox 3 = YES
MacOSX/Firefox 3 = NO

Was
php_flag suhosin.session.cryptua off

Now
php_flag suhosin.session.cryptua on

Still don’t work on Mac.

When changing these settings it doesn’t require any sort of reset does it? Just refresh and the changes should have taken effect?

I’ve only been in Magento about 4 days...and have a .NET background only minimum php/linux

 
Magento Community Magento Community
Magento Community
Magento Community
 
markf
Sr. Member
 
Total Posts:  145
Joined:  2007-09-20
 

I am having the same issue.  Tried the solution above, but it did nothing for me.  Can upload from win, just not mac.  When I click browse files, nothing happens.  I get no window.

 
Magento Community Magento Community
Magento Community
Magento Community
 
markf
Sr. Member
 
Total Posts:  145
Joined:  2007-09-20
 

FINALLY, I found the fix for my problem.  It was the new flash 10 plugin.  It causes problems with flex.js which is used to upload files.

I simply downloaded the older version (flash 9) and now it works like it used too!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

You are correct. The problem has to do with an incompatability with Flash Player 10 (on the Mac at least). I downgraded to 9.124 and it works more or less perfectly. Could be my imagination, but entire web browser seems to be quicker as well.

 
Magento Community Magento Community
Magento Community
Magento Community
 
bcycles
Jr. Member
 
Total Posts:  14
Joined:  2008-10-02
 
Brady - 29 October 2008 09:07 AM

You are correct. The problem has to do with an incompatability with Flash Player 10 (on the Mac at least). I downgraded to 9.124 and it works more or less perfectly. Could be my imagination, but entire web browser seems to be quicker as well.

how do you downgrade? I installed flash player 9 but I still cant upload images. I click the button and nothing happens… how do I unistall flash player 10?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

http://www.adobe.com/support/flashplayer/downloads.html

Look for “Uninstaller” as well as Flash Player 9 Installer.

 
Magento Community Magento Community
Magento Community
Magento Community
 
bcycles
Jr. Member
 
Total Posts:  14
Joined:  2008-10-02
 

solved, thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Armen
Member
 
Total Posts:  46
Joined:  2008-05-06
Los Angeles
 

I’m running 10.5.5 and Flash Player 9 for my Mac browsers (Camino, Safari, and Firefox), and Magento is being hosted locally using MAMP. I tried the fix offered by the original poster but it did not work.

Does anyone have any other ideas? This is a pretty big problem, not being able to upload images from my development machine.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

This issue should be fixed in the 1.1.7 release. I can not confirm yet though.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Armen
Member
 
Total Posts:  46
Joined:  2008-05-06
Los Angeles
 

Sorry, I forgot to also mention that I am running 1.1.7.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brady
Guru
 
Avatar
Total Posts:  330
Joined:  2007-09-10
Orange County, CA
 

I had some problems with Flash Player 9 and unresponsiveness. Each time I uninstall and reinstall Flash Player 9 and it solves the problem. Perhaps this is the same issue with the 1.1.7 release and Flash Player 10?

Uninstaller link is listed above.

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