php - Magento 1.9.1.0 product images are not showing after migrating -


i've migrated magento website demo live server, imported database, same files , demo version, , changed url's in database, reason products images have been working on demo site not showing on live.

now, i've tried:

  1. delete /var/cache, /var/sessions
  2. delete /media/cache
  3. move /media/catalog/product /media/import , import products through admin panel using csv
  4. import products using csv
  5. replace strings in database
  6. [update]: forgot mention i've tried chmod /media , /var folders recursively 777 rights
  7. also, i've tried removing .htaccess file /media folder - didn't made difference.

the interesting thing on demo website, when 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 can see image when go /media/catalog/product/i/m/ can't find img_1204... file anywhere. crazy, huh... ?

and when open same url live websites domain name - have blank page.

[update]: i've tried editing get.php file, , seems when try access image through url on live site, if i'll add echo "something" - text appear in browser. if edit get.php on demo website - text doesn't appear @ all. if add die('something') @ beginning of file.

can explain me happening , how can fix ? in advance!

found problem myself. tried help, problem was: ftp client shows 10k images per folder. folder had more 10k files, , when downloaded website files demo server - i've downloaded 10k images per folder. , that's why didn't show on live website


Comments