I got a strange issue with the button "Load More"
Hi,
I am facing a very strange issue with Minitek Wall when using the "Load More" button.
If you want to check my issue, please go to www.guillenphoto.com/en/.
Scroll down. You have a list of K2 articles displayed. The "Load More" button is there.
Click on it. It works fine. 9 more articles are displayed and so on.
Now, close your browser. Relaunch it with the same page.
Scroll down again. Click the "Load More" button. The text is now filled with "end". Nothing happens.
The only way to make it work is to refresh the page. And it works again.
Please would you help me to solve the issue.
Looking forward for reading your comment
Sincerely,
A. Guillen
27 answers
I would like to add:
- If I use a browser with no cache, it works fine. The problem occurs when the browser is using a cache.
- It works fine on this page : https://www.guillenphoto.com/en/the-blog-of-the-photographic-approach-practical-tips-to-make-your-photos-interesting-and-creative.html
and on this page: https://www.guillenphoto.com/en/the-fine-art-photo-blog-ideas-for-choosing-a-fine-art-print-for-your-home.html
Maybe these elements can help you to understand what happens.
A. Guillen
Hi there,
I am using cache in all my browsers (Firefox, Chrome and Edge) but I can't reproduce this error on my end. The button works fine for the above pages after I close and I reopen the browser. Which browser are you using?
Hi,
thank you very much for taking of my problem. I appreciate it.
You are right. It works fine for the English version. The problem is gone. I do not know why. But it works well.
The problem is still there in the French version of my website. Please would you check the following page: https://www.guillenphoto.com/fr/
Do the same:
- scroll down
- click the button named "Afficher plus".
- the collections should be displayed.
- Close your browser.
- reopen it. Go to the same URL. Try to click the "Afficher plus" button. The text "Fin" (means end in English) is displayed.
I have attached a screenshot of the message I got. And a second one after refreshing the page.
Thanks for your help.
Sincerely,
A. Guillen
I visited the french page and still do not see any problem with the "Afficher plus" button.
It works fine for me when I close and reopen the browser. This is a browser cache issue specific to your browser. The problem does not exist for me.
When I close and reopen the browser, the wall reverts back to its original state and the button works fine.
Hi there,
thank you for your reply.
This is what I did to test the issue:
- I use 3 different browsers to make the test of my website: Chrome (with cache), Firefox (no cache) and Edge (with cache). The problem occurs of all of them.
- At the office we use 5 different computers running with Windows 10 (3 have very simple configuration). The problem occurs on each of them.
- Even on my mobile, I have the problem (iPhone). I have attached a screen shot. Maybe can test on another computer too.
Looking forward for reading your thoughts.
Sincerely,
A. Guillen
I have tried all three browsers multiple times and everything is working fine on my end. I am sorry but I can not help you with this issue since it is not related to the component. It is a machine-specific issue caused by the browser.
Hi,
thanks for your reply.
Could you try on both version on each language? I mean EN and FR on each for each test. Do not to stay on one language. Now the issue varies.
I just make some test on the main station of my wife and the problem occurs now in the English version. Her browser is not complicated: no add-on, no plugin.
Thanks for your help,
A. Guillen
Please try the following:
1. Disable website cache completely.
2. Disable JCH Optimize.
Let me know if the problems persist.
So, I disabled the Joomla cache and JCH: it worked well for both issues.
Then, I enabled the Joomla cache: it worked well.
So, I excluded Minitek Well from JCH. The custom grid works fine. The first problem with "No more items" in French still occurs.
So, I guess the problem is related to JCH. Even if Minitek Wall is excluded, the problem occurs. It should be a side effect.
As I need JCH to optimize the loading of my pages, I am going to look for another extension to display my collections on my home page.
Thanks for all
Regards
As long as you make sure that Minitek Wall is loaded properly on page load, you can keep using JCH.
The problem is that with your current configuration, the JCH delays the loading of Minitek Wall until it is scrolled into view. This creates problems with Minitek Wall as it must be visible on page load so that the dimensions are properly calculated.
I understand.
Thanks for your help.
You can close the two tickets.
Regards
You're welcome.
Hi There,
I have new elements regarding my issue with the "Load More" button.
I thought that the issue was related to JCH. So I decided to buy another extension to optimize my website. I have picked JSpeed from Jextensions.
Unfortunately, the issue is still occurring. So, I asked the developer of JSpeed to help me. He found out that the problem is related to Minitek.
I also asked to some customers in different countries. Most of them have the issue.
The developer of Jspeed asked me to debug the issue on my desktop. He said that when I click the "Load more" button there is no request to the network from Minitek. This is why I get the "End" word displayed.
Here is a video that shows the issue: https://kdrive.guillenphoto.com/app/share/118755/f6a8d882-759a-4020-b009-b95497413948
So please with these new elements, can you figure out what is going on?
Looking forward to reading your reply,
A. Guillen
Hi,
Have you disabled JCH and still getting the same issue with JCH disabled?
Hi,
I am not using JCH anymore.
I am using JSpeed now. I thought the problem was related to JCH. The answer is no.
The developper from JSpeed spent hours to analyse the issue thinking it was in his extension. I did not told him that I already had it with JCH.
Today, he said that the issue is related to Minitek which is not send sending the network request.
This is what I show you in the video.
If the problem happens only when you reopen the browser, then it's definitely a caching issue. Your website is caching the page as it was last seen by the browser. I really don't see how this is related to Minitek Wall. The template files in Minitek Wall always reload the button and restore it to its original state. There are definitely some caching issues here that create the issue.
Please try to disable the website cache completely and see if that solves the issue.
Also, please check your hosting account settings to make sure that the server is not caching the pages.
The page cache is disabled.
The Joomla cache is disabled.
The issue occurs.
I just tested https://www.guillenphoto.com/fr/ on Firefox.
Clicked on 'Afficher plus' until there are no more items ('Fin').
Then I closed the browser. Then I reopened the browser and visited https://www.guillenphoto.com/fr/ again.
The Wall was reset, the button was working fine.
I repeated the process 4 times from the beginning. It worked fine all 4 times.
I'm testing Chrome now.
Does it work on Chrome?