Closed (fixed)
Project:
Heartbeat
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Jan 2009 at 21:00 UTC
Updated:
28 Apr 2011 at 16:09 UTC
Jump to comment: Most recent file
Hello,
I just installed the heartbeat module, and after posting a couple of shouts, there seems to be no way of viewing what happened. I enabled all of the heartbeat blocks, and going to heartbeat/public returns a completely blank page.
This sounds like an amazing module, and I would love to get it to work.
Thanks,
Andrey.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | heartbeat-blanks.jpg | 228.17 KB | mr.andrey |
| #3 | heartbeat-settings.jpg | 170.66 KB | mr.andrey |
| #3 | heartbeat-hb_activity.jpg | 318.34 KB | mr.andrey |
| #3 | heartbeat-shouts.jpg | 108.74 KB | mr.andrey |
Comments
Comment #1
mr.andrey commentedJust checked, and both hb_activity and shouts tables have values in them that I entered. This seems to be a display issue.
A.
Comment #2
Stalski commentedHey,
I could not reproduce this error.
Couple of questions to guid me to find the answer to the problem you are having:
- You are logged in as admin? You need at least a user with permissions for "view heartbeat messages"
- The settings of heartbeat and hb activity are at url "admin/settings/heartbeat" and "admin/settings/heartbeathb_activity". Make sure that the time of the messages are in the total timeport. Try play with these settings, like maximum items and so on ... . I expect that the problem is maybe the setting "Total timespan to show in heartbeat views".
If the problem keeps occuring, could you please give more information about your install. Maybe the settings you used, ...
Stalski
Comment #3
mr.andrey commentedHi Stalski,
I'm logged in as admin, and the settings are set on default (screenshot attached). I just added another zero to "Total timespan to show in heartbeat views" setting, making it 20 days.
On the main settings screen all three boxes are checked.
Still no blocks (I have "All heartbeat messages", "Public heartbeat" and "Personal heartbeat" enabled), and heartbeat/public comes up as a completely white/blank page with no code on it at all.
Attached are screenshots of the `hb_activity` and `shouts` tables.
I'm on Drupal 6.8
Let me know if there's anything other info you might find helpful in troubleshooting this.
Best,
Andrey.
P.S. This is a minor issue, but "heartbeat settings" shows up at the very top of the settings menu, not sorted alphabetically like the rest of the modules. Maybe this is due to the first character being lowercase.
P.P.S. I just updated the module to Jan.24 dev, noticed that you added an option to delete logs. I tried that, added some new shouts (by the way, delete logs doesn't clear the shouts table.. just FYI, as it might be intended), still experiencing problems.
Comment #4
Stalski commentedHey,
Yes you can.
Blank pages are often a error which is logged by the webserver. Maybe you can take a look at the error logs from apache or so? If you test locally, please make sure the error settings in php.ini is enabled. This way we will immediately see which function is not found or something like that.
I did the same thing from a clean install (with friendlist on) and saw the block immediately. I made sure now that there is always output, even when no messages were found.
Other than that, can not think of anything. (still have to look at the screenshots, but wanted to answer already in order to maybe see the error logs on this)
greetz,
Stalski
Comment #5
Stalski commentedOk , all your settings and database stuff is good.
The only thing i noticed and i did not know actually is that language string in the database.
I only worked with nl and en for the moment. So my guess is that i will need to change my language variable in the database. So my best guess is that in the code there is no match on language (en =/= en-U)
I will look into this tonight.
Comment #6
mr.andrey commentedThat's interesting about the language. My language actually has the code en-US, but it only displays as en-U because the language field in the hb_activity table has 4 char limit
Comment #7
mr.andrey commentedYep, that was it. I changed it to 5 chars, set the names from en-U to en-US, and the blocks are showing up.
Yay!
The public heartbeat works, private one too, all messages is blank, and the public/heartbeat page displays some errors:
I'll run some more tests and post my findings here.
Best,
Andrey.
Comment #8
mr.andrey commentedOK, here's what I found so far:
The error that was being produced by the blocks and the public/heartbeat page was because it couldn't find the views-view-row-heartbeat.tpl.php file, which was in theme/. I copied it to the module root, and the errors vanished.
The entries get the language tagged correctly now (after changing the char length to 5), so they show up.
A few issues here:
* When I use the shoutbox via Ajax (clicking the button w/mouse), the entry shows up under All Heartbeat Messages just fine. If I press "Enter" on the keyboard, however, the entry only displays the name and no message (screenshot attached).
* The All Heartbeat Messages box doesn't show the time ago (see screenshot).
* The public and private heartbeats, as well as the heartbeat/public page only show the initial shout. The following ones do not show up. Is this due to a time limit? If so, shouldn't this be the last message rather than the first?
Thanks,
Andrey.
Comment #9
mr.andrey commentedComment #10
mr.andrey commentedGot it figured out:
The AHAH shout post is this:
while the form submit (non-AHAH) is this:
There's an obvious inconsistency here. The second part should be this:
The patch that fixes this and other issues can be found here:
#365649: Shouts features, patch for time ago, incorrect time format, other issues
Comment #11
nils.destoop commentedThx for the patch Andrey, didn't have much time lately :)
Implemented it in the dev version.
Comment #13
Pastor Lee commentedMr. Andrey,
Please forgive my ignorance, but I have this problem also, and tried to follow your suggestions here, but quickly became totally LOST. I am new to Drupal, and not software-literate I'm sorry to say. Therefore, these fixes are like reading Greek, to me. Is there some way of helping me with this same "white-screen" problem in a way that a simple "earth-person" can understand? Again, please forgive my ignorance here.
I just installed 'Heartbeat', and every time I click on it, I get a "white-screen". I don't know if this problem might be related, but I had to remove the "activity" module, as it was giving me a white-screen with errors of "death". I would LOVE to be able to use this module, as it seems almost the "heartbeat" of a Community site, but I'm afraid I'm too ignorant in these matters, not only to fix it myself, but apparently even to understand the explanation of how to do so. Thank you for any/all help, in advance!
Lee (Lee-vit-Over@hotmail.com)
Comment #14
Stalski commentedPlease try to install the latest dev version from branch four. I am currently working a lot on it and all my test are good now. Maybe you better wait a day or two because i plan to do release this latest version as stable.
Stalski
Comment #15
glass.dimly commentedHeartbeat only starts logging creation of "Page" nodes when initially configured, additional rules must be set on the Drupal Core Rules administration page by editing the rules that Heartbeat provides.