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

Magento

eCommerce Software for Online Growth

Magento Forum

   
Page 10 of 12
Can’t upload product images…. 
 
JLHC
Guru
 
Avatar
Total Posts:  573
Joined:  2008-05-09
MY - US
 
webbuddy - 31 August 2008 12:40 AM

I did not have a php5.ini file to add those 4 lines to, so I simply created a php.ini file and inserted those 4 lines there.  Problem solved.

Yes. I said php5.ini because version 1.1.1 and 1.1.2 needs the renaming of php.ini to php5.ini before the installation can go through smoothly. Glad that your issue is solved. wink

 Signature 

Aspiration Hosting - Premium Hosting Solutions
Magento-One-Click-Installer Available NOW!
Unleash the real potential of your Magento store with Aspiration Hosting!

 
Magento Community Magento Community
Magento Community
Magento Community
 
bradsugar
Jr. Member
 
Total Posts:  24
Joined:  2008-08-16
 

I have same problem too. I got that error message when I asked my host to install SSL certificate into my main domain (not magento installation domain) . does that affect my permission ? Please help...yesterday everything was OK ...i have tried inserting those 4 lines but to no success..more advice?

 
Magento Community Magento Community
Magento Community
Magento Community
 
scree
Sr. Member
 
Avatar
Total Posts:  94
Joined:  2008-07-14
Linz
 

tried everything, but can’t get it done. i had 1.1.2 on my server (where the upload worked out fine)… upgraded to 1.1.3 (same server) and no image upload.

 
Magento Community Magento Community
Magento Community
Magento Community
 
scree
Sr. Member
 
Avatar
Total Posts:  94
Joined:  2008-07-14
Linz
 

Good news. I upgraded to 1.1.4 on my demo store an image upload works now. I will try to find out what has changed here.

 
Magento Community Magento Community
Magento Community
Magento Community
 
scree
Sr. Member
 
Avatar
Total Posts:  94
Joined:  2008-07-14
Linz
 

Well, I don’t get it. I still have my 1.1.3 (directory htdocs) and made a exact copy (including database, directory htdocs_demo). Then I uploaded all 1.1.4 files to htdocs_demo and tried to figure out which files have changed.

Result: In htdocs_demo, I can upload images without problems (even in Safari).

These files are not the same:

diff htdocs/app/code/core/Mage/Bundle/Block/Catalog/Product/View/Type/Bundle/Option.php htdocs_demo/app/code/core/Mage/Bundle/Block/Catalog/Product/View/Type/Bundle/Option.php
diff htdocs
/app/code/core/Mage/Catalog/Model/Category.php htdocs_demo/app/code/core/Mage/Catalog/Model/Category.php
diff htdocs
/app/code/core/Mage/Catalog/Model/Product/Compare/Item.php htdocs_demo/app/code/core/Mage/Catalog/Model/Product/Compare/Item.php
diff htdocs
/app/code/core/Mage/Catalog/Model/Product.php htdocs_demo/app/code/core/Mage/Catalog/Model/Product.php
diff htdocs
/app/code/core/Mage/Checkout/Block/Cart/Shipping.php htdocs_demo/app/code/core/Mage/Checkout/Block/Cart/Shipping.php
diff htdocs
/app/code/core/Mage/Checkout/controllers/OnepageController.php htdocs_demo/app/code/core/Mage/Checkout/controllers/OnepageController.php
diff htdocs
/app/code/core/Mage/Core/Model/Abstract.php htdocs_demo/app/code/core/Mage/Core/Model/Abstract.php
diff htdocs
/app/code/core/Mage/Core/Model/Store/Group.php htdocs_demo/app/code/core/Mage/Core/Model/Store/Group.php
diff htdocs
/app/code/core/Mage/Core/Model/Store.php htdocs_demo/app/code/core/Mage/Core/Model/Store.php
diff htdocs
/app/code/core/Mage/Core/Model/Website.php htdocs_demo/app/code/core/Mage/Core/Model/Website.php
diff htdocs
/app/code/core/Mage/Customer/Model/Customer.php htdocs_demo/app/code/core/Mage/Customer/Model/Customer.php
diff htdocs
/app/code/core/Mage/Review/Model/Review.php htdocs_demo/app/code/core/Mage/Review/Model/Review.php
diff htdocs
/app/code/core/Mage/Sales/Model/Order/Creditmemo.php htdocs_demo/app/code/core/Mage/Sales/Model/Order/Creditmemo.php
diff htdocs
/app/code/core/Mage/Sales/Model/Order/Invoice.php htdocs_demo/app/code/core/Mage/Sales/Model/Order/Invoice.php
diff htdocs
/app/code/core/Mage/Sales/Model/Order.php htdocs_demo/app/code/core/Mage/Sales/Model/Order.php
diff htdocs
/app/code/core/Mage/Sales/Model/Order/Shipment.php htdocs_demo/app/code/core/Mage/Sales/Model/Order/Shipment.php
diff htdocs
/app/code/core/Mage/Tag/Model/Tag.php htdocs_demo/app/code/core/Mage/Tag/Model/Tag.php
diff htdocs
/app/etc/local.xml htdocs_demo/app/etc/local.xml
diff htdocs
/app/locale/en_US/template/email/sales/invoice_new.html htdocs_demo/app/locale/en_US/template/email/sales/invoice_new.html
diff htdocs
/app/locale/en_US/template/email/sales/order_new_guest.html htdocs_demo/app/locale/en_US/template/email/sales/order_new_guest.html
diff htdocs
/app/locale/en_US/template/email/sales/order_new.html htdocs_demo/app/locale/en_US/template/email/sales/order_new.html
diff htdocs
/app/Mage.php htdocs_demo/app/Mage.php
diff htdocs
/index.php htdocs_demo/index.php
diff htdocs
/lib/Varien/Image/Adapter/Gd2.php htdocs_demo/lib/Varien/Image/Adapter/Gd2.php
diff htdocs
/lib/Varien/Io/File.php htdocs_demo/lib/Varien/Io/File.php
diff htdocs
/skin/adminhtml/default/default/images/logo.gif htdocs_demo/skin/adminhtml/default/default/images/logo.gif
diff htdocs
/skin/frontend/default/default/images/logo_email.gif htdocs_demo/skin/frontend/default/default/images/logo_email.gif
diff htdocs
/STATUS.txt htdocs_demo/STATUS.txt

Does anybody know, if there are changes made in the database too? Most of the files include a security update for the admin area.

No “real” changes have been made for the image upload. I am still at the beginning. But I can count out browser, flash update and server settings (they both are in the same vhost with the same php settings).

Any idea?

 
Magento Community Magento Community
Magento Community
Magento Community
 
scree
Sr. Member
 
Avatar
Total Posts:  94
Joined:  2008-07-14
Linz
 

SOLVED IT FOR ME!

As posted somewhere else here , I changed the file

/lib/Varien/Image/Adapter/Gd2.php

in order to raise the image quality from 75 (default) to 95.

Now I added the original file and it works now.

Forget about this. My REAL and FINAL solution for this problem where some changes in index.php (tried to detect the browser’s language). Replaced with index.php of 1.1.4 and everything runs.

 
Magento Community Magento Community
Magento Community
Magento Community
 
macfred
Jr. Member
 
Total Posts:  10
Joined:  2008-05-17
 

To Solve that problem, I had to add that that php.ini in the root:

This file is for CGI/FastCGI installations.
; Try 
copying it to php5.ini, if it doesnt work

adjust memory limit

memory_limit 
64M

max_execution_time 
18000

disable magic quotes for php request vars

magic_quotes_gpc 
off

disable automatic session start
before autoload was initialized

flag session
.auto_start off

enable resulting html compression

zlib
.output_compression on

disable user agent verification to not break multiple image upload

suhosin
.session.cryptua off

turn off compatibility with PHP4 when dealing with objects
    
;zend.ze1_compatibility_mode off

extension
=pdo.so
extension
=pdo_sqlite.so
extension
=sqlite.so
extension
=pdo_mysql.so

Now it works perfectly wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
daitenshi4000
Jr. Member
 
Total Posts:  2
Joined:  2008-09-22
 

Hi, I am running magento 1.1.6 on the latest xampp on mac. I had that upload problem with magento telling me the upload was complete, but not adding the image.

I found that my php.ini has no upload_tmp_dir, so I created /Applications/xampp/xamppfiles/tmp and now it works!

 
Magento Community Magento Community
Magento Community
Magento Community
 
albertobraschi
Jr. Member
 
Avatar
Total Posts:  15
Joined:  2008-09-06
Curitiba/PR
 

i have de 1.16 version of magento, and firebug apoited this error:

flexuploader.js on line 213

any ideas?

im trying to upload a photo after a clean installation of this version ...

 Signature 

http://www.octagonoecommerce.com.br

Soluções Criativas que dão resultado!

 
Magento Community Magento Community
Magento Community
Magento Community
 
liamegan
Jr. Member
 
Total Posts:  5
Joined:  2008-07-23
 

I have a new installation of 1.1.6 and I’m having problems getting images to upload. In the Image upload area neither of the buttons do anything.

 
Magento Community Magento Community
Magento Community
Magento Community
 
liamegan
Jr. Member
 
Total Posts:  5
Joined:  2008-07-23
 

So it seems that the problem is that Magento doesn’t think I have the correct version of flash installed. Here’s the HTML I can pick up from firebug:

<div style="display: none;"
        
id="id_e0252c08121036468e4afa3088b1cac6_Uploader-install-flash">
             
This content requires last version of Adobe Flash Player.
             <
a href="http://www.adobe.com/go/getflash/">Get Flash</a>
</
div>

Any tips where I can find this file to attempt to re-engineer the flash embed?

 
Magento Community Magento Community
Magento Community
Magento Community
 
davinder
Member
 
Total Posts:  52
Joined:  2008-06-26
 

I posted solution on this page http://www.magentocommerce.com/boards/viewthread/7009/P75/ which worked for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
liamegan
Jr. Member
 
Total Posts:  5
Joined:  2008-07-23
 

davinder, your solution is a backend one - which would be unhelpful for me. I’m guessing the problem that I’m experiencing (and anyone else for whom the upload/browse buttons are simply not working) has more to do with the flash embed code breaking either for newer versions of flash or for different browsers.

 
Magento Community Magento Community
Magento Community
Magento Community
 
dimi_ned
Jr. Member
 
Total Posts:  22
Joined:  2008-08-01
 
liamegan - 30 September 2008 05:00 PM

davinder, your solution is a backend one - which would be unhelpful for me. I’m guessing the problem that I’m experiencing (and anyone else for whom the upload/browse buttons are simply not working) has more to do with the flash embed code breaking either for newer versions of flash or for different browsers.

I also suffer from the “image upload button” not working.
As an experiment, I setup Magento on an ubuntu desktop 8.0.4 and apache/php + all extensions setup.
I also setup Magento with my hosting provider (hostmonster).

Using the same browser (firefox) and the same OS (Ubuntu) to load it from,
the locally installed Magento on Ubuntu install runs flawlessly, the hosting provider’s install NOT.

Using windows vista and the the “same” browser (firefox) the hosting provider’s Magento, the buttons work!

This is beyond me. I can’t really explain it.

I hope this helps someone think/identifying what the problem is.
So far, I’ve spent more time looking at issues than developing in this (otherwise great looking) platform.

 
Magento Community Magento Community
Magento Community
Magento Community
 
JLHC
Guru
 
Avatar
Total Posts:  573
Joined:  2008-05-09
MY - US
 

@ dimi_ned: Have you tried contacting your hosting provider about this? They may be able to asist you in this since they are the only one who knows what configurations the servers are using.

 Signature 

Aspiration Hosting - Premium Hosting Solutions
Magento-One-Click-Installer Available NOW!
Unleash the real potential of your Magento store with Aspiration Hosting!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 10 of 12
 
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
53194 users|729 users currently online|107227 forum posts