Download & Extend

ec_anon 5.x causes PHP Fatal Error when running update.php during Upgrade procedure

Project:e-Commerce
Version:5.x-3.6
Component:ec_anon
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

I am upgrading my up-to-date (according to update_status report) Drupal 5.18 to Drupal 6.12, and I follow the procedure described in UPGRADE.TXT (Drupal 6.12). Before upgrading the core files, I disabled all the contributed modules, including all the ecommerce 5.x-3.6 modules. After removing all the old files, putting the new core Drupal files and my sites and files directories (sites contains all the "old", 5.x modules ... as it is supposed to). The next step is to run update.php, when I try to reach it I end up with a fatal error:

Fatal error: Only variables can be passed by reference in /sites/all/modules/ecommerce/ec_anon/ec_anon.module on line 483

If I remove "ecommerce" directory and run update.php again, there is no error, and I can continue the upgrade procedure (but this is not documented and not following the Drupal upgrade path). Knowing that the module is disabled in "system" table (status = 0), why is ec_anon even parsed by PHP ?