powerdada2 Posted January 19, 2021 Share Posted January 19, 2021 Hi, Prestashop 1.7.6.8 I am trying to find this 404 error, I have this on all my products ( console chrome) Failed to load resource: the server responded with a status of 404 () undefined:1 Any ideas? Link to comment Share on other sites More sharing options...
musicmaster Posted January 19, 2021 Share Posted January 19, 2021 Two things to try: - move the cursor over the word "undefined: 1". It will display some link - look at the source code of the page (left click with the mouse in the browser and select source code). Search with what you found in the previous step for the exact location of the "undefined" resource. Link to comment Share on other sites More sharing options...
powerdada2 Posted January 19, 2021 Author Share Posted January 19, 2021 Hi, This is related to the category where product are mysite/mycategory/undefined All my products have this :-( Link to comment Share on other sites More sharing options...
R4xx4r Posted January 20, 2021 Share Posted January 20, 2021 Hi, I have no idea if this could help, but I also had a problem with category images and after I "rebuild" the images it works. So you can try: log in into backend optimization -> design -> images on the bottom you have a button with something like rebuild thumbnails (i use it in german so i dont know the exactly naming in EN sry) This solved a few image problems and also some image not found issues for me. Link to comment Share on other sites More sharing options...
powerdada2 Posted January 20, 2021 Author Share Posted January 20, 2021 Hi, Thanks have try this Still have the same problem 😞 Link to comment Share on other sites More sharing options...
razaro Posted January 20, 2021 Share Posted January 20, 2021 Any chance you can share a link to your product page ? Link to comment Share on other sites More sharing options...
powerdada2 Posted January 20, 2021 Author Share Posted January 20, 2021 Hey off corse, Your help can help me exemple: https://www.smokershop.be/en/cigarette-filter-tubes/3316-mascotte-gold-200 Thanks 😉 Link to comment Share on other sites More sharing options...
razaro Posted January 20, 2021 Share Posted January 20, 2021 Not sure for image, did not get error every time, but think it is some image that is loaded through JavaScript. But got this error few times bottom-5b91eb1159.js:2417 Uncaught TypeError: $(...).lazy is not a function and block with bundle products do not load. On refresh it is fine though. If you want try to disable Smarty cache for CSS and JS, clear cache and debug bit more. So maybe some preloaded image for lazyload or main product image zoom area. Link to comment Share on other sites More sharing options...
musicmaster Posted January 21, 2021 Share Posted January 21, 2021 Looks like you solved the problem. I don't see any missing image. Link to comment Share on other sites More sharing options...
powerdada2 Posted January 21, 2021 Author Share Posted January 21, 2021 (edited) Hi, I still have it.... very strange When you click on F5.... sometimes error disappears Edited January 21, 2021 by powerdada2 (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted January 21, 2021 Share Posted January 21, 2021 I do get error also but just in new incognito window and when first time checking the product. Think it might be connected to zoom feature as then zoom is not active, but that is just a guessing. @powerdada2 could you disable Smarty cache for JS and clear PrestaShop cache? Link to comment Share on other sites More sharing options...
powerdada2 Posted January 21, 2021 Author Share Posted January 21, 2021 Hi, done 😉 1 Link to comment Share on other sites More sharing options...
razaro Posted January 21, 2021 Share Posted January 21, 2021 Yes, definitely from elastic zoom plugin and it code. But I could not find a solution, for now. Link to comment Share on other sites More sharing options...
powerdada2 Posted January 21, 2021 Author Share Posted January 21, 2021 1 hour ago, razaro said: Yes, definitely from elastic zoom plugin and it code. But I could not find a solution, for now. Hi, Can't you switch this off? Is this from Prestashop? Thanks in advance for the support! Link to comment Share on other sites More sharing options...
razaro Posted January 21, 2021 Share Posted January 21, 2021 Well that comes from theme, you might have option somewhere to turn on/off zoom on product page. Link to comment Share on other sites More sharing options...
powerdada2 Posted January 21, 2021 Author Share Posted January 21, 2021 10 minutes ago, razaro said: Well that comes from theme, you might have option somewhere to turn on/off zoom on product page. YES !!!! thank you, finally found just turned off, error away Link to comment Share on other sites More sharing options...
razaro Posted January 21, 2021 Share Posted January 21, 2021 Nice Do not forget to enable back Smarty cache for JS. Have a good day Link to comment Share on other sites More sharing options...
powerdada2 Posted January 21, 2021 Author Share Posted January 21, 2021 Already done 😉 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