majinkun180 Posted July 9, 2011 Share Posted July 9, 2011 So I'm testing out the Prestashop 1.4.3 on my local server and everything was working fine until my images stopped showing and it just shows as ? mark (only when it's in the catalog view) image #1But the weird thing is that when you click on the item and you look for the image, it shows up (image #2)It also shows up in the front end so I'm not sure what the problem is.The only thing I messed with recently is the pdf.php, adminPDF.php, defines.inc.php, and config.inc.php. I only made it so Japanese shows up on my pdf invoices. Then this problem occurred. Please let me know if someone has any ideas. Thanks in advance! Link to comment Share on other sites More sharing options...
Dave L Posted July 9, 2011 Share Posted July 9, 2011 The '?' mark image usually shows when there is no image available for it or the folder/image permissions or not correct.If you right-click on the '?' image and view the image info/properties it will tell you the image location, probably something like /img/tmp/product_mini_1.jpgThen check the folder permissions and/or file permissions there.Hope this helps. Link to comment Share on other sites More sharing options...
majinkun180 Posted July 9, 2011 Author Share Posted July 9, 2011 Thanks Dave. I checked the info/properties of the image location like you said and I went into the folder where the image was suppose to be but there were no images. So I was guessing that maybe they got erased somehow and I tried erasing some images and re-uploaded them again hoping that they will appear in the folder but they still appear as '?' and there are no images created in the folder.Does erasing the cache do anything with it when running on a local server? I haven't changed anything other than pdf files and erasering all the cache and cookies. It was showing up fine until then. Link to comment Share on other sites More sharing options...
Dave L Posted July 9, 2011 Share Posted July 9, 2011 I'm really not sure.Have you tried to regenerate thumbnails under Preferences>Images?You can safely delete all the file in cache and in compile (except index.php) Link to comment Share on other sites More sharing options...
majinkun180 Posted July 9, 2011 Author Share Posted July 9, 2011 I just tried your suggestion of regenerating thumbnails with no luck again. The images don't seem to be getting stored where they are suppose to. I guess I'll have to fiddle around and see what else I can do. It's not that bad since the images show up on the front end and just not on the catalog. Thanks for your help Dave. If anybody else has any ideas I'd try anything. Link to comment Share on other sites More sharing options...
Dave L Posted July 9, 2011 Share Posted July 9, 2011 What version of prestashop are you using?If 1.4+ you can try force compile under Preferences>Performance. Be sure to disable it again after though.Other than that, sorry I can't help.Goof luck. Link to comment Share on other sites More sharing options...
majinkun180 Posted July 11, 2011 Author Share Posted July 11, 2011 I'm using prestashop 1.4.3 I tried using the force compile but that didn't work also. I'm kinda lost. Not only that, today I came in to work on the local site and all of the images are gone now or not gone but they are not showing on the front end also.... I don't know what happened. The bo was not showing the pictures but the front was working fine until today. Anybody know how to get the images working again? Link to comment Share on other sites More sharing options...
majinkun180 Posted July 11, 2011 Author Share Posted July 11, 2011 Okay so looked all over the forums and I followed through with many of the suggestions with no luck.Did all the following1) regenerated thumbnails2) regenerated new htaccess file3) cleared cache4) tried force compile onIt's really weird because in my case I did a clean install of 1.4.3 on my local computer and everything was working fine. The images were showing up in the bo and the front website. Things started to change only when I fiddled with my pdf.php, and a few other pdf related pdf php files which I believe have nothing to do with images.So I do believe I found the problem but I don't know how to fix it myself.On my BO when I click the view info for my image it points to /prestashop/admin123/_PS_TMP_IMG_product_mini_102.jpgBut there are no images there instead I believe the images are stored in/prestashop/img/tmpI'm not sure how to get the images pointed to the right folder. I could just move the images into the "admin123" folder but the image doesn't have the extension "_PS_TMP_" so I doubt that fix would work. I just need to know which file to change in order to have the images correctly pointed at if that makes any sense. Link to comment Share on other sites More sharing options...
Dave L Posted July 12, 2011 Share Posted July 12, 2011 I really don't know what to suggest now.I don't think having to rename files and move them is really a solution. You need to find out why the images are not being placed in the correct folder to start with.I just had another look. On the page that you enter the images for a product, the image location is /img/p/5/6/56-small.jpg">On the categories page, for the products already entered the images shown there are located /img/tmp/product_mini_10.jpgIn the FO the product images in the product listing are located /img/p/5/6/56-home.jpgThe product image on the product page are located /img/p/5/6/56-large.jpg and finally the Thickbox image is located /img/p/5/7/57-thickbox.jpgI realise you may already know this or figured it out but I thought I would post the locations anyway. It may just help.Hopefully someone will come along with a solution for you. 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