Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Bug : Can not upoad images in https backend. 
 
tbganesha
Jr. Member
 
Total Posts:  10
Joined:  2008-04-17
 

Hi all,

I’m using linux mint, linux kernel 2.6.22-14-generic with disabled firewall. I use Magento Magento ver. 1.0.19870. To try out Magento, I installed two copy of Magento. One with secure admin backend and the other with plain http backend.
I have problem in uploading Images in the Product Information panel in secure (https) admin backend. When I clicked the Upload Files, the button didn’t do anything.
I don’t have the problem with plain http backend, I can upload images successfully.
Where’s the problem? Please advise. Thank you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

Is your SSL certificate self signed or is not made for the domain name you’re using?

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
tbganesha
Jr. Member
 
Total Posts:  10
Joined:  2008-04-17
 

The ssl certificate is self-signed and made for the domain.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

Apparently flex component, which is used for image uploads will not function with a valid certificate.

If your certificate will popup a warning when opening your domain in browser, flex will not be able to connect to this server.

To successfully upload images you will have to disable SSL in admin until you will get SSL certificate signed by recognized authority.

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
tbganesha
Jr. Member
 
Total Posts:  10
Joined:  2008-04-17
 

My browser doesn’t popup any warning because I have made the self-signed certicate a trusted certificate in the browser. And I still can not upload any images.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

I didn’t mean to say that browser popup is the problem, i meant that it is an indication of a problem.

While you can disable the popup for the browser, the same thing that causes the browser to popup the warning (which is untrusted certificate), cases flex component not to allow connection to your server, and you can not disable this limitation.

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
tbganesha
Jr. Member
 
Total Posts:  10
Joined:  2008-04-17
 

Does flexuploader.js file handle the image uploading ? If it is not, please advice which one. Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1771
Joined:  2007-08-07
Los Angeles
 

There are few files involved in image uploading. These include:
js/lib/flex.js
js/mage/adminhtml/flexuploader.js
media/flex/upload.swf

 Signature 

- I would love to change the world, but they won’t give me the source code -

 
Magento Community Magento Community
Magento Community
Magento Community
 
Wiseguy Digital
Member
 
Avatar
Total Posts:  55
Joined:  2007-09-17
Bristol, UK
 

Are there any reasons why my image uploads would stop working after I have added about 25 products and now if I try to upload an image then I keep getting the error message “Upload HTTP Error”. I have not changed anything?

I see this message is triggered in flexuploader.js, but is there a way of getting a more specific error message?

 Signature 

WISEGUYDIGITAL
Digital design, development and consultancy. From video, Flash virals, to e-commerce and bespoke development.
http://www.wiseguydigital.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
Wiseguy Digital
Member
 
Avatar
Total Posts:  55
Joined:  2007-09-17
Bristol, UK
 

I have found the answer to my problem, but I think I would call it a bug. My sites are on staging URLs that are behind .htaccess protection.

When using .htpasswd protection images will not upload, and I believe this could be considered as a bug.

 Signature 

WISEGUYDIGITAL
Digital design, development and consultancy. From video, Flash virals, to e-commerce and bespoke development.
http://www.wiseguydigital.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
trtech
Jr. Member
 
Total Posts:  3
Joined:  2008-07-21
 

See: http://www.magentocommerce.com/bug-tracking/issue/?issue=2675

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53214 users|733 users currently online|107265 forum posts