Closed (fixed)
Project:
Heartbeat
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2012 at 13:08 UTC
Updated:
18 Jun 2012 at 10:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
Stalski commentedI just tried that and it works fine on my end. Can you elaborate on this or point me in the direction to reproduce the problem?
Comment #2
Stalski commentedI tried this again from scratch and it all works fine when configuring the templates and then permissions. I attached some screenshots for the permissions.
I don't have a clue what's going wrong for you. I can say that I heard about some weird behavior when another module or custom code throws a javascript error. Then the non-js approach should be triggered and that might be the case?
I will check the other issue as well but I was happy to see it all worked for a normal registered user here from scratch. (sidenote: I did not enable the comments module for this test, only the heartbeat comments).
Comment #3
Stalski commentedWhen I disable the javascript, I do get the white page. I'll fix that.
But as I said above, when this error occurs, this means your javascript is disabed OR a javascrapt fatal happened so other javascripts can not run. You can check this in chrome debugger or in firefox with firebug (console tab).
I'll check the white page now (error = Fatal error: Call to undefined function ctools_modal_form_wrapper()"
Comment #4
Stalski commentedI fixed this and pushed it to git.
Thanks for the report.
Comment #5
fraweg commentedHello Stalski,
thanks for your work. With this patch I can not delete comments (with older versions from you this works) but there is no white site.
I don't know what the problem is. At the moment I only have this problem with javascript with your module. For example Gallery Formatter and Drupalchat works fine (see Bildschirmfoto.png and Bildschirmfoto-1.png).
I have start the konsole on firefox an there are errors. I am not a developer, so I can not figure out what the problem is. You can see it on Bildschirmfoto-3.png. Is there anything else that I can test or do to solve the problem?
Best regards
Frank
Comment #6
fraweg commentedHello,
But as I said above, when this error occurs, this means your javascript is disabed OR a javascrapt fatal happened so other javascripts can not run. You can check this in chrome debugger or in firefox with firebug (console tab).I think I should open a new issue (http://drupal.org/node/1606302) for that.
Best regards
Frank
Comment #7
Stalski commented1) The javascript error says: "Drupal.shoutbox.afterSubmit" is undefined.
So check if heartbeat.js is loaded AND if the function beneath is present.
So if the function is not there, then you know you have a very weird module of heartbeat somehow. If it is, then this means that the heartbeat.js is not included in the javascrpt of drupal OR that the javascript files are loaded incorrect. "Drupal.shoutbox = Drupal.shoutbox || {afterSubmit: function(){}};" should make sure the function is declared.
2) Drupal.theme.prototype => Same thing, the theme function for the CTools modal window is not included OR it is needed before the include was done. Neither should happen!
3) Same thing with that function not found.
So conclusion: this is very weird and it is not a heartbeat bug as this should not happen on normal sites.
The only thing I could think of is to enable javascript compression to see if the problems could be reproduced somehow, but I can't.
I will close this issue as this apparently only happens with the shoutbox module, which is no longer supported by heartbeat since the patches are not getting , no commits since long time and so on ...
So I can only say that this one is up to you and not a heartbeat bug.
Heartbeat now does the same thing with the ActivityStatus plugin. It would be nice if you could tell if you have problems then.
Comment #8
fraweg commentedThanks for your support!
Comment #9
fraweg commentedThis issue depends on shoutbox ans is not an heartbeat issue. After deactivating shoutbox everything is fine. so I will der it to fixed . Best regards Frank
Comment #10
fraweg commented