Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have recently experienced an issue w/ my site's user profile pages. When a user is logged in, they are unable to edit any of the fields in their profile page. In the view profile page everything is visible, however, in the edit tab nothing shows up (see attachments). Also the create new account page does not show any profile fields besides username, email and password (see attachments).
The platform this is hosted on was recently upgraded to PHP 5.4.25
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2014-03-03 at 2.28.14 PM.png | 90.22 KB | drupq | |
Screen Shot 2014-03-03 at 2.29.08 PM.png | 16.94 KB | drupq | |
Screen Shot 2014-03-03 at 2.30.44 PM.png | 78.46 KB | drupq |
Comments
Comment #1
drupq CreditAttribution: drupq commentedQuick update...
PHP 5.4.25 has removed support for passing variables by reference and this version of Drupal, 6.4, is littered with them. By replacing "&$variable_name" with "$variable_name" in /modules/profile/profile.module, I was able to get the variables to show up in the "Create New Account" page. However, existing users are still not able to edit their profiles... same behavior as what I described above persists.