Closed (fixed)
Project:
phpFreeChat integration
Version:
5.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Dec 2008 at 15:47 UTC
Updated:
9 Jan 2009 at 04:50 UTC
phpFreeChat has been getting a lot of heavy use on my site recently, and that turned up a problem that I didn't see before - in a part of the code I hadn't worked on. This statement in phpfrechat_room():
if (is_numeric($user->uid)) {
$_SESSION['drupal_user'] = $user;
}
must be commented out or removed! It's unnecessary, and adds a huge amount of data to $_SESSION - enough to bring down a shared server. (It was my Web host who very snarkily brought this to my attention.)
I have to go out for a while now. When I get back, I'll try to upload a new version of the phpFreeChat module that incorporates this fix and a previous fix I made buit haven't uploaded yet. It's Christmas eve, though, so I might not be able to do it today.
Comments
Comment #1
permutations commentedFixed in Version 1.3.