When I uploaded the module, and go to install it, I get the message: "Depends on: Array (missing)". I am not aware of any Array module, and have searched on Drupal.org and Google to find such a module, but can't seem to find it. I am running Drupal 5.1. Any idea what could be causing this?

Comments

behindthepage’s picture

There is a bug in the info file which I have fixed in release 5.x-1.11. Try that.

jlhurd’s picture

Status: Active » Fixed

It works fine for me now. Thanks for the quick response time.

cog.rusty’s picture

Version: 5.x-1.10 » 6.x-1.x-dev
Category: support » bug
Priority: Normal » Critical
Status: Fixed » Active

There is a similar error in 6.x-1.x-dev (PHP 5.2)

When the module is present (even when not enabled) an error message appears in the admin/build/modules page.

warning: Invalid argument supplied for foreach() in [...]/modules/system/system.admin.inc on line 537.

It can be fixed by changing the dependences line to dependencies[] = contact in contact_forms.info

behindthepage’s picture

That is very strange because "dependencies[] = contact" is the new format for version 6.
Check out tracker.info in core.

I am having no problems on 6beta2 on my PC however I do have older versions of apache and php.

Regards
Geoff

behindthepage’s picture

Cancel last transmission.

Yes Version 6 should be dependencies[] = contact and version 5 should be dependencies[] = contact.
I am having problems updating via CVS and got them swapped around. Fun and games. Will fix version 6 release and try and work out how to keep them seperate on my machine.

Regards
Geoff

behindthepage’s picture

Version 6 (Head) has been fixed now. Changes will appear in nightly snapshot.

Thanks all.
Geoff

behindthepage’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.