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?
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | icalparser.jpg | 80.92 KB | karthick62 |
| #5 | ical feed.jpg | 26.16 KB | S.Siva |
| error map.jpg | 158.23 KB | S.Siva |
Comments
Comment #1
ekes commentedWhat 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?
Comment #2
ekes commentedComment #3
S.Siva commentedThe feed i used was from google calendar, when i tried to map the field , it is displaying no feeds.
Comment #4
ekes commentedDo 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.
Comment #5
S.Siva commentedhere i have attached the screen shot for how mapping is coming. but it is different from the video podcast.
Comment #6
ekes commentedDo 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.
Comment #7
S.Siva commentedhi 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
Comment #8
S.Siva commentedComment #9
karthick62 commentedHi 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
Comment #10
ekes commentedCould someone please give the the URL of one of these google ical feeds that is not working so I can test it.
Comment #11
karthick62 commentedThis 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..
Comment #12
ekes commentedThe parser has no way of logging into your account. It can only access public iCal feeds.
Comment #13
karthick62 commentedIn 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
Comment #14
ekes commentedThe 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).
Comment #15
karthick62 commentedIn 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??
Comment #16
ekes commentedI'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:-
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.
Comment #17
karthick62 commentedcould 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!!!.
Comment #18
ekes commentedGoogle calendar settings issue. Reopen if the feed (above) is working.
Comment #19
medenfield commentedHi,
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