I tried to create a calendar through i cal for bringing google doc calendar by feeds, when i try to do mapping ,the i cal feed parser is throwing error,

warning: Invalid argument supplied for foreach() in /classle-files/classlenow/preprod/sites/all/modules/parser_ical/parser_ical.module on line 101.

I am using 6.x 1.1 version of i cal feed parser,these are the modules i am using, date, calendar, feed api, feed element mapper, and i

had content type called event whis has the fields date_event and location. When i try to map it for the fields it is showing this error.

anybody can help me? is there anything required to be done for this?

CommentFileSizeAuthor
#9 icalparser.jpg80.92 KBkarthick62
#5 ical feed.jpg26.16 KBS.Siva
error map.jpg158.23 KBS.Siva

Comments

ekes’s picture

What is the feed, can you provide a url or sample.
When you have the mapping page, despite the warnings, what do you get offered that you can map? Is there anything in the feed item example?

ekes’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)
S.Siva’s picture

The feed i used was from google calendar, when i tried to map the field , it is displaying no feeds.

ekes’s picture

Do any other iCal feeds work? If they do I'm not sure that I can help without seeing the feed that I'm guessing isn't being read at all.

S.Siva’s picture

StatusFileSize
new26.16 KB

here i have attached the screen shot for how mapping is coming. but it is different from the video podcast.

ekes’s picture

Do other iCal feeds work?
For example does it work with http://www.mozilla.org/projects/calendar/caldata/DutchHolidays.ics

Can you visit the URL of the Google Calender without logging in?
If can visit it without logging in, but don't want to put the link in here in public, can you put a copy of the feed here - blanking out what ever private information is needed.

S.Siva’s picture

hi thanks for reply,

hi i checked with the link you gave and it shows that feed is updated,but i could not view the event in my local calendar. but whenever i give i cal feed from google doc calendar,A error is generated . Where I am wrong here.
I followed this video

http://mustardseedmedia.com/podcast/episode34

Here is the error.

Fatal error: Call to undefined function date_real_url() in /classle-preprod/classlenow/sites/all/modules/calendar/theme/theme.inc on line 513

any help would be great at this time

Thanks

S.Siva’s picture

Assigned: S.Siva » Unassigned
karthick62’s picture

Assigned: Unassigned » S.Siva
StatusFileSize
new80.92 KB

Hi Team ,

I too have the same issue. I followed the video given above. The requirement is this, i need to use the drupal calendar to display various events at the different date. The events must be taken from google calendar.I followed the video and feed is created.
I have enabled feedmapper, event, ical parser and feedapi modules.

1. Created the feed
2. Given link from the google calendar and saved.
3 . I dont know how to map here. Because the page is quite different from the page above.
4. add the contents and tag (attached the picture)
5. did refresh
6. I could not view the final display as events has been mapped.

Where did i go wrong ?

1. What are the other calendars which the drupal can get the feed from??

The issue is I could not view the mapped events. Here i have attached the image of map field

ekes’s picture

Could someone please give the the URL of one of these google ical feeds that is not working so I can test it.

karthick62’s picture

This is the link i used with log in. Could you check the image file i attached above and how to set the values in the settings and if you could attach your image while mapping and final feed image so that i can correct if i went wrong..

Here is my google calendar ical link location

http://www.google.com/calendar/ical/karthickbalaraman%40gmail.com/public...

Thanks for the reply..

ekes’s picture

The parser has no way of logging into your account. It can only access public iCal feeds.

karthick62’s picture

In the google calendar -- i did
calendar settings --> share this calendar -- > i enabled Make this calendar public and enabled Share only my free/busy information (Hide details)
Is that what you meant?? Could you tell more precisely? Since am new to drupal , i could not figure out things easily

Thanks for the help

ekes’s picture

The above link to a feed returns a Google page that states:-

Google Calendar: Calendar Error

Feed Processing Error

This is Google's help about making calendars public http://www.google.com/support/calendar/bin/answer.py?hl=en&answer=37083 and this is the help about working out the link http://www.google.com/support/calendar/bin/answer.py?answer=37104 remembering you need the iCal one (not the xml or any of the others).

karthick62’s picture

In the google calendar -- i did
calendar settings --> share this calendar -- > i enabled Make this calendar public and enabled Share only my free/busy information (Hide details)
Is that what you meant??

ekes’s picture

I'm not logged into Google at the moment so can't see. I can tell you the link above to a feed does not work. When you have a link that does work it will return a text file when you visit it. The text file will begin with lines like:-

BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
...

If when you visit the URL for you iCal feed you don't see something like that it is certain that the parser won't work.

karthick62’s picture

could you be so kind and share your settings with me in ical ?
How to get this text file from calendar...

That would be a big help so that i can proceed faster!!!.

ekes’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Google calendar settings issue. Reopen if the feed (above) is working.

medenfield’s picture

Status: Closed (fixed) » Active

Hi,

Thanks for this great module.

I'm also getting the same error message immediately after an invalid calendar file message in my dblog.

Invalid argument supplied for foreach() in /sites/all/modules/parser_ical/parser_ical.module on line 101

The feed is from Google Calendar and set to public - http://www.google.com/calendar/ical/m4bm5615rack13csfdqpb3sdho%40group.c...

The feed is updating when we add new events but is not updating existing events if we change event information in google calendar. Checking the dblog, I noticed these errors.

The feed items are set up to map dates title and VEVENT descriptions as followed in the tutorials.

Michael