Closed (fixed)
Project:
Imagefield Import
Version:
6.x-1.3-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2008 at 06:59 UTC
Updated:
3 May 2009 at 19:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
SeedTreeLLC commentedI set allow_call_time_pass_reference to true in my php.ini it works now.
allow_call_time_pass_reference = On
Comment #2
sodome commentedFor those of us without the option to modify php.ini, this warning makes the module unusable on a production site. I'd eagerly implement & test any patches to the module itself.
Comment #3
jonesui commentedAdd this to your .htaccess file (in your Drupal root directory):
php_flag allow_call_time_pass_reference on
It did the trick for my Drupal 6.8 install.
-mordaga
(I agree that this should not be needed though)
Comment #4
vordude commentedHere's a patch,
Adjust line 87 to read
instead of
should square that away...
Comment #5
socialnicheguru commentedI am getting this error still once the patch was applied
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 /var/www/vhosts/mysite.com/httpdocs/drupal6/sites/all/modules/imagefield_import/imagefield_import.module on line 88
The line at 88 reads:
taxonomy_form_alter(&$form, &$form_state, $form_id);
should it be
taxonomy_form_alter($form, $form_state, $form_id);
since both form and form_state are being passed by reference
Comment #6
smsearcy commentedHere is a patch that changes both parameters to no longer be passed by reference. I no longer get the error message in PHP 5.2.9.
Comment #7
vordude commentedIncluded in latest commit, release forthcoming.
Comment #8
vordude commented