Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Dexter_X Posted November 6, 2021 Posted November 6, 2021 Hi, I've just seen when you upload one or more images into an empty gallery (maybe into a full one too), once the upload is finished you get back to your gallery but you don't see a single image you've just uploaded ! You need to wait a few minutes until the cache is refresh then you see your pictures... That could be a bit disturbing for users who do not know what a "cached interface" could mean... Thankyou for your attention, D
Jim M Posted November 7, 2021 Posted November 7, 2021 If you are a logged in user (which I believe this is what you're referring to), there is no caching on content itself in the software. Logged in users view content (apart from blocks/widgets) in real-time. I would suggest checking with your hosting provider to ensure that you do not have any caching at the server-level which is causing what you're seeing here.
Dexter_X Posted November 7, 2021 Author Posted November 7, 2021 I was logged in as an administrator, does it count as "a user" ?
Jim M Posted November 7, 2021 Posted November 7, 2021 3 minutes ago, Dexter_X said: I was logged in as an administrator, does it count as "a user" ? Yes, any user which is logged in (aka not a guest) 🙂
Dexter_X Posted November 7, 2021 Author Posted November 7, 2021 So it is maybe not a caching problem, but there is plenty of time (and refreshes) between the images uploaded and their availability in the galleries... 🤷♂️ I use cron/minute scheduling method.
Marc Posted November 8, 2021 Posted November 8, 2021 Have you checked to see if there is any caching on the server and disabled this, as mentioned by my colleague? I does sound to be cache related from what you are describing
Dexter_X Posted November 8, 2021 Author Posted November 8, 2021 I've not enabled any server's cache by myself. I'm testing on a "from scratch" install of the community, so there are neither any plugin nor application that could interfere. I'll ask to the hosting provider, but In other sites I manage on the same hosting account, I don't have that kind of problems...
Marc Posted November 9, 2021 Posted November 9, 2021 No problem. Please let us know the result of that testing
Dexter_X Posted November 9, 2021 Author Posted November 9, 2021 (edited) OK, so I've just asked the hosting provider and there is no such cache in the mutualized servers. Through our discussions they've rised an interesting point : it does not concern a direct link on a picture, but more the interface displaying the image (the "place" for the images are not displayed with an empty image, there is just nothing). So it really looks like a cached interface by the CMS... Edited November 9, 2021 by Dexter_X
Marc Posted November 9, 2021 Posted November 9, 2021 Ok. Please could you provide the step by step here to reproduce? Also, please attach the example image (zipped), and let me know what browser and operating system is being used
Dexter_X Posted November 9, 2021 Author Posted November 9, 2021 (edited) Hi, thankyou. Fresh install of invision community containing gallery module ; Upload 2 o 3 images into the default "users album" already available for demonstration : ...by clicking on Navigation => Gallery, then Add Images ; add 1 to 3 images ; wait the uploads complete then click on "submit all images"; After that you land directly on the album's content images : you cannot see the pictures you've just uploaded (empty album) and will need to refresh the album until "something" (cache or the problem delaying it) makes the images appear. It works with any images, but here are the ones i've used for testing. I've also tested by creating other galleries but nothing makes it better... Edited November 9, 2021 by Dexter_X
Dexter_X Posted November 9, 2021 Author Posted November 9, 2021 Sorry, I forgot to tell you about the browser : I've used safari (latest version on latest MacOS - Monterey - ).
Marc Posted November 9, 2021 Posted November 9, 2021 I am not able to replicate this at all on a new instance of the platform. Could you please let me know if you are happy for me to post on your site, or your test site if you still have that set up?
Dexter_X Posted November 9, 2021 Author Posted November 9, 2021 (edited) 3 minutes ago, Marc Stridgen said: I am not able to replicate this at all on a new instance of the platform. Could you please let me know if you are happy for me to post on your site, or your test site if you still have that set up? I still have the test setup, how do I give you the access ? (in which site did you post something ?) I can also record a video if it can be useful (?) Edited November 9, 2021 by Dexter_X
Marc Posted November 9, 2021 Posted November 9, 2021 Yes, a video would be very useful incase Im missing anything. With regard access, please add it to your account on file Dexter_X 1
Dexter_X Posted November 9, 2021 Author Posted November 9, 2021 (edited) Hello again... so... while trying to make the video I've switched back to english the used language (I'm using this test installation to make a french translation) then in english the problem is not there (!?). If I switch back to french, the problem cames back (!!). I've made the video anyway to show you how it behaves in both languages, you'll find it in attached file. For information : Test2 gallery is filled under default/english version, and test gallery under current french translation. [video removed : I can send it back to you if needed] Is it still useful I give you access to my test community ? Edited November 9, 2021 by Dexter_X
Solution Marc Posted November 10, 2021 Solution Posted November 10, 2021 You would need to check what is wrong in your language pack there unfortunately. From what you have said there, it seems the issue is in the 3rd party language pack and not within the core platform
Dexter_X Posted November 10, 2021 Author Posted November 10, 2021 I'm sorry about that, I never though a translation could have made that kind of issues. It is a translation I'm making by myself so I've not inserted any code in it... (?)
Marc Posted November 10, 2021 Posted November 10, 2021 Of course there are however variables and the likes in language strings at times and indeed small code snippets. So if you have translated on an older release, it may well be one of those has changed
Dexter_X Posted November 10, 2021 Author Posted November 10, 2021 2 hours ago, Marc Stridgen said: Of course there are however variables and the likes in language strings at times and indeed small code snippets. So if you have translated on an older release, it may well be one of those has changed are there such changes between 4.6.7 and 4.6.8 ? (I've begun the translation at 4.6.7)
Marc Posted November 10, 2021 Posted November 10, 2021 There will have been changes between those versions, yes
Dexter_X Posted November 10, 2021 Author Posted November 10, 2021 1 hour ago, Marc Stridgen said: There will have been changes between those versions, yes ok, so... is there a way to retrieve the entire XML original strings values in english so I can see what has changed (in next version) ? If I try to download the original english translation, I got an empty XML file (just a header) ... Or maybe there is already a changelog somewhere with the list of modified strings ?
Stuart Silvester Posted November 10, 2021 Posted November 10, 2021 4 minutes ago, Dexter_X said: ok, so... is there a way to retrieve the entire XML original strings values in english so I can see what has changed (in next version) ? If I try to download the original english translation, I got an empty XML file (just a header) ... Or maybe there is already a changelog somewhere with the list of modified strings ? In the AdminCP translation interface, you can use the 'out of date' filter at the top of the table. This will show you any default strings that have been changed since you translated them. Likewise, you can use the 'untranslated' filter to see any new strings that have been added.
Dexter_X Posted November 10, 2021 Author Posted November 10, 2021 57 minutes ago, Stuart Silvester said: In the AdminCP translation interface, you can use the 'out of date' filter at the top of the table. This will show you any default strings that have been changed since you translated them. Likewise, you can use the 'untranslated' filter to see any new strings that have been added. I've no "out of date" strings in the list. But "out of date" does not mean they're not used anymore ? Anyway, I had not finished my translation (I'm even very far from it), maybe I've not modified any string impacted by the version change. But here it seems to be some problem regarding an already translated string changed between the two latest versions (?)... You must agree : translation is not a simple task to perform neither to maintain...
Stuart Silvester Posted November 10, 2021 Posted November 10, 2021 Naturally creating a new language pack is a project that requires a lot of effort. It doesn't sound like you've modified a string that has changed (it would be listed on under that filter). If we delete a core string, when you upgrade it will remove it from your language packs. For the issue at hand, I would recommend taking a look at the browser developer tools, specifically at the console to see if any errors are shown when this issue occurs. Dexter_X 1
Recommended Posts