Hi,

I have successfully (?) installed civicrm (1.2) (can add and search for users) on Drupal (Beta 2) however, when civicrm is enabled I get the following error when I click 'Create New Account'.

Location /?q=user/register
Referrer http://www.website.org/?q=
Message Invalid argument supplied for foreach() in path/public_html/includes/form.inc on line 242.
Severity error

This error does not appear if civicrm is disabled.... any ideas. This is a brand new site.

Thanks

Darran

Comments

killes@www.drop.org’s picture

CiviCRM does currently not work with the current development version of Drupal.
--
Drupal services
My Drupal services

dgeilhufe@yahoo.com’s picture

Once there is an official release candidate, we will ensure that CiviCRM is compatible with Drupal 4.7.

David Geilhufe
Social Source Foundation
Try CiviCRM http://www.openngo.org/

P00595’s picture

I have installed civicrm-drupal-php5-v1.4-rev5789M.tgz which claims to be Drupal 4.7 compatible, on my Suse Linux 10.1 Drupal 4.7 server.
Basic CiviCRM fun ctionality appears to be working, however when I attempt to register a new Drupal user via URL '/usr/register' I get a blank page and the following error appears in the apache error log:

PHP Warning: Invalid argument supplied for foreach() in /srv/www/www.cnac.org.au/drupal-4.7.2/includes/form.inc on line 336

followed by hundreds of repeats of the folllowing error message

PHP Warning: array_shift() [ a href='function.array-shift' function.array-shift /a ]: The argument should be an array in /srv/www/www.cnac.org.au/drupal-4.7.2/includes/form.inc on line 473

After disabling individual modules I have narrowed the culprit module down to CiviCRM.
This along with info from http://drupal.org/node/62027 leads me to suspect that CiviCRM is still not compatible with the Drupal 4.7 forms API?

Regards,

Calvin

darrantrute’s picture

Oh ok thanks for replying