Download & Extend

Cannot add pages from profile setup to routes

Project:Profile Setup
Version:6.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Priority:critical» normal
Status:active» needs review

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

Tom

#2

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

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

Status:needs review» closed (fixed)