Closed (fixed)
Project:
phpFreeChat integration
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2009 at 17:23 UTC
Updated:
2 Sep 2009 at 10:03 UTC
PHP Notice: Undefined index: drupal_user in mysite/beta/sites/all/modules/phpfreechat/handler.php on line 78
I get this error and then the phpfreechat just hangs.
I already deleted files/phpfreechat to see if that would help.
Chris
Comments
Comment #1
agrigor1 commentedI have similar problems.
I didnt notice you had posted this and I created a new issue.
Comment #2
agrigor1 commentedby the way i use drupal 6.9 and the problem occurs in line 79.
Searching on google for similar problems and solutions had no result.
Comment #3
dzescsd commenteddo you have a solution ?
I'm using drupal 6.10 and phpfreechat module 1.1
thanks
Comment #4
socialnicheguru commentedI get the same
PHP Notice: Undefined index: drupal_user in /dev/sites/all/modules/phpfreechat/handler.php on line 79
I am on drupal 10
Comment #5
socialnicheguru commentedFixed it
1. change following settings in php.ini to off
display_errors = Off
2. file location
i originally had my 'file' and 'file/tmp' folder in sites/default
I had to change it to sites/files
I think it didn't work because of the permissions of default
I tried it in mysite/com/files and that didn't work for me, but maybe others will have a different experience
Comment #6
socialnicheguru commentedCaveat to above- it is not working with custom theme. Just Garland
EDIT FIXED:
1. move $script variable in page.tpl.php to top if you moved it to the bottom for performance
2. in php.ini change display_errors= off
3. change files to sites/files
Comment #8
socialnicheguru commentedold title: Chat not loading- drupal_user is undefined index
Comment #9
mattGWS commentedOur install of phpfreechat was also not loading..
After trying all the various tips scattered across this and the phpfreechat forums, it actually turnt out that there was a php error in the file info.php
This is located at: sites/all/modules/phpfreechat/phpfreechat/themes/zilveer/info.php
The existing code looked like:
Of course, this needs to be changed to:
This might not be the case for everyone, but this took long enough to figure out to be very annoying.