Jump to content

Losing product images after moving to new host


Recommended Posts

Hi
I have just transferred a prestashop installation to a new host. When I had done this, there were lots of images that weren't showing. As a result of searching the forum I thought that I had solved the problem when I discovered that less than half the images had been ftp'd to the new host. I corrected this, and now all the images are there, but still not all are showing, so I deleted all the files except the img folder, and then restored the original files again, as well as importing the original SQL tables. But still the images are not showing.

I have then upoaded a .htaccess file to the root of the shop and changed permissions to 666, followed by going to Tools > Generate, then clicking the Generate .htaccess button. Now, where there was no image, there are question marks.

Next I have gone to Preferences > Image > Regenerate thumbnails, but when I do this I get a '500 Internal Server Error' page. When I go to the error log, I get the following 2 lines showing repeatedly, and didn't know if this was related to the problem:

[12-Jan-2011 02:04:48] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/php_gd2.dll' - /usr/local/lib/php/extensions/no-debug-zts-20060613/php_gd2.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[12-Jan-2011 02:04:48] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin: undefined symbol: executor_globals_id in Unknown on line 0

Any help would be greatly appreciated.

Thanks

Link to comment
Share on other sites

the problem of the lost images, in some cases, is:
if you have a lot of images( more than 3000) , and you downlad from ftp client, maybe you dont download all images becouse the ftp client cant show the total images. This backup must be done in the hosting control panel. From this panel you can downlad all images with no lost.

Link to comment
Share on other sites

All the images are there - now, although they weren't when I did the initial transfer. But still only some images are showing in the front end.

Regarding the GD library, I don't know how to tell if this is installed, but I am assured by my host (Hostgator) that it is.

I think I am going to do a fresh install see what happens - I have gone back to the original host, so there is not too much of a problem for the time being.

Thank you both for your advice - I may be back!!

Link to comment
Share on other sites

×
×
  • Create New...