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

dpearcefl’s picture

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.