powerdada2 1 Posted January 19 Posted January 19 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? Share this post Link to post Share on other sites
musicmaster 677 Posted January 19 Posted January 19 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. Share this post Link to post Share on other sites
powerdada2 1 Posted January 19 Posted January 19 Hi, This is related to the category where product are mysite/mycategory/undefined All my products have this :-( Share this post Link to post Share on other sites
R4xx4r 6 Posted January 20 Posted January 20 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. Share this post Link to post Share on other sites
powerdada2 1 Posted January 20 Posted January 20 Hi, Thanks have try this Still have the same problem 😞 Share this post Link to post Share on other sites
razaro 577 Posted January 20 Posted January 20 Any chance you can share a link to your product page ? Share this post Link to post Share on other sites
powerdada2 1 Posted January 20 Posted January 20 Hey off corse, Your help can help me exemple: https://www.smokershop.be/en/cigarette-filter-tubes/3316-mascotte-gold-200 Thanks 😉 Share this post Link to post Share on other sites
razaro 577 Posted January 20 Posted January 20 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. Share this post Link to post Share on other sites
musicmaster 677 Posted January 21 Posted January 21 Looks like you solved the problem. I don't see any missing image. Share this post Link to post Share on other sites
powerdada2 1 Posted January 21 Posted January 21 (edited) Hi, I still have it.... very strange When you click on F5.... sometimes error disappears Edited January 21 by powerdada2 (see edit history) Share this post Link to post Share on other sites
razaro 577 Posted January 21 Posted January 21 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? Share this post Link to post Share on other sites
powerdada2 1 Posted January 21 Posted January 21 Hi, done 😉 1 Share this post Link to post Share on other sites
razaro 577 Posted January 21 Posted January 21 Yes, definitely from elastic zoom plugin and it code. But I could not find a solution, for now. Share this post Link to post Share on other sites
powerdada2 1 Posted January 21 Posted January 21 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! Share this post Link to post Share on other sites
razaro 577 Posted January 21 Posted January 21 Well that comes from theme, you might have option somewhere to turn on/off zoom on product page. Share this post Link to post Share on other sites
powerdada2 1 Posted January 21 Posted January 21 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 Share this post Link to post Share on other sites
razaro 577 Posted January 21 Posted January 21 Nice Do not forget to enable back Smarty cache for JS. Have a good day Share this post Link to post Share on other sites
powerdada2 1 Posted January 21 Posted January 21 Already done 😉 Share this post Link to post Share on other sites
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