Chat block (current release 5.x-1.0) will not show text when submitting.

Running:
Drupal 5.1 on a Windows 2003 Server.

Suggestions?

Comments

mlncn’s picture

Probably a duplicate of http://drupal.org/node/138920

Or do other people's messages get updated live?

rrr’s picture

Yes - I have install Last night and have the same problem.
I can see the block,
set the permisions.

there is not any entries in database table.

no errror messages though, (I am new so I may be missing where they appear)

is there anyplace else I should check?

ulrich’s picture

I have the same problem with javascript enabled. Here are some observations that perhaps might help.
The messages are in the database table. Interestingly the timestamp equals 0 for all messages.
When reloading the page the messages will reappear.
I do not get any error messages in the log.

Ulrich

fabrizioprocopio’s picture

If can help:
i found a difference between FireFox and Internet Explorer 7
with FF it works only refreshing manually
with IE7 also refreshing manually nothing happens
but using the two browser together, when i refresh manually FF i found the chat entries i wrote with IE7

it's just the module I'was looking for... I hope it'll be resolved asap

thanks by now

rwodaski’s picture

I looked at the .module file. I see that the timestamp is set using the function:

microtime()

This function returns a string, like this:

0.70188500 1188578609

But the database stores this information in an integer field.

I'll look into it further, but this should be enough information for one of the developers to track this down if they are available to do so.

Ron Wodaski

rrr’s picture

thanks for that sugestion, I replaced micotime() with just time(), and removed the 1000* from the chatblock_cron() as time is in seconds.
This gets correct values in the database, yay.
Now to get the cron firing to do the update, any sugestions?

dwees’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.