Once Heartbeat 7.x-1.1 is installed in Drupal 7.22 (& not even enabled):

1. The Admin Overlay stops working!

2. No access to any Admin functions/menus

3. Just regular links work

**** Simple fix (Work around) found *****

Please see the simple Work around below comment #10 https://drupal.org/comment/8184649#comment-8184649

CommentFileSizeAuthor
Heartbeat001.png66.14 KBIDev
Heartbeat002.png57.89 KBIDev
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

blacklabel_tom’s picture

That looks more like there is a problem with the admin/modules page.

Can you confirm that this is a clean install and all you've done is copy the heartbeat module files into your {site/all/modules} folder?

Cheers

Tom

IDev’s picture

Yes, it is a clean install

I've used Drupal's install new module

Stalski’s picture

Hi,

When admin overlay breaks, it most of the time a fatal javascript error which prevents the rest of the js from working. This could be a bug in heartbeat since there are javascript triggers and actions.
However, they are not included when heartbeat is not enabled.

So the best thing you can do is to log the error you see in firebug>console.

IDev’s picture

Thanks, makes sense
Will do & post with updates

ullern’s picture

Same problem.. I get two instances of the following error:
Blocked a frame with origin "http://localhost" from accessing a frame with origin "null". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "data". Protocols must match.
- overlay-parent.js:270

It's this line:
var iframeDocument = iframe.contentDocument || iframe.contentWindow.document;

No idea how to fix this though..

IDev’s picture

Really busy & couldn't get to it.

Wondering though, where are the Heartbeat developers???

Thanks Ullern for the discovery, again will follow if time permits

almc’s picture

I've got the same issue on the fresh Drupal 7.23 install. Immediately after Heartbeat module installation Admin interface becomes not accessible, showing the error page: The connection was reset. With this issue it's not possible to activate and configure the module.
Some other modules tried with the same Drupal version installed ok.

IDev’s picture

Title: Heartbeat 7.x-1.1 causes Admin Overlay not to work in Drupal 7.22! » Heartbeat 7.x-1.1 causes Admin Overlay not to work in Drupal 7.22+7.23!

I was hoping it was gonna get fixed with Drupal 7.23

Stalski, sorry I've just noticed that you are actually the top maintainer of heartbeat!

calmeyda’s picture

Hi, any news about this bug?
If the files:
sites/all/modules/heartbeat/modules/heartbeat_plugins/heartbeat_plugins.module
sites/all/modules/heartbeat/modules/heartbeat_og/heartbeat_og.module
No crash the site. This can be a start point to fix it.
I'm using wamp server 2.2 on w7 x64

IDev’s picture

Hi everyone,

So, the solution is really simple if you are willing to ditch the Overlay module, which by the way is a good move since the Overlay module is slow & slows Drupal admin area (you'll come to realize this after a while & it doesn't really have any value other than the look)

So, right now I have the Overlay module disabled & no issues with the Heartbeat module

Note: *** The Heartbeat module is enabled, but I have not used it yet , I'll report back on that shortly ****

So, Solution is:

Disable the Overlay module! & the Toolbar module while you are at it

A much much better module is https://drupal.org/project/admin_menu

------- Note to The heartbeat developers ----

http://heartbeat.menhireffect.be/page/documentation is full of errors & unusable!

Please fix it

IDev’s picture

Issue summary: View changes
Status: Active » Needs review
IDev’s picture

Issue summary: View changes
almc’s picture

admin_menu and overlay can also be conveniently used together, would be great if this module itself could be fixed.