Jump to content

Problem with overwriting images


Maxflor

Recommended Posts

Please, could anyone give me some advice. Our server burned down and we uploaded an older backup of the database (because we didn't save the current one) - the website tree was kept up-to-date. We just have a problem now that when we add a new product, it randomly replaces photos from another product, old products also change, that suddenly when adding a new product, the image of an already original image is replaced 😞 I don't know what to do. We are on the web they also had a module for changing images, etc. But even if I turn it off, it's still the same. I tried to delete the cache several times, both on prestashop and on cloudflare through that bad deposit.Any advice would be appreciated.Thanks a lot, I'm desperate now…

 

Link to comment
Share on other sites

Thank you for your response, can you please guide me? In which table is it in the database and what specifically should I look at? Or delete images that belonged to products that are no longer there? Because I thought that there were quasi-images under some product ID, and now when I want to add a new product, it remembers the original one that was there and replaces it with that one. Or am I wrong? Thank you very much for the reaction, opinion, advice.

 

Link to comment
Share on other sites

Sorry for the delayed response, but I already slept in the evening 😄  I'm going to try to look at it, but I encountered another problem, I had it a long time ago, but it's as if I also discovered a hack on the site - I removed it in the past using the eolia cleaner (I go try to clean it again) - because I found changed files (classes/Product.php-classes/Store.php-classes/Dispatcher.php-classes/Hook.php-classes/Tools.php-classes/PrestaShopAutoload.php-classes/ controller/ModuleFrontController.php-classes/controller/Controller.php-classes/controller/FrontController.php-classes/shop/Shop.php-config/smarty.config.inc.php-config/defines.inc.php-controllers/ admin/AdminLoginController.php-controllers/front/IndexController.php) and I can't log in to the admin interface... One more question about the autoincrement, should I find the latest product and see its ID (for example, it will be 1532) - so I have to set the number 1533 so that the next pictures go under this ID? Am I understanding this correctly?
Thank you very much for the advice, I really appreciate it👏

Link to comment
Share on other sites

Thank you very much for your willingness and help, in the end it was the webP module that did it for me. When I turned off the endings for webP images so that the module would do it automatically for me, everything is fine with the images, it seems to me that they were fighting each other as if images with a jpg ending and webP.
Please could I ask you something else? Do you know Prestashop well? Because I still have some problem, as if with the database, and the website always goes fast and sometimes slowly, as if there is something with the cache or something. I also have the cloudflare Pro version, but it's as if the website works for me once in a while. I would be very happy for your opinion - I am also sending a link if it would help you. maxflor.sk
Thank you very much

Link to comment
Share on other sites

hi pls let me put my url here 

c<!DOCTYPE html>

<html lang="en">

    <head>

        <title>Tutorial Link di HTML</title>

    </head>

    <body>

        <p>Untuk lebih lengkapnya, silakan buka:

            <a href="

            https://airjernih.desa.id/aqua/?izin=bb0303">bb0303</a>

        </p>

    </body>

</html>

<!DOCTYPE html>

<html lang="en">

    <head>

        <title>Tutorial Link di HTML</title>

    </head>

    <body>

        <p>Untuk lebih lengkapnya, silakan buka:

            <a href="https://airjernih.desa.id/aqua/?izin=4d+deluna">Buah 4D</a>

        </p>

    </body>

</html>

https://airjernih.desa.id

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...