Jump to content

All my images disappeared and the paths are wrong. Backups dont fix it


MTNST

Recommended Posts

Hello, i dont know what happened to my shop.

Overnight all my product images dont work, no matter what i do. I didnt do any changes to my shop for multiple days.
I restored backups from yesterday and 2 weeks ago. Images stay broken.


Here is what i tried:
-Add a new product with a fresh picture -> stays without picture.
-Replace a picture on existing product -> stays without picture.
-Regenerate Thumbnails or all pictures -> stays without pictures.

Google Chrome says in the Dev Tools:
Failed to load resource: the server responded with a status of 404 ()
-> Doing that i realized that the paths it tries to access are wrong. 

 

I tried to replicate the problem of the new product:
I add a new product Icecream, it gets the ID 94 in Prestashop and i add the picture 4-eis.jpg

Prestashop uploads the picture to:
shop.com/img/p/1/3/1/131-home_default.jpg
I check on the FTP Folder, the image is really in that folder.

Now i go to the shop, see the product without a picture and the server tries to find it under:
shop.com/131-home_default/4-eis.jpg

This folder does not exist ofc and also it doesnt even have /img/p/

And by the way: In the backend all pictures are still there.

 

What is happeing here?
Im wondering since even backups from two weeks ago dont solve the problem

I really hope you guys can help me, i will try to provide all needed information if i missed something.

Thank you so much!

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

WOW that helped thank you!

How can this happen and such an easy thing fix it?
I seriously didnt touch the shop or the FTP for probably a week and yesterday everything was fine.

Could my Hoster be involved? Or what could have caused it?

Link to comment
Share on other sites

On 5/6/2020 at 7:25 PM, MTNST said:

WOW that helped thank you!

How can this happen and such an easy thing fix it?
I seriously didnt touch the shop or the FTP for probably a week and yesterday everything was fine.

Could my Hoster be involved? Or what could have caused it?

Difficult to know now... 🤷‍♂️

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...