Error After installing Book manager module

Dret - November 3, 2008 - 19:38
Project:Book Manager
Version:6.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

After the installation of Book Manager module, this errors appear:


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 E:\Desktop\Pampa\PAMPA\apache\htdocs\www\BASE\modules\book_manager\book_manager.module on line 594

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 E:\Desktop\Pampa\PAMPA\apache\htdocs\www\BASE\modules\book_manager\book_manager.module on line 610

Can you Hepl me... I need this module... a lot!

Bye!
Dret.

#1

jgraham - November 3, 2008 - 21:31
Status:active» fixed

#2

Dret - November 4, 2008 - 19:58

Thanks a lot!
;)

#3

dwees - November 12, 2008 - 05:24
Status:fixed» active

This error is still present. The fix is simple:

Line 610:

<?php
  book_outline_form_submit
($form, &$form_state);
?>

change to:

Line 610:

<?php
  book_outline_form_submit
($form, $form_state);
?>

since the function 'book_outline_form_submit' includes $form_state as a 'passed by reference' parameter anyway.

This happens because of a difference of php versions.

#4

dwees - November 12, 2008 - 05:25
Version:6.x-1.0» 6.x-1.1

Fixing version.

#5

jgraham - November 26, 2008 - 20:50
Status:active» fixed

Will be in the 1.2 release

#6

System Message - December 10, 2008 - 20:52
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.