I tried to install the ubercart marketplace module and I recieve this error:
"Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of module_invoke_all(). 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\drupal\sites\all\modules\ubercart_marketplace\mp_products\mp_products.module on line 219"
Where is this INI file? Its not in the .module file like the warning suggests, so I went into the php.ini file supplied by the WAMP server files. I found this block on lines 203-219. there is a allow_call_time_reference on line 212 that I tried to change to "On" and "true" and neither worked.
"; Whether to enable the ability to force arguments to be passed by reference
; at function call time. This method is deprecated and is likely to be
; unsupported in future versions of PHP/Zend. The encouraged method of
; specifying which arguments should be passed by reference is in the function
; declaration. You're encouraged to try and turn this option Off and make
; sure your scripts work properly with it in order to ensure they will work
; with future versions of the language (you will receive a warning each time
; you use this feature, and the argument will be passed by value instead of by
; reference).
allow_call_time_pass_reference = Off
;
; Safe Mode
;
safe_mode = Off
; By default, Safe Mode does a UID compare check when"
I don't know what to do about this....
Comments
The .module file reference
The .module file reference in the error has this at line 219:
module_invoke_all('list_product', &$node);
which it mentioned modifying earlier, but I just want to enable call-time pass-by-references unless thats a bad idea...
It goes away when I
It goes away when I uninstall the module and came back again when I reinstalled...