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…. 
 
easymobiles
Jr. Member
 
Avatar
Total Posts:  16
Joined:  2008-03-10
 
easymobiles - 30 June 2008 03:55 PM

Hi Everyone,
I have a pretty serious problem affecting our website at the moment http://www.mobicity.com.au.  I’ve posted this elsewhere but haven’t foudn anyone that can help so I’m hoping people in this thread might have some clues.

I managed to fix this issue by following the instruction laid out here.  Hope this helps others as it has been a very frustrating time for me.  I can only guess that my host has mem test disabled.

http://www.magentocommerce.com/boards/viewthread/7486/#t31484

 
Magento Community Magento Community
Magento Community
Magento Community
 
neillh
Jr. Member
 
Avatar
Total Posts:  1
Joined:  2008-06-30
Sydney, Australia
 

I have fixed my problem.
I could select an image. upload it, but then when i went to save it nothing happeed

I went into:
System --> Configuration --> Web

Set my Unsecure Base Url to “http://www.domain.com.au/magentofolder/” (Added www to it and made sure it was http not https)
Set my Secure Base URL to “https://www.domain.com.au/magentofolder/” (Added www to it and left it as https)

Now i can upload images and set them as thumb main etc etc

 
Magento Community Magento Community
Magento Community
Magento Community
 
mtulett
Jr. Member
 
Total Posts:  4
Joined:  2008-06-04
 

Hi all,

Anything new to report on this? I’m getting the same problem that was mentioned earlier - I try to upload images but it says ‘completed’ then I hit save and it logs me out and nothing is saved.

I have checked all the permissions, non of my images are larger than about 150k and I have tried all the other things mentioned in this thread apart from the php.ini modifications as I don’t really want to turn off magic quotes (but if anyone else has done this and it has worked then please let me know!)

If not then has anything else come to light that might get this working?

Many thanks, Matt

 
Magento Community Magento Community
Magento Community
Magento Community
 
Jeff S
Jr. Member
 
Total Posts:  8
Joined:  2008-02-21
 

I had the same problem some people were having where the upload hits 100% and then nothing happens (not getting logged out like some of you). As mentioned on an earlier post I tried resizing the images first, they were huge pics sent from the client, and as soon as I tried the resized pic it worked fine.

 
Magento Community Magento Community
Magento Community
Magento Community
 
cosmicbandito
Jr. Member
 
Total Posts:  14
Joined:  2008-06-04
 

Hi,

I just came to the same problem, that’s not able to upload pictures. Well, I’ll try the php.ini configuration next.

But just for info, it seems to be a server issue for me. The upload doesn’t work on the webserver, which is a apache server on a linux system. But I tried it on a local XAMPP configuration (Apache and WinXP) too and there the upload worked fine. In each case I used the same browser which was FF.

I’ll let you know if the php.ini thing fixed it…

 
Magento Community Magento Community
Magento Community
Magento Community
 
alexallied
Jr. Member
 
Total Posts:  4
Joined:  2008-06-12
 

The php.ini does it for me. Had been cracking my head over this issue for over a month now!!

Make a php.ini file and add the following lines. Save, and upload into your magento folder.

register_globals=On
allow_url_fopen=On
magic_quotes_gpc = off
short_open_tag = on
extension=pdo.so
extension=pdo_mysql.so

Hope that helps.

 
Magento Community Magento Community
Magento Community
Magento Community
 
mtulett
Jr. Member
 
Total Posts:  4
Joined:  2008-06-04
 

OK, I could not fix the issue where I uploaded an image and it logged me out. So I got onto the Varian guys and paid them to set the thing up for me in case I had done anything stoopid installing it. They got the same problem and went away and found it is indeed down to a server setting.

So to fix it what you need to do is create yourself a php.ini file in your magento folder with the following

suhosin.session.cryptua = Off

then set the permissions for it to 644 and away you go......I did this and it all worked beautifully (although it initially confused my server into thinking I didn’t have pdo_sql installed, but that was only temporary)

Hope that works for anyone else with the same issue…

Cheers

 
Magento Community Magento Community
Magento Community
Magento Community
 
catchgraphics
Jr. Member
 
Total Posts:  10
Joined:  2008-03-23
 

I have the same problem – not able to upload images onto server. It doesn’t require SSL as it works fine on my local server and have got it working in a previous version of Magento without an SSL certificate. I think it is a permissions problem as I have had problem after problem with my new install of Magento and each problem has been resolved by changing the permissions to 755 or 644. I don’t want to go to every single file and change the permissions as that would take forever. Perhaps it is an incompatibility with my Aspiration webhosting company (but others have posted the same problem). The same version installs perfectly on my local server without a problem so I am guessing that Magento’s default permissions don’t match Aspiration (my webhosting company’s permissions).
If someone could please respond from Magento on these issues that would be great as a lot of people are having these issues.
Many thanks

Michael

 
Magento Community Magento Community
Magento Community
Magento Community
 
fitabo.com
Jr. Member
 
Total Posts:  5
Joined:  2008-07-08
 

Is there another workaround? I tried all fixes mentioned here in this thread and nothing works for me, the image upload works normal and it says “Complete” but nothing happens, no image in the list, no image in the media folder!

System: Mac 10.5.4
Browser: latest Safari, latest Flash
latest Xampp Install

 
Magento Community Magento Community
Magento Community
Magento Community
 
finderbee
Jr. Member
 
Total Posts:  4
Joined:  2008-04-14
 

Just a thought about this image upload failure problem.

It appears to me that some of you are having problems caused by the restriction imposed by PHP safe mode. Note that the current system requirements for Magento include “php_safe_mode = off”.

The PHP safe mode is an attempt to solve the shared-server security problem by imposing several limitations that might cause some scripts to go wild, well not quite wink .  Basically, when it is switched on (as in many shared hosts), PHP does a UID compare check to see if the owner of the current script matches the owner of the file to be operated on. Now if you run php as an apache module, the temporary img-upload file or the directory created by the script would be owned by the apache user (could be apache, www-data, etc). Now, if the script is owned by user somebody-else, the compare check failed and the “safe mode restriction” would be in effect, thus image upload failed.

More info about php_safe_mode:  http://www.php.net/features.safe-mode
To check if it is switched on:  simply use php_info().
Possible solution (not-tested): if you could, set php_safe_mode = off ; otherwise try some work-around out there, such as relaxing the UID check with safe_mode_gid = true; or running php as cgi; or deploying su_php; etc. etc.

Hope this helps. Cheers.

 Signature 

aus3.net —magento for the win!

 
Magento Community Magento Community
Magento Community
Magento Community
 
cosmicbandito
Jr. Member
 
Total Posts:  14
Joined:  2008-06-04
 

Thanks mtulett,

the suhosin.session.cryptua = Off in php.ini worked for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
viovao
Jr. Member
 
Total Posts:  18
Joined:  2008-07-17
 
mtulett - 05 July 2008 10:02 AM

OK, I could not fix the issue where I uploaded an image and it logged me out. So I got onto the Varian guys and paid them to set the thing up for me in case I had done anything stoopid installing it. They got the same problem and went away and found it is indeed down to a server setting.

So to fix it what you need to do is create yourself a php.ini file in your magento folder with the following

suhosin.session.cryptua = Off

then set the permissions for it to 644 and away you go......I did this and it all worked beautifully (although it initially confused my server into thinking I didn’t have pdo_sql installed, but that was only temporary)

Hope that works for anyone else with the same issue…

Cheers

Beautiful!!! it works!

Just remember to save it in coding “ANSI” I tried “UTF-8” dosen’t work wink

 Signature 

__________________________________________

Viovao.com in danish we sell tasker - we go live 1. sep. 08

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

Hi guys,

We have settled this problem of ours by adding a new php.ini file with the followings in Magento root folder:-

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

Regards,
James

 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
 
Mr.Gregersen
Jr. Member
 
Total Posts:  17
Joined:  2008-06-15
 

Hi…

I have the same problem about uploading pictures.. It just won’t work…
I tried with the php.ini in Magentos root folder, but with no luck.
Now I have tried to get my host to change apaches php.ini with following values:

suhosin.session.cryptua = off
magic_quotes_gpc = off
short_open_tag = on
extension = pdo.so
extension = pdo_mysql.so

But it still not working…
What can I now try to do?

Kind regards,
Mr. Gregersen

 
Magento Community Magento Community
Magento Community
Magento Community
 
skitpt
Jr. Member
 
Total Posts:  17
Joined:  2008-05-09
 

Not working either. app/etc its 777 also is /var and /media and php.ini is there with all those mods. Nothing did it!
Damn ... Maybe because my host has suExec ?

 
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
49896 users|362 users currently online|101898 forum posts