Nabbolo Posted June 1, 2014 Share Posted June 1, 2014 I'm using PS 1.6.0.6 and it's working quite good after some adjustments. I still have some minor issues and this is one of them. In the error log i find a lot of lines saying that there are files missiing: .../img/p/5/2/6/526-home_default2x.jpg .../img/p/1/8/7/2/1872-home_default2x.jpg ... There is also a referrer, I think it should be the page asking for those files; I go on it, look at the source code and there is no trace of those files. Also I've never seen the naming "2x" in Prestashop pictures... and I couldn't find it on Google as well. How could I debug this? I do not and I've never used friendly URLs if it could help. Link to comment Share on other sites More sharing options...
Dh42 Posted June 1, 2014 Share Posted June 1, 2014 I haven't seen that either, do you have a link to the page calling those images? Link to comment Share on other sites More sharing options...
Nabbolo Posted June 2, 2014 Author Share Posted June 2, 2014 I haven't seen that either, do you have a link to the page calling those images? I send you a PM with the complete links. Thanks Link to comment Share on other sites More sharing options...
Ölsoppa Posted June 27, 2014 Share Posted June 27, 2014 Is there a solution to this? I think I have a similar problem. Here's what i found in my Nginx error log: 2014/06/27 00:57:43 [error] 2699#0: *133 open() "/opt/share/nginx/html/myexample.com/shop/img/p/6/6-home_default2x.jpg" failed (2: No such file or directory), client: 192.168.1.33, server: myexample.com, request: "GET /shop/img/p/6/6-home_default2x.jpg HTTP/1.1", host: "myexample.com", referrer: "http://myexample.com/shop/index.php" My setup is Nginx 1.4.4 + php-cgi 5.4.27 + PS 1.6.0.8 I don't use any specific rewrite rules for PS. Link to comment Share on other sites More sharing options...
vekia Posted June 27, 2014 Share Posted June 27, 2014 perhaps you had this imagetype defined before? if so and if your website was crawled by robots, this address can be stored somewhere over the internet, so crawlers trying to open it Link to comment Share on other sites More sharing options...
Nabbolo Posted June 30, 2014 Author Share Posted June 30, 2014 perhaps you had this imagetype defined before? if so and if your website was crawled by robots, this address can be stored somewhere over the internet, so crawlers trying to open it 100% sure, I've always only used standard PS formats, never changed them and I'm sure there has never been a "2x" :-/ Link to comment Share on other sites More sharing options...
Nabbolo Posted July 28, 2014 Author Share Posted July 28, 2014 I've found an interesting fact: in the source codeof the theme the images are inserted with this HTML class: <img class="replace-2x img-responsive" src="..." /> Which could be responsible for the comparison of these "2x" files in some situations (maybe because of responsiveness of the theme). I use absolutely the default theme with no modifications. Any clue now? I don't want to create a "_default2x" version for each kind of image, but at the same time I woud like to solve this error which keeps appearing every day a lot of times in my error log without loosing responsiveness. Link to comment Share on other sites More sharing options...
x3n0m0rph Posted September 2, 2014 Share Posted September 2, 2014 I have a problem with home_default2x image, but is not similar - I think. When I go in front office, any category, is all good. If I go on a product page and then press the back button of the browser, all images from the category are missing. If I refresh the page is all good again. I looked on the source of the missing images and I found that images are missing becouse the shop is trying to show home_default2x image, not home_default. I solved the problem by creating a new image type called home_default2x and generating images for it. Is that the best solution? Link to comment Share on other sites More sharing options...
Recommended Posts