Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is what I get when attempting a debug:
* Fetching feed from http://www.google.com/calendar/feeds/e0a0s7rge1f0q5jm46dmfbtheo%40group....
* Error: Failed to load XML
Any hint?
TIA
Patrick
Comments
Comment #1
aidanlis CreditAttribution: aidanlis commentedHrmm you should have got some other PHP errors at the top of the page, in a big red box. Can you check your "Recent Errors" page in the Administration area?
Comment #2
askandlearn CreditAttribution: askandlearn commentedI was having the same problem. I disabled ical parser and GCal events. Agenda is now working for me. I also ran cron manually. I'm not sure which of these is responsible for it working.
Comment #3
aidanlis CreditAttribution: aidanlis commentedical parser and gcal events have nothing to do with this module and can't affect it in any way. If the module can't fetch the XML, you're probably behind a firewall or proxy. Talk to your system administrator.
Comment #4
sclewley CreditAttribution: sclewley commentedI'm having a similar problem. Agenda says it read the xml, but then can not parse any events:
# Fetching feed from http://www.google.com/calendar/feeds/mko95lc391b93joqm0knvk0io8%40group....
# Loaded XML successfully
# Found 1 events
# Loading event 1 which is 1073 bytes
Array
(
[id] => http://www.google.com/calendar/feeds/mko95lc391b93joqm0knvk0io8%40group....
[published] => 2009-06-18T18:41:58.000Z
[updated] => 2009-06-18T18:41:58.000Z
[category] => SimpleXMLElement Object
(
[@attributes] => Array
(
[scheme] => http://schemas.google.com/g/2005#kind
[term] => http://schemas.google.com/g/2005#event
)
)
[title] => Lab Meeting
[summary] => When: Mon Jun 22, 2009 8:30am to 10:30am
EDT
Event Status: confirmed
[content] => When: Mon Jun 22, 2009 8:30am to 10:30am
EDT
Event Status: confirmed
[link] => Array
(
[0] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => alternate
[type] => text/html
[href] => http://www.google.com/calendar/event?eid=NGU3Y2NoY2doMjdtNGMxZ3BubnJ0OGs...
[title] => alternate
)
)
[1] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] => self
[type] => application/atom+xml
[href] => http://www.google.com/calendar/feeds/mko95lc391b93joqm0knvk0io8%40group....
)
)
)
[author] => SimpleXMLElement Object
(
[name] => HMS Genetics 258 Conference Room
)
)
# Warning: Failed to parse event!
# Parsed 0/1 events successfully
# Begin filtering based on date: string provided () which has timestamp (0) which has date (Wed, 12/31/1969 - 8:00pm).
# Finished. Started with 1 events, will display 0 events
Comment #5
rokar CreditAttribution: rokar commentedSame problem for me.
The debug displays same messages as previous posted one.
When I run the cron, this is the error message :
warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 4 in /mnt/167/sda/1/4/asm.project/sites/all/modules/agenda/agenda.module on line 445.
Comment #6
ncoalson CreditAttribution: ncoalson commentedI had the same problem (module couldn't load XML feed; debug tests failed and produced PHP errors in red etc.) until I enabled Sharing on the Google Calendar.
Works fine now.
Comment #7
John R CreditAttribution: John R commentedI also have this problem. My Google Calendar is shared publicly, I have ran cron manually, I have disabled my firewall but I still get this message when I Debug:-
* Fetching feed from http://www.google.com/calendar/render?hl=en&tab=wc
* Warning: Failed to load XML
Comment #8
John R CreditAttribution: John R commentedI also have this problem. My Google Calendar is shared publicly, I have ran cron manually, I have disabled my firewall but I still get this message when I Debug:-
* Fetching feed from http://www.google.com/calendar/render?hl=en&tab=wc
* Warning: Failed to load XML
http://bedshumanists.eu5.org/drupal
calendar: bedshumanists@gmail.com
Comment #9
aidanlis CreditAttribution: aidanlis commentedThat's not a valid URL to fetch anything from, have you set your calendar ids in the settings page?
Comment #10
John R CreditAttribution: John R commentedYes, I think so, (Calendar ID: bedshumanists@gmail.com). Please tell me if there is anything else I should be checking. The calendar is set to Public and I have events set up for every Wednesday. I get exactly the same error from the 'Example agenda'.
# Found following calendars:
# Array
(
[0] => drupalagenda@gmail.com
)
# Fetching feed from http://www.google.com/calendar/render?hl=en&tab=wc
# Warning: Failed to load XML
Comment #11
aidanlis CreditAttribution: aidanlis commentedHi,
I really can't imagine what is going on. This is what I see with your calendar ID:
# Found following calendars:
#
Array
(
[0] => bedshumanists@gmail.com
)
# Fetching feed from http://www.google.com/calendar/feeds/bedshumanists%40gmail.com/public/fu...
# Loaded XML successfully
# Found 0 events
# Warning: Nothing to do with empty calendar, stopping!
Are you using the latest stable version of Agenda? Can you delete and uninstall the module, remove the files, make sure Agenda is not in the module list, then install the latest stable version and try again?
Comment #12
John R CreditAttribution: John R commentedHi Aidanlis,
Yes I was using the correct stable version 6.x-1.7 and I did remove the files as you suggested. Once I re-installed them everything started working properly. Thanks. I had a little problem with the date being one day early when I was logged in, but correct when I logged out. After reading the other thread regarding this error I disabled the user-configurable time zones in Date and time settings and all is well. Thanks again for your help.
John
Comment #14
ussy_moha CreditAttribution: ussy_moha commentedPlease i am a beginner learning Drupal with Lynda Drupal 7Essential Training course by Tom Giller and my exercise practice now wont start as it's saying "Failed to load XML Document" once i click on the AcquiaDevDesktop2 program to run.
Please i seriously need you guys help....!!!