I get the following error when enabling Date-6.x-dev (HEAD) and CCK 6.x-1.x-dev

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 C:\wamp\www\D6\sites\all\modules\date\date\date_elements.inc on line 118

CommentFileSizeAuthor
#4 yh.patch1.49 KByhager

Comments

skor’s picture

Oh, running D6.1 on php 5.2.5 and mysql 5.0.51a

kriskd’s picture

karens’s picture

Status: Active » Postponed (maintainer needs more info)

I can't replicate this with latest HEAD. The HEAD tarball is out of date, you have to get the code directly from cvs to get the latest code. I'm going to try to create a beta release soon that you can use instead of that bad tarball.

yhager’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.49 KB

I don't think this is fixed for HEAD - I think it depends on PHP configuration. This error is not displayed on my local install, but is displayed when used on my shared hosting account.
The attached patch follows the suggestion from http://drupal.org/node/242787#comment-815205 - it seems to be working fine, but I haven't tested functionality in full.

karens’s picture

Status: Needs review » Fixed

Fixed in latest commit. Thanks!

kriskd’s picture

Fixed in latest commit. Thanks!

I just downloaded and installed date-6.x-1.x-dev.tar.gz with a last update date of 5/8/08 and the field for Date is still not showing up. I ran update.php and that didn't remedy it either. Maybe I'm still doing something wrong?

karens’s picture

The issue is about an error message and the error message should be gone. I have no idea what you mean when you say 'the field for Date is still not showing up.' That has nothing to do with this issue that I can see, and I have no idea what you mean. If you're reporting a different error, open a new issue and provide more information.

kriskd’s picture

Sorry about that, Karen, I got a little ahead of myself! I had already participated in the appropriate issue queue about that one here:

http://drupal.org/node/246244

Anonymous’s picture

Status: Fixed » Closed (fixed)

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