[Wed Jan 31 16:52:11 2007] [error] PHP Notice: Undefined variable: room_cache_file in /public_html/modules/chatroom/chatroomread.php on line 182
[Wed Jan 31 16:52:11 2007] [error] PHP Notice: Undefined index: timestamp in /public_html/modules/chatroom/chatroomread.php on line 172

Comments

darren oh’s picture

Assigned: Unassigned » darren oh
Priority: Minor » Normal
Status: Active » Fixed

I accidentally deleted some necessary functions during the code clean-up for release 1.2. Fixed in CVS commit 54054.

jmai’s picture

After updating with 1.6 I still get the errors. Could it be my setup? I deleted the entire chatroom directory and copied 1.6 back onto the server, but I still get the errors.

darren oh’s picture

Version: 4.7.x-1.4 » 4.7.x-1.6
Status: Fixed » Active
darren oh’s picture

Status: Active » Postponed (maintainer needs more info)

Drupal may be unsetting some variables. See issue 78920 for more information. Here is how you can test to see if this is the problem:

If "register_globals = on" is set in your php.ini file and "AllowOverride None" is set in your Apache configuration file, try removing "AllowOverride None" from your Apache configuration. Then check to see if the errors continue to appear.

jmai’s picture

I'm using PHP 4.4.4 with MySQL 4.1.21 with register globals off as default. Would that affect anything? I followed the link you provided and tried turning on register globals on. I couldn't find AllowOverride attribute in my php.ini file. The errors are still persisting so I think i'm stuck there. Thanks for the help btw.

darren oh’s picture

Keep register globals off. Having it on is what causes problems. I just wanted to be sure that wasn't the source of the problem. Try giving me a link to your chat so I can see what is being posted to the server.

jmai’s picture

More info:
I did have the two blocks activated on my left side columns, the active chats and the chat online list. When i turn off all the chatroom blocks, I get a 5 sec interval of the errors rather than 2 secs interval. Is there something calling this module or polling every 5 secs?

Here's the link to my site, if you need more permission, just tell me.

http://www.badfreaks.com/?q=chatrooms

darren oh’s picture

Drupal usually has some information regarding the source of an error. If you post the complete error log entry, I may be able to identify it.

darren oh’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)