Hi, When I open my site, after optimized with JCH optimize, I have this login opened automatically (?!??!?):
so I ask how to "uninstall" or block this login that I don't want
I already use this (and I like it):
Thanks
yodam1 Hi This is ajax login box. Open when you access Jomsocial page that need to be logged in . It's auto defined in core files and will show whenever session expired and you are on a Jomsocial page.
Ninja With JCH optimize it opens when I see the first page of site (and obviously I will not have a session if I don't login).
If I use best optimization of JCH Optimize all javascripts of JomSocial stop to work, with a lower level this login window open.
Do you have any advice for jomsocial and those optimization extensions?
Thanks Pankaj
yodam1 Hi JomSocial is already optimized for the js files, if you are using high level of compression in that case it compression that making the problem when it combining the files.
Ninja I will try your advice for 1 or 2 days and I will tell you
Thanks!
yodam1 Hi Do not forget to disable server cache, if server has cache it will server the same files. you can check here in case you need to know how it works : http://js-main.demo.jomsocial.com/ login with demo/demo and visit open 2 joms pages Logout from one tab and visit 2nd tab you will see popup for login.
Ninja Hi, it open also without compression now (and without session expired)
🙁
yodam1 Hi http://js-main.demo.jomsocial.com/ Kindly make a screencast and send me as I can not able to replicate this issue. About your site you have to turn off server cache and remove customization as this issue is not found in Jomsocial and not reported by any member too.
Ninja I think I've understood the possible cause. On cloudflare joomla tips (https://support.cloudflare.com/hc/en-us/articles/201997250-Cloudflare-and-Joomla-Recommended-First-Steps) there is this tip:
Create a PageRule to exclude the Joomla admin or Joomla login sections from Cloudflare’s caching and performance features. You can access PageRules in your Cloudflare 'Settings' options. Why do this? While there is not always an issue, we have seen instances where optional performance features like Rocket Loader may inadvertently break certain functions (editors, etc.) in your Joomla back end.
Create a PageRule to exclude the Joomla admin or Joomla login sections from Cloudflare’s caching and performance features. You can access PageRules in your Cloudflare 'Settings' options.
Why do this?
While there is not always an issue, we have seen instances where optional performance features like Rocket Loader may inadvertently break certain functions (editors, etc.) in your Joomla back end.
How can I disable cache for login section of jomSocial?
I think this is making my site doing a login modal when is not necessary. On Chrome console I have:
(index):2411 Uncaught ReferenceError: check_cookie is not defined at (index):2411
yodam1 Hi I am not sure as cloudflare is different platform, you can check the options there is there is option to disable cache based on pages as its not something problem from Jomsocial.
Ninja I've removed cloudflare and uninstalled JCHOptimize but the problem persist
Without those things can you check the error?
yodam1 Hi Kindly fix the admin URL. its redirecting me to site Homepage.
Ninja I've solved now.
Don't worry Pankaj
Thanks!!!