First of all, I'm a newbie and a clumsy one, so feel free to disregard my submission if not relevant.

I run Drupal 5.1 in a server with this architecture:

MySQL database 5.0.26
PHP 5.2.1
Unicode library PHP Mbstring Extension
Web server Apache/2.2.3 (Linux/SUSE)

When I active quiz I get the following warning:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of node_prepare(). 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.

It affects to node_prepare, theme(), and [runtime function name]().

I suppose I could just doing what I told, but I have no clue to where is this ini file. Perhaps php.ini? Anyway I have no permissions to alter important files in my server, so... maybe to alter the code to avoid this warning makes some sense...

CommentFileSizeAuthor
#1 quiz_remove_view_reference.patch1.13 KBadd1sun

Comments

add1sun’s picture

Category: support » bug
Status: Active » Needs review
StatusFileSize
new1.13 KB

Took the references out of hook_view (which calls node_prepare). The reference doesn't exist in the API docs going back a ways so I'm assuming this isn't needed for anything.

add1sun’s picture

Status: Needs review » Fixed

committed to HEAD and the 5 branch

Anonymous’s picture

Status: Fixed » Closed (fixed)

  • Commit 5f07b9e on 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x by add1sun:
    #142944 More code cleanup, #142946 updated the INSTALL and .info files...

  • Commit 5f07b9e on 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, quiz-pages by add1sun:
    #142944 More code cleanup, #142946 updated the INSTALL and .info files...

  • Commit 5f07b9e on 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, quiz-pages, 2269219 by add1sun:
    #142944 More code cleanup, #142946 updated the INSTALL and .info files...

  • Commit 5f07b9e on 5.x-2.x, 6.x-2.x, 6.x-3.x, 6.x-4.x, 6.x-5.x, 6.x-6.x, 7.x-4.x, master, 7.x-5.x, 2269219 by add1sun:
    #142944 More code cleanup, #142946 updated the INSTALL and .info files...