-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Ajax bar not working since #9dd9ebf90df #228
Comments
Browser, version, any error in console? |
I have tested Chrome and Safari - no console / network errors and the css and js files are showing up in Local Storage and everything on the non-ajax bar is working correctly so those files must be being used. |
Has anything changed in the headers/content of requests and responses, which it sends for AJAX bar? |
(I have tested it IE 11, IE Edge, Chrome, Firefox and it works correcty, so I have no ideas whats wrong). |
I have discovered that it's not all ajax requests - some still work fine with the new version of Tracy. Will see if I can figure out why some work and some don't. |
Ok, I just did a little investigation and it's a problem with $contentId not being set. Obviously not the correct solution, but changing: tracy/src/Tracy/assets/Bar/loader.phtml Line 36 in 9dd9ebf
from: Still there must be some session start/close issue that wasn't a problem prior to the mentioned commit. |
I have the same problem, not sure which commit caused it but since I upgraded to 2.4.3 I mostly don't get bar at all, when on 2.4.2 I always get bar.... |
@dakorpar are you talking about AJAX bar, or about whole bar? @adrianbj if I understand you see all AJAX bars when Tracy is initially loaded via code |
@dg bar is not displayed at all for me on several project on most of the pages in 2.4.3, it works good in 2.4.2, also I noticed it's showed more often in IE then in Chrome, but still not always |
@dakorpar Wrong nginx configuration? #229 (comment) |
@dg nope, doesn't work for me even in root of domain (homepage), and I don't have error there. this is ajax request data, response is empty: In console there are only error for missing images since images are only on production server... Maybe I should open new issue or is this maybe same problem? |
@dakorpar Both pictures are the same. |
@dakorpar @adrianbj Have you found a reason why it does not work? Where it differs from what I've described here #228 (comment)? This works #229 (comment)? |
I believe it's working now for me, although I'm not sure why. |
So can I close it? |
Sorry for the silence here - been busy and then away on vacation. Just catching up with things now. I'll try to update in the next couple of days, but I do think there is still a problem - I will try to narrow it down to something reproducible for you. |
It seems like it's an issue of the scripts not being loaded from local storage in time for document ready. All user initiated ajax calls work fine, but not those called automatically. If I add a timeout of about a second then ajax calls made inside
but without the timeout, the AJAX bar (and the redirect bar) don't ever load. Hope that helps. |
Currently I don't have free time, I'll look at it later. |
So problem is related to ajax calls called inside document-ready, now I understand. In this the previous and current versions are really different, I'll try to find a solution. |
9dd9ebf breaks it for me. Any thoughts on why it would have stopped working? As soon as I revert to the previous commit it works as expected.
Thanks.
The text was updated successfully, but these errors were encountered: