I host a wordpress multi-site install for personal use. My Dad has a site on it, and he's come to me with a weird issue that I can't even figure out how to start debugging!
If you visit the site in Chrome: https://www.lyveden.org.uk/ .. and visit a page with images, eg "Garden Revealed", you can click on the images to see them full size. However, when you click "back", the browser reverts briefly to the page before showing the image again, and if you click back a second time you are returned o the previous page (the one prior to the one you opened the image from).
Dad has reproduced this on three PCs (two Ubuntu, one Windows). I couldn't initially reproduce it until I tried in a private tab, which might be a clue.
I tried using Chrome's developer tools to see what was going on but nothing stood out and I was quickly out of my depth!
I know it's not Linux related (highly doubt it's a server issue!) so it's OT, but does anyone have any clues?
On Sat, Nov 27, 2021 at 03:28:03PM +0000, Mark Rogers wrote:
Dad has reproduced this on three PCs (two Ubuntu, one Windows). I couldn't initially reproduce it until I tried in a private tab, which might be a clue.
The javascript on the page is doing something, disable javascript and it works as expected. I'm presuming that you have an adblocker or similar which is blocking the javascript when you're not in private browser mode.
As for why, I don't know, I don't do javascript or webdev. Although it's probably one of the wordpress plugins.
Adam
On Sat, 27 Nov 2021 at 15:50, Adam Bower adam@thebowery.co.uk wrote:
The javascript on the page is doing something, disable javascript and it works as expected.
Thanks for that, it got me where I needed to get to. Turned out to be a Wordpress plugin ("MediaElement.js"). Disabling it solves the problem, and no obvious ill effects, but I'll throw that back at my Dad to see if it's broken anything!
Mark
Hi Mark,
You probably sorted this by now, but I wonder if you've noticed that the images come from another domain?
The Lyvenden site is here: https://www.lyveden.org.uk/garden-revealed/
and all of the images come from: https://lyveden.agreewith.me.uk/files/
I'd say that's not the most ergonomic design. Yes, this is just my humble opinion ;)
Cheerio! Bart
sob., 27 lis 2021 o 15:28 Mark Rogers mark@more-solutions.co.uk napisał(a):
I host a wordpress multi-site install for personal use. My Dad has a site on it, and he's come to me with a weird issue that I can't even figure out how to start debugging!
If you visit the site in Chrome: https://www.lyveden.org.uk/ .. and visit a page with images, eg "Garden Revealed", you can click on the images to see them full size. However, when you click "back", the browser reverts briefly to the page before showing the image again, and if you click back a second time you are returned o the previous page (the one prior to the one you opened the image from).
Dad has reproduced this on three PCs (two Ubuntu, one Windows). I couldn't initially reproduce it until I tried in a private tab, which might be a clue.
I tried using Chrome's developer tools to see what was going on but nothing stood out and I was quickly out of my depth!
I know it's not Linux related (highly doubt it's a server issue!) so it's OT, but does anyone have any clues?
-- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0344 251 1450 Registered in England (0456 0902) 21 Drakes Mews, Milton Keynes, MK8 0ER
main@lists.alug.org.uk http://www.alug.org.uk/ https://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
On Thu, 2 Dec 2021 at 09:27, B D dzidek23@gmail.com wrote:
You probably sorted this by now, but I wonder if you've noticed that the images come from another domain?
The Lyvenden site is here: https://www.lyveden.org.uk/garden-revealed/
and all of the images come from: https://lyveden.agreewith.me.uk/files/
I'd say that's not the most ergonomic design. Yes, this is just my humble opinion ;)
Ah, thanks for pointing that out. Wordpress is a pain in that it mostly refuses to store relative paths, so if a domain changes the paths are no longer on the same domain, and it'll continue to work just fine until the other less visible domain stops working.
There are plugins to fix it, I'll see if I can make that change.
As for having fixed it: I thought I had but Dad says otherwise so I need to take another look.