Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 646 Vote(s) - 3.48 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Product images not showing after server migration prestashop

#1
I have migrated my prestashop 1.5.6 e-commerce site to a new server,

Process i did was just upload the files to new server and import the db.

I cleaned the Cache/smarty/compile and Cache/smarty/cache folders and left the index.php file.

I tried regenerating thumbnails from Preferences/images page but didn't work and gave "Internal server error".

I changed the process configuration to FcgidBusyTimeout 3600 in /etc/httpd/conf.d/fcgid.conf

I tried again to regenerate and this time, it is gave that : Original images not found in /img/p/1/2/xxx, But in reality all my images are in /img/p/xxxx.png

I tried using the Move Images to New image structure function in Preferences/images page and it created the structure but 1400+ images are not found now !!


Anyhelp will be more then welcome !

Updated : 27 June 2014
I lost hope after 48 hrs of finding and trying different solutions, reverted version back to backup copy of store, and not managing the store anymore. lost client..
Reply

#2
Have you checked the suffix of the images? Sometimes it change from _home to _homedefault.

Reply

#3
For others who may not yet get the answer

Go to Preference -> SEO and URLS.

There you will get a block for shop detail named as "Set Shop URL", There you have to change the details for Shop domain, SSL domain, Base URI as per your server details.
Reply

#4
You could check these:

- default image paths `_PS_PROD_IMG_DIR_` and `_PS_IMG_DIR_`
are changed in `defines.inc.php` and rest of path is as expected
- value for `PS_IMAGE_QUALITY` was changed manually to `jpg` instead of `png` in `ps_configuration` table
Reply

#5
Update domain in:

- your **[www root]/.htaccess**
- **ps_shop_url** db table
Reply

#6
Did you regenerated your `.htaccess`? To do so, go to preferences>SEO and URLs and click save. This will automatically refresh a line in that file depending on your new server configuration.

If not, try to regenerate the thumbnails (Preferences>images>regenerate thumbs). Since you have a lot of images, Try to regenerate type by type because the process take a lot of time and it is better to know where it stops if it is interrupted.

Of course, all manips are better done in development environment.

good luck.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through