php 5

teacherguy - August 24, 2008 - 20:53
Project:Woopra
Version:6.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:critical
Assigned:tomdeb
Status:closed
Description

Although my sql database was created for php 5, I found out today that my account with godaddy was running php 4. I changed the setting to 5, and everything works except Woopra. I have tried both the dev version and the approved version for drupal 6 today, but either way I get this error:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of profile_load_profile(). 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/content/s/c/n/scnmusic/html/sites/all/modules/woopra/woopra.module on line 197

#1

bbodenmiller - September 18, 2008 - 21:23

I am having the same issue! Please fix ASAP!

#2

bbodenmiller - September 18, 2008 - 21:30
Category:support request» bug report

#3

tomdeb - October 4, 2008 - 06:48

can you add:
php_value allow_call_time_pass_reference 1

to all 3 PHP IfModule sections (just under php_value session.auto_start) of the .htaccess file in your drupal folder.

Let me know if this fixes your problem.

Thanks.

#4

tomdeb - October 4, 2008 - 06:50
Assigned to:Anonymous» tomdeb

#5

agrigor1 - January 16, 2009 - 02:30

This problem exists in stable version too

PHP Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of profile_load_profile(). 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:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\sites\\all\\modules\\woopra\\woopra.module on line 197

#6

agrigor1 - January 16, 2009 - 02:37

Why dont you fix your code instead of using depreciated call time pass by reference?

I dont comprehend what you suggest as a solution

#7

that0n3guy - January 26, 2009 - 03:09

Quote:

can you add:
php_value allow_call_time_pass_reference 1

to all 3 PHP IfModule sections (just under php_value session.auto_start) of the .htaccess file in your drupal folder.

Let me know if this fixes your problem.

what does this do? (besides trying to get rid of the error)

#8

tomdeb - April 21, 2009 - 08:25
Status:active» fixed

Fixed in release 1.2

#9

tomdeb - April 21, 2009 - 08:34
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.