Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2005 at 00:44 UTC
Updated:
7 Oct 2005 at 06:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
drummPatch still applies and does not cause any problems with PHP 4. I am unable to test on PHP 5.
Comment #2
m3avrck commentedConfirmed, 5.0.5 final causes this fatal error:
Fatal error: Only variables can be passed by reference in \drupal\modules\user.module on line 1366Rerolled patch against latest HEAD. system.module no longer needs to be updated, only user.module does.
Comment #3
m3avrck commentedCorrection, still applies in system.module, new patch attached.
Comment #4
m3avrck commentedSecond and final correction, turns out there were *multiple* call by reference errors in system.module (some fixed in HEAD) others not. This patch corrects them all and correctly works with PHP 5.0.5 on second round of testing.
Comment #5
Souvent22 commentedPHP Version 5.1.0b3
+1. Fixed all my errors for PHP5 regarding the "pass by refereance" error. I found 3 specific cases which generated the error, and now I have 0. Seems ready to go. For all who try this patch, please, as I did, place what version of PHP you're running, so we know it works for all 5.x.
Comment #6
dries commentedCommitted to HEAD. Thanks.
Comment #7
danielc commentedAttached is a patch for DRUPAL-4-5. I will attach a patch for DRUPAL-4-6 in a moment.
These patches, along with the one submitted by m3avrck, are a combination of three bug reports into one patch per branch. I will mark the following two items duplicates of this:
http://drupal.org/node/26235
http://drupal.org/node/26034
Comment #8
danielc commentedPatch for 4.6.
Comment #9
dries commentedCommitted to HEAD.
Comment #10
(not verified) commentedComment #11
(not verified) commented