Thank you for this module set. I read the README file from start to finish and tried to search for any similar issues but with no luck. I really want it to work on my website but I've realised there's an issue with javascript_aggregator and I couldn't solved this problem so I decided to ask an advice. I have javascript_aggregator on my website to minify javascript files used there and it worked flawlessly until I enabled fb module and fixed my config file in accordance to README. Now javascript is broken. At the top of the page "NOT IMPLEMENTED: DEBUGGER" message occurs as my Suckerfish menu (provided by simply_modern theme) becomes really tall on every "first" page load (those effects disappear after reloading the page). Some of my modules are crying "Please enable javascript" including OpenID_selector and Mail_ru my users like so much. It's quite interesting both of those modules work great with either fb or javascript_aggregator enabled but don't work when I tried to enable fb AND js_agg. I tried different combinations, cleared all cache (lots of times), enabled and disabled other modules and enabled troublesome modules in different orders but nothing has changed. Unfortunately I cannot just disable js_agg because of the site performance so now it's a necessity for me to find a working solution where both modules can be enabled.
Comments
Comment #1
Dave Cohen commentedI checked in a call to debugger; in fb.js because I'm not sure how to handle ajax errors there. So either that ajax error handler is being reached, or it is somehow choking on debugger; even before it is called.
Try commenting out that line to see if that makes a difference.
Comment #2
Ingumsky commentedThank you Dave! I'll try.
As I can see in Google Chrome Console (and in Firebug too) there're two similar errors related to sets of inline fb-related js code:
Uncaught ReferenceError: jQuery is not defined.The first one is:
jQuery.extend(Drupal.settings, { "basePath": "/", "fb_connect": { "front_url": "/", "fbu": null, "uid": 0 } ...The second one is:
jQuery.extend(Drupal.settings, {"fb":{"ajax_event_url":"http:\/\/example.net\/fb\/ajax","fb_init_settings":{"xfbml":false, ...Hope it helps.
I can share with you a link to my test domain where those errors occur so you can check console errors right there.
Comment #3
Dave Cohen commentedI don't understand what could cause it, but if jQuery is not defined, that's a big problem. I suspect it's a problem with javascript aggregator.
Comment #4
bartezz commentedGetting similar issues as in #2, not using fb though.
Will try to find out and post back...
Cheers
Comment #5
bartezz commentedTurns out it was colorbox module. When disabled all works fine.
When enabled I'm getting 'jQuery is not defined' if I turn on javascript aggregation...
Don't have a clue as to how to fix this so disabling javascript aggregator for now...
Cheers
Comment #6
el_reverend commentedThis might be an issue with the JSMin+ option only. I am currently trying this module without this option and at least so far I am not getting this error message.
Comment #7
mahsandu commentedI also troubled with same error.
But when disabled JSmin+ it works fine .
So it is the error of JSmin+ .