Closed (fixed)
Project:
Private Upload
Version:
5.x-1.0-beta3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2007 at 15:49 UTC
Updated:
31 Dec 2007 at 23:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
starbow commentedI suspect that means that you are using PHP4, and that line is PHP5 only.
The line in question is:
function private_upload_requirements($phase, &$status=array()) {
Comment #2
marc angles commentedok,
anarcat (http://drupal.org/user/1274) helped me and now I have a little patch to use this module with php4
anyways thanks for the good job
Comment #3
starbow commentedHmm, this issue with that patch is that it won't return the status array, which means you won't see the results. Let me know if this works for you:
function private_upload_requirements($phase, &$status = NULL) {
Comment #4
starbow commentedOk, looks like PHP4 and PHP5.2.4 don't like setting references to default values. I have changed it to:
function private_upload_requirements($phase, &$status) {
which throws a couple warnings, but should work correctly on all php versions.
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.