Search This Blog

Mar 5, 2012

500 Internal Server Error on Magento Product Images – Godaddy hosting

I encountered this issue when I transferred magento files from dev environment to production site. The production environment is hosted on Godaddy. After trying couple of things like making the media folder to 0777 permission, clearing cache etc. I still got this annoying error.

I’ve been spending a couple of hours trying to solve the issue until I found out that the simple solution is to delete the .htaccess file under the media folder. Wt*.

if you are using a Linux server just do the following command

cd /media/
mv .htaccess .htaccess--

And if your using a FTP client, just go to your Magento directory. Go to media folder and delete the file.


15 comments:

Anonymous said...

THANK YOU! This did the trick!

Anonymous said...

Your trick worked. Renamed .htaccess inside media. You saved me dear. I owe you treat. Thanks a lot

Rida said...

Great work dude!!
I tried almost a complete re-install of magento.

Thanks!

Anonymous said...

Thanks so much for sharing that trick.
Problem sorted out!

Cheers

Anonymous said...

Very kind to post it, thank you.

Anonymous said...

Very very thanks for your trick

Janz said...

@all - Thanks to all of you guys!

Anonymous said...

Really thanks...

Gleb said...

THANK YOU!!! You've helped me so much)))

Chris said...

I cannot thank you enough for this, just migrated to godaddy, and after fixing all the other issues, this one was driving me insane, thank you :D

Portal do Montador said...

Fabullous...simply great!

Vadim said...

MAN, you are very COOL!!! Thanks for you very very much. I`ve spend to a couple of hours. And you helped me very very much.

Vadim said...

Man thanks for you very very very very much. You are a SUPERMAN! I`ve spended a couple of hours to and was so angry, but you just so helped to me, that now i have wonderfull mood. Thanks for you, you are very Cool Man!!!

Anonymous said...

THANK YOU!!!!! Saved me precious time!!!

Aditya Singla said...

thanks a ton. you saved so many hours.