Closed (fixed)
Project:
Chatroom
Version:
4.7.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
31 Jan 2007 at 23:05 UTC
Updated:
17 Sep 2007 at 13:44 UTC
[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
Comment #1
darren ohI accidentally deleted some necessary functions during the code clean-up for release 1.2. Fixed in CVS commit 54054.
Comment #2
jmai commentedAfter 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.
Comment #3
darren ohComment #4
darren ohDrupal 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.
Comment #5
jmai commentedI'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.
Comment #6
darren ohKeep 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.
Comment #7
jmai commentedMore 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
Comment #8
darren ohDrupal 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.
Comment #9
darren oh