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

Magento

eCommerce Software for Online Growth

Magento Forum

   
Can’t upload product images…. 
 
cyfer
Jr. Member
 
Total Posts:  13
Joined:  2008-07-14
 

Just tried to install a copy of 1.1.1 and the upload function works.
Even tried to import/export a database from 1.1.3 and that works in 1.1.1 so not a database issue. It is some code somewhere…

Might have to go back to 1.1.1 which seems really stupid…

 
Magento Community Magento Community
Magento Community
Magento Community
 
barrmy
Member
 
Avatar
Total Posts:  65
Joined:  2008-06-03
 

ugh having the same problem on 1.1.3 fresh install...didn’t have any issues on 1.0

 Signature 

http://www.techconcert.com - now running on magento 1.1.8

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

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

 
Magento Community Magento Community
Magento Community
Magento Community
 
maslenka
Jr. Member
 
Total Posts:  1
Joined:  2008-07-21
 

I did little workaround and find that uploading images works fine on fresh apache/php installation (which is more or less unsecured) but not on my hosting. After many tries to upload images i found that apache creates new http session after uploading image(s) with that crappy flash uploader. (So, if you manage log in again between pressing “upload images” and “save” button, everything works fine)

With help of my hosting sysadmin we finally found following solution working:

put these lines into your .htaccess file (or appropriate lines to php.ini):

php_flag suhosin.session.cryptua off
php_flag suhosin.cookie.cryptua off
php_flag suhosin.session.cryptdocroot off
php_flag suhosin.session.encrypt off
php_flag suhosin.cookie.cryptdocroot off
php_flag suhosin.cookie.encrypt off

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bolt
Jr. Member
 
Total Posts:  7
Joined:  2008-04-22
 

Is this still happening to anyone else, I am using:
aspirationhosting.com
I have tried both Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 and have also tried on Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16

I have changed the write permissions on media and var folders to 777

I have made sure that php_flag suhosin.session.cryptua off

I have also tried adding to the HTTPaccess file php_flag suhosin.cookie.cryptua off
php_flag suhosin.session.cryptdocroot off
php_flag suhosin.session.encrypt off
php_flag suhosin.cookie.cryptdocroot off
php_flag suhosin.cookie.encrypt off

I have uninstalled and reinstalled many versions of flashplayer

I can click on the browse button and magento tells me the images are uploaded but when I save I am logged out. I can;t find any images uploaded to the server and have exausted all other options. Anything else anyone can think of I will be more than happy to try.

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

@ Bolt: Our servers are suPHP/suEXEC enabled (added security) and as such you will need to change anything with permissions of 777 to 755, including the “media” and “var” folders.

 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
 
Bolt
Jr. Member
 
Total Posts:  7
Joined:  2008-04-22
 

I tried it with the permissions changed to 777 but have since changed them back when it didn’t work

I forgot to mention that I am using magento 1.1.3

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bolt
Jr. Member
 
Total Posts:  7
Joined:  2008-04-22
 

aspiration have provided me the following fix:

One of the ways we found working with version 1.1.2 and below is the followings:-

Add the following lines in your php5.ini file (in your Magento root folder):-

“magic_quotes_gpc = off
short_open_tag = on
extension=pdo.so
extension=pdo_mysql.so”

However, sometimes this fix does not work for version 1.1.3.

It didn;t work for me but hopefully it does for someone else.

Any other ideas will be much appreciated

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bolt
Jr. Member
 
Total Posts:  7
Joined:  2008-04-22
 

I have been told that it is probably best for me to roll back to 1.1.2 until that isssue is resolved

 
Magento Community Magento Community
Magento Community
Magento Community
 
Falk
Jr. Member
 
Total Posts:  11
Joined:  2008-03-31
 

Hello,

I have hostgator and could not upload pictures after fresh install. I tried adding php.ini and it did not help.

I change every folder in media and below from 777 to 755
and I can now upload images hope this helps others cheese !

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bolt
Jr. Member
 
Total Posts:  7
Joined:  2008-04-22
 

I have finally resolved my image upload issues

I tried to roll back to 1.1.2 and accidentally reinstalled 1.1.3 I added the below php.ini file

Add the following lines in your php5.ini file (in your Magento root folder):-

“magic_quotes_gpc = off
short_open_tag = on
extension=pdo.so
extension=pdo_mysql.so”

However, sometimes this fix does not work for version 1.1.3.

This didn’t work until I change the file name to php.ini, now all seems to be good as gold

 
Magento Community Magento Community
Magento Community
Magento Community
 
kouri
Member
 
Total Posts:  31
Joined:  2008-07-14
 

I’ve got a fresh install of 1.1.3.

And it shows this msg:
“Image type and information need to be specified for each store view. “

Both of the buttons don’t work on any of the browsers (ie7, ff3 or safari)

Is there a way to manually place the images on the product page for now before this is fixed? Pretty urgent stuff.

 
Magento Community Magento Community
Magento Community
Magento Community
 
kouri
Member
 
Total Posts:  31
Joined:  2008-07-14
 

Ah in terms of manually adding images, i’ve decided to just add the images straight into the database until it’s fixed.
It works smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
JLHC
Guru
 
Avatar
Total Posts:  573
Joined:  2008-05-09
MY - US
 
Bolt - 25 August 2008 09:56 PM

I have finally resolved my image upload issues

I tried to roll back to 1.1.2 and accidentally reinstalled 1.1.3 I added the below php.ini file

Add the following lines in your php5.ini file (in your Magento root folder):-

“magic_quotes_gpc = off
short_open_tag = on
extension=pdo.so
extension=pdo_mysql.so”

However, sometimes this fix does not work for version 1.1.3.

This didn’t work until I change the file name to php.ini, now all seems to be good as gold

Glad that your issue is solved. I will look into this solution and see what I can find. ;)

 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
 
webbuddy
Jr. Member
 
Total Posts:  29
Joined:  2008-06-05
Australia
 
JLHC - 26 August 2008 06:10 AM

Bolt - 25 August 2008 09:56 PM
I have finally resolved my image upload issues

I tried to roll back to 1.1.2 and accidentally reinstalled 1.1.3 I added the below php.ini file

Add the following lines in your php5.ini file (in your Magento root folder):-

“magic_quotes_gpc = off
short_open_tag = on
extension=pdo.so
extension=pdo_mysql.so”

However, sometimes this fix does not work for version 1.1.3.

This didn’t work until I change the file name to php.ini, now all seems to be good as gold

Glad that your issue is solved. I will look into this solution and see what I can find. ;)

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.

 Signature 

webbuddy

Operating system>Linux; Apache version>2.2.8 (Unix); PHP version>5.2.5; MySQL version 5.0.45-community

 
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
53201 users|763 users currently online|107234 forum posts