Using drupal_system_listing instead of file_scan_directory did not work for Views 2. And include_once instead of require would not work with different system paths. Reverted all new changs in ecomma.views_default.inc.