I'm trying to get my CiviCRM ical feed working with my main drupal calendar. Looking at information here - http://drupal.org/node/215979 and here - http://drupal.org/node/341716, I have set up everything as far as I can go.

In the mapping stage, I've mapped

options->VEVENT: to Map to field_date (date): iCal VEVENT

Then I refresh the node to import the feed, and my single test node does get imported, but doesn't get the start date and time. I get these errors:

•warning: Invalid argument supplied for foreach() in C:\web\htdocs\drupal6\sites\all\modules\cck\content.module on line 1022.
•warning: Invalid argument supplied for foreach() in C:\web\htdocs\drupal6\sites\all\modules\cck\content.module on line 1022.

I tried to map other fields just for the heck of it, but get even worse errors. Anyone that's done this have an idea what the problem might be?

Comments

sansui’s picture

Status: Active » Closed (fixed)

Guess it didn't like the fact that I had civicrm and drupal in different databases, despite the fact that I set up my drupal settings.php for this. Problem solved - don't split civicrm and drupal into separate databases :P