Warning: Call-time pass-by-reference has been deprecated
anureshravi2005 - January 23, 2009 - 05:25
| Project: | Chat Room |
| Version: | 6.x-1.0-beta2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Paul Kishimoto |
| Status: | duplicate |
Description
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 C:\wamp\www\bcsl\esus\website\sites\all\modules\chatroom\chatroom.forms.inc on line 303

#1
I am aslo getting th same error. Any solution to it?
#2
I'm getting this EXACT same error.
I'm using Drupal 6.9 with hosting by Dreamhost
I was hoping to chat on my Drupal site, but that error would always display at the top of every page
I've been busy lately, and I'm a Drupal NOOB!!! But I think I'll take a look into that file on line 303 in the next couple of days
#3
I'm getting this error as well. I solved it by modifying the line it's complaining about. Simply remove the & before the $form_state. I.e. originally it looks like this:
system_settings_form_submit($form, &$form_state);
just change it to this:
system_settings_form_submit($form, $form_state);
#4
thanks its now working
and for those guys who are running on localhost you might see this error, but dont worry it will be solved as you move our site online
soundManager.initComplete(): calling soundManager.onerror()-- SoundManager 2 failed to load (security/load error) --
soundManager.disable(): Disabling all functions - future calls will return false.
soundManager: Failed to initialise.
soundManager: No Flash response within reasonable time after document load.
Possible causes: Flash version under 8, no support, or Flash security denying JS-Flash communication.
soundManager: Getting impatient, still waiting for Flash.. ;)
soundManager.beginDelayedInit(): Document loaded
soundManager._initMovie(): Waiting for ExternalInterface call from Flash..
soundManager._initMovie(): Got EMBED element (created via JS)
soundManager._createMovie(): Trying to load ./soundmanager2.swf
-- SoundManager 2 V2.76a.20080808 (AS2/Flash 8) --
#5
A patch based on pteague's suggestion in #3.
@himtuna, #4: I don't think that's related at all.
#6
Yes its not related but I got the error on my localhost, so thought it would be good for newbies like me to not afraid as it gets cleared when you move the site online.
I have read the documentation a lot times, but would like to ask how do you apply a patch.
( I am on ubuntu)
#7
I moved my site online but still get this:
soundManager.initComplete(): calling soundManager.onerror()
-- SoundManager 2 failed to load (security/load error) --
soundManager.disable(): Disabling all functions - future calls will return false.
soundManager: Failed to initialise.
soundManager: No Flash response within reasonable time after document load.
Possible causes: Flash version under 8, no support, or Flash security denying JS-Flash communication.
soundManager: Getting impatient, still waiting for Flash.. ;)
soundManager.beginDelayedInit(): Document loaded
soundManager._initMovie(): Waiting for ExternalInterface call from Flash..
soundManager._initMovie(): Got EMBED element (created via JS)
soundManager._createMovie(): Trying to load ./soundmanager2.swf
-- SoundManager 2 V2.76a.20080808 (AS2/Flash 8) --
what is missing?
#8
Same here. Still get the error.
#9
Same Soundmanager missing here. Anyone any idea?
#10
try to put:
allow_call_time_pass_reference = On
in a php.ini file
#11
duplicate of #525364: help with "Warning: Call-time pass-by-reference has been deprecated.