When I'm installa webform I have the next message

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). 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 /path/mywebsite/modules/webform/webform_components.inc on line 376

The website are hosted in dreamhost

Comments

quicksketch’s picture

Status: Active » Fixed

Thanks, just a minor bug that doesn't cause any trouble. You can safely delete the "&" symbol from that line of code:

Index: sites/all/modules/webform/webform_components.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/webform_components.inc,v
retrieving revision 1.9
diff -u -r1.9 webform_components.inc
--- sites/all/modules/webform/webform_components.inc	15 Mar 2008 01:03:29 -0000	1.9
+++ sites/all/modules/webform/webform_components.inc	21 Mar 2008 02:41:04 -0000
@@ -373,7 +373,7 @@
   webform_load_components($form_state['values']['type']);
   $validate_function = '_webform_edit_validate_'. $form_state['values']['type'];
   if (function_exists($validate_function)) {
-    $validate_function($form, &$form_state);
+    $validate_function($form, $form_state);
   }
 }
 

I've corrected this in CVS and it'll be fixed in the next release. Thanks!

netlite’s picture

Thanks!

I'm too add the next line in .htaccess file in the root directory of the website

php_flag allow_call_time_pass_reference 1

Anonymous’s picture

Status: Fixed » Closed (fixed)

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