Just putting this here so I don't forget and if anyone else has similar issues please let me know.
I've been using this on my production website for a couple days now and it ocasionally certain functionality such as drag & drop re-ordering and collapsible fieldsets don't work. This happens only on admin pages and a refresh fixes it.
WTF right?!
| Comment | File | Size | Author |
|---|---|---|---|
| #23 | headjsfail.tar_.gz | 142.73 KB | webfunkin |
| #18 | webfunkinenabledmodules.zip | 754.38 KB | webfunkin |
Comments
Comment #1
alexweber commentedseems to be related to #1132598: scripts with defer attribute are not getting processed
Comment #2
alexweber commentedComment #3
alexweber commentedseems to be ok in dev release... since im the only one complaining and its fine for me ill close this.
Comment #4
alexbk66- commented1. Have the same problem, collapsible fieldsets don't work, refresh fixes the problem. Unfortunately not only on admin pages.
2. Drug&drop (i.e. blocks) doesn't work, refresh fixes the problem.
3. Most serious problem: CKEditor WYSIWYG doesn't appear, refresh doesn't help. Must admit LabJS causes this issue too.
That's very unfortunate, great module.
HobbyBlob.com
Comment #5
alexbk66- commentedComment #6
franzkewd commentedSubscribe
Comment #7
webfunkin commentedI am having the same issues as alexbk66.
alexweber can you please look into this? It happens very arbitrarily. Right now, I am using 6.x-1.4
CKEditor just fails to load sometimes and refreshing mutiple times does not seem to help at all. While, sometimes it just works like it is supposed to. Failure on admin pages (admin menu wont appear, collapsible fieldsets won't work) can be fixed by refreshing the page. Sometimes it takes 2-3 refreshes here too.
Also, a lot of times the inline javascript sections are not processed.
Comment #8
alexweber commentedno problem, I'll look into it as soon as I can.
I apologise as I don't have a lot of spare time but I should be able to get some hours in this weekend!
- Alex
Comment #9
alexbk66- commentedAlex, FYI the CKEditor problem happens with LabJS as well.
I wish I could help, it's a good module!
HobbyBlob.com
Comment #10
alexweber commentedworking on this at the moment, hopefuly post back when there's anything new
Comment #11
alexweber commentedthere is a tentative fix on the way, expect an update tomorrow sometime
Comment #12
webfunkin commentedIs the issue fixed in 6.x-1.5 or you will be doing another update? And do we have to upgrade to HeadJS 0.96?
Comment #13
alexweber commentedthe issue is not fixed in 1.5 and upgrading to 0.96 is not required but very strongly recommended.
I have found a satisfactory solution to the problem and release a new version later on today that will (hopefully) fix this and all other issues. Stay tuned! :)
Comment #14
alexweber commentedfixed in 2.0, please upgrade!
Comment #15
webfunkin commentedI upgraded to 6.x-2.0-beta1. This issue still remains. Not fixed.
Comment #16
franzkewd commentedUpgraded to 6.2-beta1, Panels' gear widget fail to appear, and also Admin menu fail to appear most of the time.
Comment #17
alexweber commentedthis is weird I can't seem to replicate any of these bugs, would you mind sharing you list of currently enabled modules please? also, are there any firebug errors?
thanks!
Comment #18
webfunkin commentedMy main problem happens to be with the admin menu, collapsible fieldsets and the views UI. I don't use panels so cannot comment on that. Also, a lot of times I get errors in the console (google chrome dev tools) which belong to the Fbconnect module and the Lightbox2 module (which I have disabled for the time being)..
This is one error I got due to fbconnect - Uncaught ReferenceError : $ is not defined.
No, the code is not wrapped around head.ready. This error occurs pretty regularly, but not always.
I am attaching a zip file that has an HTML file that lists down all the modules enabled on my site in a proper form (Main project along with submodules). Take a look at it and do let me know if you need any other information.
Comment #19
alexweber commentedHey,
First off thanks for your effort! :) Is this site live at all? I'd like to see what scripts are included inline, and where.
Thanks!
Alex
Comment #20
franzkewd commentedHi. My both problems with Panels and Admin Menu mentioned in #16 related to this #1147048: AdvAgg, LABjs, CTools - JS Settings Issues. And now is solved with the recent Advagg version.
Thanks for your efforts.
Comment #21
barwonhack commentedI have this problem. I have the latest versions of Advagg, Headjs (head.js 0.96).
I get the occasional failure to load collapsed options in admin screens and also, my OpenLayers google maps don't always render (the maps issue is more pronounced with anon traffic).
Disabling headsjs removes the issue.
Should also mention that I use Varnish and Boost.
Comment #22
alexweber commentedplease try the new release 6.x-2.0-beta2
thanks!
Comment #23
webfunkin commentedAlthough the number of instances of failure have decreased, there are a few times when it won't work.
I am attaching a file which has a page when headjs failed. Notice the lack of collapsible fieldsets and the administration menu.
I was just wondering, can using jQuery 1.4.2 from Google's CDN give rise to the problem. My jQuery update and AdvAgg modules have been hacked to dish out v1.4.2.
For advagg i did this - http://drupal.org/node/1071624#comment-4401842
I forgot what I did for jq update. Which is probably not a good thing :P
Let me know if you want any other information
Editing just to add that the number of failed instances have decreased, radically!
Comment #24
alexweber commentedlol, yeah hacking jquery_update and advagg could potentially have an adverse effect... how is headjs playing with the latest advagg release?
Comment #25
webfunkin commentedNo issues that I have come across. There was one problem with the theme hooks implementation but that has been solved with the latest dev of advagg.
As for the failed instances, they have become so few that I couldn't care less. I am officially in love with HeadJS :)
Comment #26
alexweber commentedAwesome! :)
Comment #27
univate commentedAhh.... why is this set to needs review? (there is no patch to review - was hoping to find a solution here).
Comment #28
univate commentedMy problem was fixed by setting weights on the js files I was including through drupal_add_js. This module will sort the files based on weight (which by default will be 0) so the order you add them is not always the same order it adds them to the page.