Forums

[Plugin: Google Calendar Feed Parser] Big errors on install (6 posts)

  1. digigirl
    Member
    Posted 2 years ago #

    I installed this, apparently without problem, linked up my calendar and placed it in a widget using the Sniplets plugin. And got these errors (see below). I have no idea what this is about. Any suggestions?

    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /home/codename/public_html/wp-content/plugins/google-calendar-feed-parser/gcalparse.php on line 104

    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Unknown projection:full&max-results=10 in /home/codename/public_html/wp-content/plugins/google-calendar-feed-parser/gcalparse.php on line 104

    Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/codename/public_html/wp-content/plugins/google-calendar-feed-parser/gcalparse.php on line 104

    Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/codename/public_html/wp-content/plugins/google-calendar-feed-parser/gcalparse.php:104 Stack trace: #0 /home/codename/public_html/wp-content/plugins/google-calendar-feed-parser/gcalparse.php(104): SimpleXMLElement->__construct('Unknown project...') #1 /home/codename/public_html/wp-content/plugins/sniplets/modules/execute.php(10) : eval()'d code(1): gcal_parse_feed() #2 /home/codename/public_html/wp-content/plugins/sniplets/modules/execute.php(10): eval() #3 /home/codename/public_html/wp-content/plugins/sniplets/model/sniplets_class.php(331): include('/home/codename/...') #4 /home/codename/public_html/wp-content/plugins/sniplets/sniplets.php(557): Snip->process(NULL, '') #5 /home/codename/public_html/wp-content/plugins/sniplets/sniplets.php(655): Sniplets->get_display(Array, 'manual') #6 /home/codename/public_html/wp-includes/plugin.php(339): Sniplets->the_sniplet('Events') #7 /home/codename/public_html/wp-content/plugins/s in /home/codename/public_html/wp-content/plugins/google-calendar-feed-parser/gcalparse.php on line 104


  2. Member
    Posted 2 years ago #

    Same problem here!

  3. ianadams
    Member
    Posted 2 years ago #

    Same here

  4. datapharmer
    Member
    Posted 2 years ago #

    This is a bug that is only showing up because google calendars is not working - the feed is down and so it can't parse the xml file. The author needs to add error handling for this sort of situation, but everything should go back to normal once google gets calendar feeds back up and running again.

  5. digigirl
    Member
    Posted 2 years ago #

    Google Calendars working fine and still have the same errors.

  6. williw
    Member
    Posted 2 years ago #

    Hey digigirl

    I had the same problem but figured out how to solve that.

    When you get the XML-URL from Google so you have at the end of the url .../public/basic
    you have to replace /basic with this .../public/full?orderby=starttime&sortorder=ascending&futureevents=true&singleevents=true

    and everthing will work fine

    More details you find at:

    http://jmbennett.org/2008/06/21/google-calendar-feed-parser/

Topic Closed

This topic has been closed to new replies.

About this Topic