-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please wait.... infinite spinner #279
Comments
Hi @micah, |
IKEDA Soji <[email protected]> writes:
Hi @micah,
What page was supposed to be displayed when you logged in? (Initially it is `home` page. It may be changed by `default_home` parameter)
It was the `home` page, but this was happening on other pages as well.
|
@micah, i want to confirm:
|
IKEDA Soji <[email protected]> writes:
- Did you show home page and then perform log in?
I think it was after logged in, as it seemed like it was some fetching
of some user data (list action, latest topics, or something).
- Didn't you click "Back" button of web browser?
no, also this was happening on every page.
What I want is some way to debug it... its possible it was something
with our setup or templates. But I couldn't figure out where it was
coming from, and I didn't see anything in the logs that was pointing to
it.
|
@micah, I can't figure out what is shown on your display, but I may give some suggestions.
|
Stagnating issue. Closed at present. |
I just did a clean install of 6.2.42 with no changes to any of the tt2 files and I am seeing the same thing, on every page. |
Can you tell us which browser you use and which version? Please also check it with other browsers. |
This is happening on the following browsers & OS's: Mac OSX For now I have copied the tt2. files that refer to into etc and commented out that line. |
Seeing the same issue |
Having the same issue. So I added a simple function to sympa.js, hiding the div when all resources were loaded: diff --git a/ORIG_STATICDIR/js/sympa.js b/UPDATED_STATICDIR/js/sympa.js
index eb2d179..68bd9c4 100644
--- a/ORIG_STATICDIR/js/sympa.js
+++ b/UPDATED_STATICDIR/js/sympa.js
@@ -208,6 +208,11 @@ $(function() {
$('#loading').show();
});
});
+// and hide when all resources (with external) are loaded
+$(window).load(function() {
+ $('#loading').hide();
+});
+
// fade effect for notification boxes
$(function() { (git diff between sympa.js and updated version) Although I didn't tested this on multiple Browsers or OSs (only Chromium on Linux) it may help others or is something fixing this bug. UPDATE:
You could also check on your own. One of my sites with this patch is https://lists.jc-otto.de |
@derOtto Can you please add your browser version? |
@derOtto, does this work? diff --git a/www/js/sympa.js b/www/js/sympa.js
index 3ff5557..c285220 100644
--- a/www/js/sympa.js
+++ b/www/js/sympa.js
@@ -208,6 +208,9 @@ $(function() {
$('.heavyWork').on('click', function(){
$('#loading').show();
});
+
+ // and hide it.
+ $('#loading').hide();
});
// fade effect for notification boxes I'm not sure because I couldn't reproduce reported behavior. |
@ikedas: it also disappears, but as with the original file, some sites are not probably loaded (for example lists) with the original or the suggestion from you. I temporary deployed two endpoints, serving all the suggestions. They are all the same only differing in nginx serving the different sympa.js':
|
@derOtto , your Sympa is not configured properly: With your configuration, style sheet added by Sympa is completely omitted. If it is properly configured, it will be shown as this page and proposed fixes may not be needed: Please check your configuration. If you want help about configuration, please submit another issue. |
That was the right clue, leading me to this thread.
It was quite confusing that there was no error or warning, css was missing. So for me this issue is fixed, but I don't know about @micah. Unfortunately in the repo issues are deactivated but maybe you (the sympa authors) could make a todo about adding this information to the http-server and directory layout parts. --thx |
@derOttto, when you upgrade earlier version of Sympa, you'd be better to read Upgrading note in documentation. There are several changes on paths for CSS and so on, as of version 6.2.28. |
I had the same issue on Debian 10 when i used sympa_wizard, because it generate /var/lib/sympa/css/MySite/style.css which is not in /usr/share/sympa/static_content/ so not accesible from navigator. |
@michaellaunay , sympa_wizard will never generate style.css. |
We attempted to upgrade to 6.2.32, and put aside our web_tt2 template customization to see if we could use the newly updated templates and modify them to our needs.
Everything was migrated fine and then I logged into the web interface. I got a spinner with the text "Please wait..." -- it never ended. I tried to debug what it was waiting for, but I could not determine it.
The spinner seems to come when class='heavyWork' in the tt2 files occurs, but I could not tell what was not completing the task.
The text was updated successfully, but these errors were encountered: