Cannot add pages from profile setup to routes

mErilainen - April 7, 2009 - 14:29
Project:Profile Setup
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I get following errors from Profile Setup modules when trying to add "profile setup" pages to pageroute routes:

Warning: Call-time pass-by-reference has been deprecated in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_profile_picture.inc on line 60

Warning: Call-time pass-by-reference has been deprecated in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_account_category.inc on line 61

Warning: Call-time pass-by-reference has been deprecated in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_account_category.inc on line 63

Warning: Call-time pass-by-reference has been deprecated in /home/merilai2/public_html/drupal6/sites/dev.ee.tut.fi.~merilai2.drupal6.opintopiiri/modules/profile_setup/profile_setup.page_account_category.inc on line 63

I can add pages to routes if Profile Setup is not enabled.

#1

thomjjames - April 20, 2009 - 01:35
Priority:critical» normal
Status:active» needs review

does this fix it: http://drupal.org/node/335646

Tom

#2

mErilainen - April 21, 2009 - 07:36

I haven't tried to modify the ini-file.
The other solution I don't understand and there is no patch. Or does he mean that he made those changes to dev-version?

#3

thomjjames - April 21, 2009 - 13:58

Hi,

"allow_call_time_pass_reference" is server setting which if set to "on" should fix this error.

On your server you should have a file called php.ini which contains your php settings, in the file you'd need to change:

allow_call_time_pass_reference = Off

to

allow_call_time_pass_reference = On

If in doubt ask your hosting company
Hope that helps
Tom

#4

thomjjames - October 14, 2009 - 14:55
Status:needs review» closed
 
 

Drupal is a registered trademark of Dries Buytaert.