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.
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
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?
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.
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.
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…
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
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!
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 . 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.
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
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?
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 ?