Jump to content

Images not found in img/p


Recommended Posts

Hello everybody,

 

I'm developing a severe case of depression due to the problem I am having. Let me begin.

 

Fact1: The live PrestaShop site (currently running 1.3) is all nice and dandy - I can see all the product images everywhere.

 

Fact2: The local PrestaShop (both 1.3 and an updated version to 1.5.6) is in tears because of the lacking images. Some (most!) of the product images seem to be lacking.

 

What I've discovered:

As 1.3 used the old (I'd suppose so) image storing system - stores them in one folder with no subfolders - it weirdly seems to have close to 10000 files in it (more like 9997 or somethign) which is weird considering the timing that I decided to check and it seemed to have that many pictures. Maybe, there's a limit? And after that it stores the images elsewhere? Maybe some folder limit?

 

Using a file explorer, I've noticed that there's a huge gap between some images. The gap appears like this: 1269-XXXXX-medium.jpg and the next file is 10002-XXXXX-home.jpg. And there should be plenty of other files as one might guess.

 

I've tried multiple file explorers (linux: gftp, filezilla; Windows: filezilla, file explorer) and they all seem to tell me the same, which is not right.

 

Other stuff, I have tried, seen after converting to 1.5:

URL rewriting does not help. Also, the other checkboxes (cannonical url, disabling apache multiviews) does not help.

 

Some of the image files that are missing, seem to appear in the img/tmp folder but they're only thumbnails.

 

I'd not like to purge some cache in the live site as I do not know what might happen if I do that.

 

Any clues?

Thanks :)

 

TL;DR:

Product image files are missing and I've lost a kidney because of it.

Edited by AndriusS (see edit history)
Link to comment
Share on other sites

The solution that I was able to come up with was writing a PHP script to scrape all of the images from all of the products from the live shop. Yep, it took quite a while as you can imagine.

Well, I'll just assume that it's some kind of a problem with FTP browsers etc.

Link to comment
Share on other sites

×
×
  • Create New...