thx2012 Posted January 16, 2014 Share Posted January 16, 2014 I migrated a copy of my PrestaShop store onto a testing domain that resides on the same server, and it resulted with some images missing. Troubleshooting the issue, I noticed that product images in the URL are missing its product ID. For example, this URL displays image: /100000-2162-home/image-name.jpgthis URL does not display image: /2162-home/image-name.jpg Roughly 50% of product images are not displaying in both FO & BO due to the missing product IDs within the URLs. Here are a couple of troubleshooting steps I performed to no prevail. 1.) Regenerated products with each level of format (home, large, medium, small, thickbox). 2.) Under the product preferences tab, I set "Activate legacy images compatibility" to NO, and regenerated thumbnails. I then reverted "Activate legacy images compatibility" back to YES, & regenerate thumbnails again. Any suggestions? Link to comment Share on other sites More sharing options...
NemoPS Posted January 17, 2014 Share Posted January 17, 2014 Legacy filesystem has to be set to NO, usually. What is your prestashop version? You might have to use the 'move all images' option in the images panel, if it's still there Link to comment Share on other sites More sharing options...
thx2012 Posted January 17, 2014 Author Share Posted January 17, 2014 PrestaShop v.1.4.4.1 I set Legacy File system to NO and when I attempt to 'move images' I receive "Error: some or all images could not be moved." More troubleshooting and I'm finding out that certain images are not able to be located within the /img/p/ at all. I've looked in both the live & testing domains under the /img/p/ to confirm product image(s) were transferred or exist and only some can be located. I'e searched in the subdirectories /img/p/1/3/ as well to no prevail. Very strange how the live site displays the product images, but when you search for them on the server in directory /img/p/ they don't exist. Is there somewhere else they may be stored? Link to comment Share on other sites More sharing options...
thx2012 Posted January 17, 2014 Author Share Posted January 17, 2014 Another commonality, The products that have four digits in product ID where inputed with PrestaShop v 1.3.9 These images are not visible or found in its directory /img/p/ The products that have six digits in product ID where inputed with PprestaShop v1.4.4.1 These images display and are located within /img/p/ directory. Link to comment Share on other sites More sharing options...
NemoPS Posted January 18, 2014 Share Posted January 18, 2014 Really weird. I'm out of ideas at the moment, because I never came across that 'images cannot be moved' error, even on 1.4. Can you try going to config/config.inc.iphp and set display_errors to on, and PS_DEBUG_SQL to true? Link to comment Share on other sites More sharing options...
thx2012 Posted January 21, 2014 Author Share Posted January 21, 2014 Ok., I've performed what you requested; I retraced my actions and regenerated error.. I however don't see any error log? Tools > Log is empty I don't see any error in the header section either. Could you please advise? Thanks! Link to comment Share on other sites More sharing options...
thx2012 Posted January 21, 2014 Author Share Posted January 21, 2014 SOLVED-i-guess I could not figure out where my images where, so I just loaded back up images and now all are displayed. Could it be that the images are residing in memory or somewhere other than directory /img/p ? Link to comment Share on other sites More sharing options...
NemoPS Posted January 22, 2014 Share Posted January 22, 2014 As far as I know, they are only sitting in the /img/p directory! 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