In firefox when I submit a post, it prints "null" in the chatbox.

Firefug reports this:

document.getElementById("chatblock_submit") has no properties
chatblockhandleResponse("")
e(undefined)jquery.js (line 2)
[Break on this error] document.getElementById('chatblock_submit').disabled = false;

also... the .install file did not work, I had to create the tables manually.
This is the output I got after installing the module:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */' at line 7 query: chatblock_install CREATE TABLE chatblock ( message varchar(255), username varchar(60), timestamp int(10), messageid int(10) NOT NULL auto_increment, PRIMARY KEY messageid ) TYPE=MyISAM /*!40100 DEFAULT CHARACTER SET utf8 */; in C:\Program Files\xampp\htdocs\includes\database.mysql.inc on line 172.

Comments

dwees’s picture

Assigned: Unassigned » dwees

Hey there,

Which version of Firefox are you using? It works fine in Firefox 2.0. However, I am going to use the jQuery way of doing that instead and see if it works better.

Also, I have some modifications on the .install, so we'll see if that helps.

Accidentally overwrote my version before making a patch, so just wait a few hours, then re-download the newest version that I'll update via CVS.

Dave

yngens’s picture

I have just installed this module. Had to do database part manually. Now I'd like to confirm error with null, but not only for Firefox, it is the same in IE too. My Firefox 2.0.0.1 and IE 7.

dwees’s picture

When did you download this module? Also, there is an issue open for this already.

Dave

yngens’s picture

Just before February 19, 10.35 (time of my comment)
There is no open issue http://drupal.org/project/issues/chatblock Only two open issues: this one and about differences. Why don't you give a link to that open issue?

dwees’s picture

okay my bad. Is it possible for you to email me through my contact page and give me a link to a site where it is not working? It may be that it is conflicting with other Javascript you have on the page.

Dave

yngens’s picture

I tried to launch on a production site and disabled after finding the error. Not going to install until this module is fully polished. Sorry.

dwees’s picture

Status: Active » Closed (fixed)

Okay then. Since it's working in both those browsers on my website, I'm going to assume some kind of theme/javascript incompatibility and close this issue.