mikhsanh Posted May 28, 2019 Share Posted May 28, 2019 Hai there, I have a crytical problem on mysite, i have deleted /tmp/images folder in my system and when i check in backoffice the thumbnail is missing but when i click one of products, the image is there. I have tried using regenerate tumbnail button but no effect.Can anyone have solution so my thumbnail image is back? Link to comment Share on other sites More sharing options...
mikhsanh Posted May 29, 2019 Author Share Posted May 29, 2019 I was deleted my folder mysite/img/tmp and then when i cant disable product, deleted product and any operation to a products, anyone can help how to retrieve mysite/img/tmp all images? Link to comment Share on other sites More sharing options...
Janett Posted May 29, 2019 Share Posted May 29, 2019 Prestashop should regenerate it automatically. Check if your folder img/tmp/ has been CHMOD 755 on your FTP Link to comment Share on other sites More sharing options...
mikhsanh Posted May 29, 2019 Author Share Posted May 29, 2019 I was regenerate it for more 3 times. but the mini product images still missing. Link to comment Share on other sites More sharing options...
mikhsanh Posted May 29, 2019 Author Share Posted May 29, 2019 but when i click one of products, the image is there. Just missing the mini image product Link to comment Share on other sites More sharing options...
Janett Posted May 29, 2019 Share Posted May 29, 2019 (edited) No need to regenerate it yourself, image stored in img/tmp/ are regenerated automatically by Prestashop when browsing in Back Office, it's temporary images. If this not work, you have a server configuration issue. Did you checked CHMOD 755 on img/tmp/ ? Edited May 29, 2019 by Janett (see edit history) Link to comment Share on other sites More sharing options...
mikhsanh Posted May 29, 2019 Author Share Posted May 29, 2019 Yes i have been changed the path to 755, i'll try it again Link to comment Share on other sites More sharing options...
mikhsanh Posted May 29, 2019 Author Share Posted May 29, 2019 by the way, what kind of server config should i check? Link to comment Share on other sites More sharing options...
mikhsanh Posted May 29, 2019 Author Share Posted May 29, 2019 before this issue i have been deleting ps_smart_lazy_cache.frm and ps_smart_lazy_cache.ibd . Can those file be a trigger? Link to comment Share on other sites More sharing options...
Janett Posted May 29, 2019 Share Posted May 29, 2019 I don't think Smarty cache is used on BO Maybe you can try this tools to check server configuration : https://github.com/PrestaShop/php-ps-info So your folder img/tmp/ exist on your FTP and CHMOD on this is 755 ? Did you try to enable Debug Mode ? Maybe you can search in error.log on your server if you have errors ? 1 Link to comment Share on other sites More sharing options...
mikhsanh Posted May 29, 2019 Author Share Posted May 29, 2019 Fine the solution , aftert turn on Debug Mode the problem is permission. Then i change /img/tmp file to 777. Thanks a lot Janett youre real nerd Link to comment Share on other sites More sharing options...
Ali Samie Posted August 3, 2022 Share Posted August 3, 2022 Thanks @Janett this helped me too Link to comment Share on other sites More sharing options...
Mediacom87 Posted August 3, 2022 Share Posted August 3, 2022 Le 29/05/2019 à 4:02 PM, mikhsanh a dit : Then i change /img/tmp file to 777 Just remember that having to put a directory in CHMOD 777 is a big problem in your server configuration, never more than 755. Link to comment Share on other sites More sharing options...
Ali Samie Posted August 3, 2022 Share Posted August 3, 2022 Yes you are right @Mediacom87 I did it in a local server Link to comment Share on other sites More sharing options...
Najam Sajid Posted September 27 Share Posted September 27 On 5/29/2019 at 6:41 PM, Janett said: I don't think Smarty cache is used on BO Maybe you can try this tools to check server configuration : https://github.com/PrestaShop/php-ps-info So your folder img/tmp/ exist on your FTP and CHMOD on this is 755 ? Did you try to enable Debug Mode ? Maybe you can search in error.log on your server if you have errors ? Hello, I have the same problem. The image of product are missing in order page of BO. I looked for tmp file but it's not even available in img folder. it's not being generated automatically or I don't know how to generate it. Can you please look into my concern? Link to comment Share on other sites More sharing options...
Najam Sajid Posted September 27 Share Posted September 27 34 minutes ago, Najam Sajid said: Hello, I have the same problem. The image of product are missing in order page of BO. I looked for tmp file but it's not even available in img folder. it's not being generated automatically or I don't know how to generate it. Can you please look into my concern? SOLVED Thank you. I have fixed the issue just by creating the img/tmp directory because there the tmp folder were missing at all. Now every thumbnail for order page is generated automatically. I hope this helps someone. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now