Mario Ropič Posted June 22, 2010 Share Posted June 22, 2010 Hello!I have a problem with moving prestashop to another server...- Download all files from OLD page to harddrive- Uplaod all files from harddrive to NEW server root folder- Export and Import MySQL database- Change settings in config folder- Rewrite .htaccess fileSo, everything is working just fine, but there is a problem with product images. Only 1/3 products has images, 2/3 doesn't have.. What is wrong? I copied all images..Sorry for my bad English... I come from Slovenia..Thanks! Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 Are you sure that you copied all the product images in img/p and all of the ps_image and ps_image_lang tables in the database? Link to comment Share on other sites More sharing options...
Mario Ropič Posted June 23, 2010 Author Share Posted June 23, 2010 Hello!Yes I am sure.. i have just checked out.. Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 I can't think of any other reason why some images wouldn't work. Link to comment Share on other sites More sharing options...
bartman Posted June 23, 2010 Share Posted June 23, 2010 I had this once and it was because the ftp client had decided to transfer some of the images in ascii mode rather than binary, It might be worth reuploading and then doing a regen thumbnailsregardsCHris Link to comment Share on other sites More sharing options...
Mario Ropič Posted June 23, 2010 Author Share Posted June 23, 2010 I can't think of any other reason why some images wouldn't work. WHat are pictures names anyway? For example I have image:http://marros.mario-design.info/img/p/3476-1920-medium.jpg but i can't find it on the server in img/p folder?? WTF? Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 That makes me think that you've got images missing that weren't copied over. Does 3476-1920.jpg exist? If all the original size images exist, you can simply go to Preferences > Images > Regenerate thumbnails to recreate the thumbnail images. Link to comment Share on other sites More sharing options...
Mario Ropič Posted June 23, 2010 Author Share Posted June 23, 2010 No, thumbnails and large images are missing.. If you check in your browser, you will see image. But I can not find it on the server.. where it can be? No, 3476-1920.jpg does not exists in folder img/p.. Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 If the images are missing from img/p, then all your images couldn't have been copied over from your old server. You'll need to copy over img/p/3476-1920.jpg and any other missing images from your old server to the new server.If the images are in img/p, but aren't displaying in the browser, then it is probably a .htaccess issue. You should go to Tools > Generators and regenerate your .htaccess file to fix that. Link to comment Share on other sites More sharing options...
Mario Ropič Posted June 23, 2010 Author Share Posted June 23, 2010 Here is the catch: on the OLD server, 3476-1920.jpg does not exists eather.. But on the OLD server picture is displayed on the NEW server its not.. Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 That doesn't make sense. If the image didn't exist on the old server, then the image couldn't display. Perhaps there are so many images in the img/p directory on your old server that your FTP client can't display them all and so you weren't able to download them all and copy them to the new server? Link to comment Share on other sites More sharing options...
Mario Ropič Posted June 23, 2010 Author Share Posted June 23, 2010 How can I check this out? I am using filezilla, there is over 4000 images..Edit: I will contact my hosting provider... Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 I'm not sure, but I can tell you how many files there should be in img/p. There should be the number of rows in the ps_image table in your database plus the number of languages multiplied by 6 (assuming you haven't added or deleted any image sizes) plus 1. Basically, (number of image rows + number of languages) * 6 + 1. If the number of files in img/p is less than that, then you are missing files. Link to comment Share on other sites More sharing options...
Mario Ropič Posted June 23, 2010 Author Share Posted June 23, 2010 I see now.. i have 11 977 images, so, they are missing.. i need to get them all.. thank you for your great support! Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 I hope you can find a way to access the remaining images from the old server. Let us know if you find a way to do that. Link to comment Share on other sites More sharing options...
Mario Ropič Posted June 23, 2010 Author Share Posted June 23, 2010 Hello, you were right FTP client does not list all images.. only 2000.. I download 2000 images and then deleted them, and then the other 2000 show Thanks!Regards from Slovenia! Link to comment Share on other sites More sharing options...
rocky Posted June 23, 2010 Share Posted June 23, 2010 I'm glad you found a solution. Please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
airbag Posted June 24, 2010 Share Posted June 24, 2010 Hello, I have found this issue also in a recent site upgrade and move to a new server.Thanks for pointing it out... damm FTP got me scratching my head for about an hour! Link to comment Share on other sites More sharing options...
istox Posted December 29, 2010 Share Posted December 29, 2010 I have the same problem. What have I do? What FTP client is better for use in this operation. I use filezilla Link to comment Share on other sites More sharing options...
alchemisto Posted January 3, 2011 Share Posted January 3, 2011 There is a much faster and easier way to transfer your files from one server to another. Downloading and then re-uploading your files with FTP is inefficient, especially if you didn't ZIP or GZIP your files. Moreover there is a (big) chance of untransferred files like what just happened to Mario.For a cPanel shared hosting users, there is a way to transfer all of your files without need to download and then re-upload your files.From your cPanel choose menu Backups => Full Backup => Download or Generate a Full Website Backup => On the Backup Destination choose Remote FTP Server => Input your New Server FTP details => Press Generate BackupYou will get a notification email after the transfer finished. After file transfer finished, log into your new cpanel and with File Manager extract the transferred backup and move all files and folder in your backup public_html into your public_html.This is only an alternative way of transferring your files without having to download and upload your files manually. Although this isn't a proper way, it's very helpful. Link to comment Share on other sites More sharing options...
darqor Posted May 19, 2011 Share Posted May 19, 2011 i got now the same problem... what ftp client r u using??? thank you Link to comment Share on other sites More sharing options...
alchemisto Posted May 20, 2011 Share Posted May 20, 2011 @darqor: There's no need of FTP client to transfer your files from server to server.Probably, the best solution for you is to contact the Technical Support of your new hosting provider and ask them to migrate your website from your old hosting. They are most than just happy to do this for you. It's very easy for them since they can access the server via SSH. They can transfer and restore your website in minutes. Link to comment Share on other sites More sharing options...
Jonny79 Posted August 1, 2011 Share Posted August 1, 2011 Hi, I used WebPix to download all images from webserver. I think it works if you have problem with many pictures on ftp, I had about 6000 images. I downloaded them to my computer then put them in my web folder. /Jonny Link to comment Share on other sites More sharing options...
Recommended Posts