I've migrated my magento website from demo to live server, imported database, same files and everything from demo version, and changed url's in database, but for some reason products images which have been working on demo site are not showing up on live.
Now, i've tried:
- Delete /var/cache, /var/sessions
- Delete /media/cache
- Move /media/catalog/product to /media/import and import products through admin panel using csv
- Import products using csv
- Replace strings in database
- [UPDATE]: Forgot to mention that i've tried to chmod /media and /var folders recursively with 777 rights
- Also, i've tried removing .htaccess file from /media folder - didn't made any difference.
The interesting thing is that on demo website, when i open url like: http://mydemowebsite/magento_demo/media/catalog/product/i/m/img_1204_image_name_1_1_1_1_1_1_1_1_1_1.jpg i can see the image BUT when i go to /media/catalog/product/i/m/ i can't find img_1204... file anywhere. Crazy, huh... ?
and when i open the same url but with my live websites domain name - i have blank page.
[UPDATE]: I've tried editing get.php file, and it seems that when i try to access image through url on my live site, if i'll add echo "something" - the text will appear in the browser. If i edit get.php on my demo website - text doesn't appear at all. Even if i add die('something') at the beginning of the file.
Can anyone explain me what is happening and how can i fix this ? Thanks in advance!
gd
enabled on your server – urfusion