During the install of the COD profile I get the following warnings and errors. Is this a known bug or something new?

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 /profiles/cod/modules/conference_organizing/conference_organizing.module on line 182

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 /profiles/cod/modules/conference_organizing/conference_organizing.module on line 226

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 /home/.monica/rmevjen/heat-waves.org/profiles/cod/modules/conference_organizing/conference_organizing.module on line 587

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 /profiles/cod/modules/conference_organizing/conference_organizing.module on line 796

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 /profiles/cod/modules/conference_organizing/conference_organizing.module on line 1911

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 /profiles/cod/modules/conference_organizing/conference_organizing.module on line 2004

Fatal error: Call to undefined function token_get_values() in /profiles/cod/modules/pathauto/pathauto.inc on line 317

I am trying to install this on a site hosted with Dreamhost. Any help would be much appreciated!

Cheers!

Comments

jmcclelland’s picture

That function is in the token module (http://drupal.org/project/token) and is related to this bug in the pathauto module:

http://drupal.org/node/176590

I think cod should be requiring the token module.

However, putting the token module in the profiles/cod/modules directory didn't fix the problem.

To fix the problem, I had to hack the pathauto.module file, adding at the top:

include_once('profiles/cod/modules/token/token.inc');

This seems like a very very very wrong thing to do, but it worked.

temmermon’s picture

I confirm to have had the same problem, and the php-hack solved it. However, after completion of the install-script, I encountered these problems:
· warning: file(./profiles/cod/cck/conference.txt) [function.file]: failed to open stream: No such file or directory in ./profiles/cod/cod.profile on line 243.
· warning: implode() [function.implode]: Bad arguments. in ./profiles/cod/cod.profile on line 243.
· The import data is not valid import text.
· warning: file(./profiles/cod/cck/profile.txt) [function.file]: failed to open stream: No such file or directory in ./profiles/cod/cod.profile on line 243.
· warning: implode() [function.implode]: Bad arguments. in ./profiles/cod/cod.profile on line 243.

and so on for every of the .txt files in cod cck. Don´t know whether this is related?

zacker’s picture

Assigned: Unassigned » zacker

We will have to include token module as part of the install profile. Thanks for the info folks...

temmermon: you're issue is an unrelated issue. Can you file a new bug report for it?

zacker’s picture

Status: Active » Closed (fixed)
zacker’s picture

temmermon’s picture

[The other node was for the "Documentation" section, that´s why I duplicated. Sorry for that.] Will post my other issue directly.