Download & Extend

Fatal error in upload.module line 907 and duplicate images (also imagefield module, same code problem)

Project:Drupal core
Version:5.16
Component:upload.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary


Fatal error: Cannot pass parameter 1 by reference in [removed]/public_html//modules/upload.module on line 907

and the image is added twice

line 907 is $function('imagefield_js', $form);

I commented out line 907, now the module is working without an error and without generating duplicate images

I had the same problem in the D5 imagefield module, and commenting out line 1170 (same code as here) fixed the problem.

Comments

#1

Status:active» closed (won't fix)

Considering the lack of activity on this issue and that Drupal v5 is no longer supported by fixes or patches, I am going to close this ticket.

nobody click here