Hello,

I am trying to use the chatroom module with drupal 6.4. It dies not work and gives me the message:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of system_settings_form_submit(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/content/c/f/i/cfinton/html/modules/chatroom/chatroom.forms.inc on line 303

any thoughts on how to fix it?

Thanks for your help :)

Buddy

Comments

Colt Seavers’s picture

Likewise, I have the same issue, only with Drupal6.6.

EDIT: tell you what, I'm such a n00b at any web design etc - but obsessively learning with the HUGE help of Drupal.

By chance I tried this - which was found following alot of googling - and for a problem with entirely different software, the principle seemed the same so i tried & presto.....

open chatroom.forms.inc, go to line 303, and remove the ampersand

so

system_settings_form_submit($form, &$form_state);

becomes

system_settings_form_submit($form, $form_state);

taking my usual break/fix/break/fix approach to learning, i'm off to see its all working - seems to be - and will report back if this just causes more trouble than it fixes. Meanwhile, can anyone explain what this all means - I have no idea :P

Grumot’s picture

subscribing

miahawk’s picture

I had same issue on 6.6, this seemed to resolve it.

Anonymous’s picture

Status: Active » Fixed

committed change as per #1, thanks Colt Seavers.

fumbling’s picture

Had same issue, agree this appears to have solved it. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

jamesialford’s picture

Colt, great work. This worked for me and I do not see anything else going wrong.