Troubleshooting

A common ‘new’ users problem

… is that the shortcode has not been entered correctly. You can use either http or webcal, however it must just be the url, not a hyperlink markup, no carriage returns, no colons ‘:’ in front (old filter use of plugin), no other text unless it is a parameter such as days=60.

Right and wrong

Right and wrong - can be http or webcal

Check:

  • versions: wordpress, php and the plugin
  • ical url
    • is the ical file accessible when you are not logged in to it  – try pasting it into your browser url line (public, not private) ?
    • do you have the full url (not a relative one)?
  • shortcode
    • check it is not been converted into a hyperlink when you pasted it into the shortcode
    • check that the page shortcode is correct for latest version (no “:”)
  • calendar page
    • check the settings for list type 1 if you have not specified a listtype.  Check how many days and how many events you have requested.  the more days you ask for, the more work the plugin  has to do, however if you say 30 days and 5 events, if the first event is more than 30 days in the future, then no events will show.  So choose a days setting that will be suitable for you.
  • widget
    • check which listtype you are using and check it’s settings (default is listtype 4)
    • you may have specified 5 events in the widget, however to avoid recurring events causing a lot of unnecessary work, it is also necessary to constrain the number of days – the default is 30. So choose a days setting that will be suitable for you.

Some debugging techniques

  • try different calendars, for example take one of the working ones from the examples, so we can tell whether it is a calendar problem or a plugin problem
  • play with the url parameters  http://icalevents.anmari.com/calendar/ This will tell you if it is your implementation, or perhaps a plugin problem.
  • try adding ?debug or &debug to the page url – it may be hard to follow, but perhaps you will see something that indicates the problem

It’s not working – check the shortcode!

Right and wrong

Right and wrong

  1. Did you enter the shortcode  in the HTML view of the page editor?   Click to the html view and remove any superfluous html markup eg: any hyperlink text.
  2. Do you have any spaces or line breaks or any other strange characters?   Remove them, make sure it is a clean url in one line.
  3. If it still does not work, try copying the file down to your local server and point the ical spec to that local file.

The Widget looks awful

  • You  need a suitably lean format for the widget.  The listype 4 and default css usually look fine.   If you cut your listypes down to 1,  you will have to tailor the 1 listype suitably, as per 4.   If you reload the listypes back up to the default 6, you make have to “Reset” to get the default settings back, otherwise it creates 6 versions of the 1.
  • Depending on what your theme does, you may need to adjust either the theme css or the ica l css.

It works on the test files, but not on my google calendar

  1. Which google url are you using?  Is it definitely the .ics file?  Private or public?  Logoff google and check whether you can still access the url as another person not logged in.
  2. Try using a public google calendar like a public holiday file.

How do I get it to show updated events (ie: override the cache)?

There are a number of ways to refresh or clear the cache:

  • on a normal calendar page at the bottom left there is a refresh icon, click – page will reload with nocache for all calendars
  • for either a calendar page or a widgets add either ?nocache=true or &nocache=true to page url and reload/refresh page
  • delete the cache file from cache directory…..YourUrl\wp-content\ical-events-cache

Once or twice there has been a delay in the ical generator providing an updated ics file, even though you can see the update.  To check if this is the case, download the ics file and open it in notepad.  Check if your update is in the file.  Then refresh the cache again.

Note: Widgets need to be as low on content as possible as they often load on many pages so I am loath to add the refresh icon to the widget – prefer to keep it ‘lean’.   However you can add it yourself in the settings, or add the nocache to the query line.

My events are not showing up correctly

If an event is showing up correctly in your calendar application (iCal, Google Calendar) but not on your blog, check

  • the timezone of your wordpress installation, and what timezone the plugin thinks it is in.
  • which events are wrong in what sense
    • are they individual or recurring
    • how were the dates specified – floating? with a timezone?  or universal etc

The default css looks funny

Yes well, this may be the interaction between your theme’s css and  the ical plugin.  we have overcome many difficulties with interactions.

Specificity was hard as we could not used “ids” in case people wanted multiple calendars on one page. I think I managed to get over much of that with some repetitive definitions.  I did not want the css to be cumbersome though, and did want it to inherit style as much as possible so that it would look like it belonged with the rest of your web.   In many themes, this worked quite well.

Getting Support

If you do log a support comment, please

  • try to debug yourself first
  • bear in mind, support is not mandatory and contributions help
  • the more information you provide, the easier and faster you can be helped and sometimes you see the problem when you are looking at the info!) so please tell note:
  • the ics url of your calendar file (Make sure it is public so i can see your file, or send me the file)
  • the timezone of your wordpress installation
  • which events are wrong and in what sense you think they are wrong – also whether they are individual or recurring
  • the wordpress version you are using
  • the ical events version
Share or Save:
  • RSS
  • del.icio.us
  • Twitter
  • Digg
  • Slashdot
  • Technorati
  • Google Bookmarks
  • StumbleUpon
  • Facebook

100 Responses to Troubleshooting

  1. shuckster says:

    Thanks for the great plugin!

    However, I cannot use it with WP Super Cache: The WP Admin pages go blank when both plugins are enabled.

    • anmari says:

      Hi shuckster,

      I quickly loaded up latest versions of both plugins on one of my test sites http://anmari.com/wp/calendar-test/ and cannot recreate the problem. (On this page, you can see in the footer that super cache is running) I have tried all sorts of Super cache settings, deactivated and reactivated both in different sequences and my admin pages are still there. I tend to think therefore that it must be something else or some other interaction on your server? I also have the two plugins running on my localhost without problem.

      I then googled super cache a bit, and “admin blank pages”. http://delicious.com/anmari/wpsupercache and http://www.google.com.au/search?q=wordpress+admin+blank+page

      Blank admin pages are not unheard of apparently with Supercache – number of suggestions in the links above. Blank admin pages also occur for other reasons. One of the common reasons is that a blank line has crept in to a file somewhere. (One person had this when they edit their wp-config.php). Have you edited any file anywhere?

      As well as the suggestions in the links above, you could try deleting both plugins and re-installing them – maybe the files got corrupted somehow?

      The plugin does not do anything unusual – the most it does is cache the ical file (but only when you add the ical shortcode), so would not affect activation

      If you want me to have a look for myself on your site, I’d be happy to (email me at anmari@anmari.com). Else If/when you resolve this, I’d appreciate if you would let me know what it was.. thanks

  2. sst says:

    Thank you sincerely for the plugin. I’m running to the same problem with the most recent release (2.9.3) that you addressed in release (2.6.12).

    Warning: date_modify() [function.date-modify]: Failed to parse time string…

    My version of PHP is 5.2.13.

    Is there an easy fix for this. Thanks again. I really do love this plugin.

  3. SebK says:

    Greetings!
    First, let me say that this is an amazing plugin! I did a test installation with a Google Calendar feed and got to say that your plugin works best!
    Nontheless, I’m having a problem with the feed I’m actually trying to grab and can’t seem to resolve the problem myself. It’s a feed generated by our Open Exchange server and as far as I can see, it matches the RFC2445 standard. The error I’m getting (on both, widget and embed code):
    Invalid Ical URL
    The ics file: http://mail.piratenpartei-nrw.de/test/public.ics

    I’m using the latest version of WordPress and your plugin. The debug mode (http://www.piraten.teeest.de/piraten-in-duesseldorf/ics-kalender/?debug) did only return one error message:
    No timezone string found.
    But is that the reason? The parameters X-WR-TIMEZONE and X-WR-CALNAME are missing in the feed, but I don’t know enough about the standard to say wether that is obligatory or not.

    Hope you can give me a hint here :)

  4. geminorum says:

    A feed for the events might be great!

  5. JonnyPioww says:

    Hi,

    Firstly, thanks for an excellent plugin. Secondly, thanks for saving me a lot of time and trouble. Thirdly, is there a way to fudge the event URL field? What I mean is that I would like the link of the event to go to a related post, if there is one, which I would like to specify somehow from Google Calendar. I was wondering if there could be an option for parsing the description field for a [url http://www.myurl.com/mypost/ entry or something similar. Before getting my hands dirty changing your code (I would prefer to keep up to date properly) I thought I’d check if you have any allowance for this.

    Thanks very much! JP

  6. Jillian says:

    Hi – thanks for the great plugin! One quick question that I can’t seem to find anywhere on the site – Is there a way to make the event listings not link to anything?

    I noticed in your showcase: http://www.tenburyteam.org.uk/ and I liked how there are no links, just normal text, in their widget.

    Essentially, I’m looking to get rid of the dummy anchor link leading to “#no-url-available”.

    Any help would be appreciated! Thank you!

    • anmari says:

      Hi Jillian,

      Yes there are quiet a lot of things that can affect that area, whether there are urls or not etc. Looking at the code, it looks like there is no way from a config point of way. You could as a short term thing, edit line 23 of amr-upcoming-events-widget.php – take the w out

      $amrW = '';

      That link and the hover text on the link are only there for the widget. which is what the “w” is flagging.

      I can see that it may be nice to have a clean widget too if one does not have much more info to add to the event, so will think about how to allow both options without making things too complex.

      I don’t like advising people to edit plugins as it makes it harder to do updates, and there is another one coming soon. I will try to include this possibility in the next update.

      I guess tenbury may have done this. Or possibly if there is a widget plugin that lets you do a shortcode in a widget, you could do it that way too. (My plugin would not know it is running in a widget then!)

  7. Kevin Rowe says:

    Hi, I am loving your plugin (Although I can’t get the widget to look exactly how I want). The full page list of events is exactly what I’ve been looking for.

    However, I do have one problem which I would imagine is either something I am getting wrong in the settings or something in my calendar.

    Above my list of events (or indeed my widget) I get…

    Negative day -1 not yet supported

    Can you shine some light on this please?

    http://rowes-enterprises.org/re/?page_id=208

    Any help would be much appreciated.
    Many Thanks
    Kev

    • anmari says:

      Hi Kevin,

      Yes, it looks like you have Halloween set up as last day of october. RRULE:FREQ=YEARLY;BYMONTH=10;BYMONTHDAY=-1

      Which is fine, except that I have not yet implemented negative monthdays. (only negative weekdays, eg last sunday etc. So the dates in the ics file with you have with BYDAY=-1MO will be fine ) .

      See http://icalevents.anmari.com/1957-ical-specifications/.

      If you change it to 31 October for now the message will go away.

      I hope to have aspect added soon but am trying to finish a custom post plugin for events that will integrate with this plugin so that one can maintain the events within wordpress as well as using external files for a one stop solution.

      Re: widget – what style are you trying to do that you cannot? I like to do things generically with the aim of enabling flexibility, so would love to know what you are trying for. Also had tried to set things up so that the plugin would pick up theme styling mostly.

      By the way. Did you know you can include multiple calendars in the shortcode or widget so rather than you having to maintain things like UK holidays, you could use a publicly available one like
      http://www.google.com/calendar/ical/en.uk%23holiday%40group.v.calendar.google.com/public/basic.ics

      • Kevin Rowe says:

        Hi, thank you so much for your response. I knew it was something my end but I couldn’t tell what.

        The widget is not turning out quite nicely probably because of the theme, I am using a Rocket Theme. It just comes up with bars and different colours (again it’s the style of the widgets – it doesn’t really show well in any of the four light, dark, colour, promo).

        The widget is clearly excellent but can’t expect it to go well with every template out there. No where near a deal breaker for my use of the plugin.

        Thanks again, hope the errors I am getting since the update today are not my user error (probably though :( ).

        Kev

        • anmari says:

          Hi kevin 2.9.1 has just gone up with those debug statements moved to only appear in debug mode. Note that “Halloween” was causing the messages – the negative bymonthday. Now negative bymonthdays will simply not be listed at all, with no error unless &debug requested on the page.

          RE: styling.
          You know you can
          1) switch off the default css provided and just let the theme css do it’s bit – typically some work may be required (which is why there is a default css – it attempts to sort out the common issues)
          2) use a custom css ? (copy it, edit it, and select it in the plugin settings

          That said, I have scaled the default css back as it was originally intended only to offer a reasonable default and let the themes css drive most of the styling. So the borders around “today” events are gone and the alt styling.

  8. Matt says:

    Hello and thank you for contributing this valuable plugin. The time and energy spent shows it its quality and versatility. It’s clear you offer great support as well and for that you have my high commendations. I’m new to WordPress and it’s resources like this that are making the experience a good one.

    I’ve got just one issue you may be able to address. I am developing my first site locally. Everything works fine when the calendar is up to date. When access to the ics source is unavailable, a message appears to the effect of “Warning; Events may be out of date.” It is surrounded by a link which does not appear to have a closing tag. Consequently, all content on the page below that point is treated as part of a linked item. Its not a huge issue since its unlikely to occur once my site goes live, but I wanted to bring it to your attention in case you could reproduce or fix it.

    • anmari says:

      Dear Matt, Thank you for your kind words and for letting me know. I do try to have everything completely validated but in this case, clearly did not do a validation on the “unaccessible ics file” situation.
      Two code changes required in amr-import-ical.php:
      line 104 (cached) and line 108 (uncached): before the final semi-colon add .'</a>'

      The link is a pseudo link to use the title to provide additional info on date and time last cached.

      The changes will be in the next version update which should be about a week’s time.

      By the way – it is fine in wp 3.0. I have been running in the beta version for a while and this site is now running 3.0 too.

  9. Cas says:

    I am getting the following:
    Error creating cache directory /conventionsetc.info/wp-content/uploads/ical-events-cache.

    This just started out of the blue and is a problem on the two blogs that I use the widget on. Everything was working fine and I have had this widget running for over a year on both blogs. I have changed nothing on the blog or the settings in the widget, nor did I make any adjustments to cause this to happen. My host is DreamHost.

    Is anyone else having this error? Any ideas on how to fix this?

    I have not changed the permissions on my files or folders on my server and I don’t think that is the issue as everything was working fine before. This has just started recently.

    • admin says:

      Hi Cas,
      The cache directory is made up of your wordpress constant ABSPATH , and your ‘upload_path’ as specified in your wordpress settings. If you changed any of those, it would probably be trying to create in a new place (since the cache directory would not exist) , and if the permissions there were not correct, it would fail with that messaqe.

      Another possibility is that you jave php safemode enabled. The plugin uses wordpress function wp_mkdir_p which used to have a problem when safe mode was enabled.

      See http://core.trac.wordpress.org/ticket/8830 and
      http://wordpress.org/support/topic/302836

      Anyway it looks like you solved it ? , since I see it here http://www.conventionsetc.info/wp-content/uploads/. Please let us know what you did in case others have the same problem.

      Aside:

      I wish wordpress would put a dummy index.php in the uploads folders too, like they do at the higher level, so that these directories don’t display. I keep forgetting to add it in myself!

  10. Hi admin,

    Is it possible to define a CSS file per listtype? I can see it is not an option in the admin, but wondered if it was possible via a parameter in the Shortcode?

    Alec

    • admin says:

      Hi Alec,
      No, not possible that way – problem is that stylesheets need to be issued at a different time from when the plugin shortcode script is called. Some plugins get around this by having you go back to the config and saying what pages the plugin needs to issue the css on, but for various reasons I decided this was too cumbersome, especially if needing to allow for many different calendars. I may add a way to specify a unqiue id for a calendar list, so that one can have special styling for that in the main css file.

      Some ways to style various calendars differently for now would be:
      a) add a div id=”someuniqueid” … /div around the shortcode and then add the unique styling into the main css file.
      b) if your theme issues ids for pages in the html and your calendars are on pages, use the page id as a selector to define special css for just that page.
      c) if it is maybe just a field that you wish to style separately, add some html in the before/after fields in the config
      d) If you have multiple calendars on one page, the plugin will issue each one with it’s own id’s eg: calprop0 for the calendar info and compprop0 for the components, then calprop1 etc…..

      Hope that helps

      • Hi Admin,

        As usual very helpful.

        I will try out a few of your options and see which I can get to work the easiest, possibly a) as I need to change the style of the whole table layout.

        Alec

  11. I’m really sorry to bother you again but in your previous post you wrote:

    Your ics file works on my website with either timezone:
    http://icalevents.anmari.com/calendar/?ics=http://icalx.com/public/BADISCHBRAUHAUS/BADISCHBRAUHAUS.ics&tz=Europe/Berlin
    and
    http://icalevents.anmari.com/calendar/?ics=http://icalx.com/public/BADISCHBRAUHAUS/BADISCHBRAUHAUS.ics&tz=ETC/GMT-1
    I am running
    Plugin Version is: 2.6.12
    Php Version is: 5.2.12

    I didn’t check the URLs since the plugin seemed to work after downgrading to 2.6.11
    but soon after installing I noticed that SOME of the START TIMES don’t match. Not all of them but most of them don’t match.

    Both sites (www.allvitalis-cocktailbar.de, http://www.badisch-brauhaus.de) are running the same timezone.

    Is it the calendar file?

    • admin says:

      Hi Tobias,
      Your sites are not running exactly the same timezones as far as wordpress is concerned……..If you run your calendar pages with the debug parameter (added Because the dates and timezones and different ics files can make problem solving remotely very difficult!!) you will see (look at the top left of the page) ….

      http://allvitalis-cocktailbar.de/veranstaltungen/?debug or ?tzdebug tells me:

      No timezone string found.
      Found gmt offset in wordpress options:3

      The default php timezone is set to:Europe/Moscow

      http://badisch-brauhaus.de/veranstaltungen/?debug says:

      Found tz string:Europe/Berlin
      The default php timezone is set to:Europe/Berlin

      Before wordpress had decent timezone setting, it used to just have gmt offset (which meant that any site in a daylight saving area had the wrong time half of the time!!). So one site has a gmt offset and the other has a proper timezone setting.

      To get the calendars both showing Berlin Time, either
      1) put tz=Europe/Berlin in the shortcode ie: [iCal url tz=Europe/Berlin], or
      2) change the wordpress admin > settings> general … set the timezone to Europe/Berlin

      A version 2.7.1 will be going up soon – I know you had problems with one of your sites just not handling the later versions of plugin, however I’d suggest trying 2.7.1 as there were a few bugs before – see the changelog, so it would be better if we could figure out why that site had problems and get it onto the latest version.

      There is about a 2 hour time difference I think between Berlin and Moscow?

      • Hi there!

        I changed the timezone manually to get roughly the same time. When both timezones are set to Berlin, allvitalis-cocktailbar.de is 2hours behind, at least with SOME events, not all…

        I changed it back now for you to see for yourself.

        Another strange thing is that when I change it back to timezone Berlin which is UTC+2 (I had it switched to UTC+3, Moscow) the event start times switch back 2!! hours instead of just one.
        The events on May 22nd and 26th are off 1 hour, the events on May 23rd are off 2 hours.

        works: http://badisch-brauhaus.de/veranstaltungen/
        doesn’t work: http://allvitalis-cocktailbar.de/veranstaltungen/

        I also tried 2.7.1 today and I had the same problems with it…

        That’s just sad since I really appreciate your plugin.

        Thanks so much for your help!

        • admin says:

          Tobias,

          I just spotted that using ?tzdebug, your php installs give different answers for creating the same datetime object in UTC and then shifting to Europe/Berlin.

          Allvialis for the first DTSTART in the calendar file :

          Got date spec 20100210T190000Z
          Create date as 20100210 190000 in UTC
          Shift to tz: Europe/Berlin giving 20100210 190000

          while Badish says

          Got date spec 20100210T190000Z
          Create date as 20100210 190000 in UTC
          Shift to tz: Europe/Berlin giving 20100210 200000

          The code literally just creates a datetime object in UTC time and then uses the PHP set timezone call to shift it to Berlin. So the PHP setTimezone call is returning different values. So It looks like your problem lies with the timezone definitions being different on your servers. Php uses what’s called the Olson database. There are “versions” of this becuase sometimes timezone rules change particularly daylight saving changes.

          It seems Berlin in particular has had some timezone definition problems. (although looks like not just berlin that is different on the 2 servers- see below – prague also wrong?).
          See:
          http://en.wikipedia.org/wiki/Tz_database#Issues
          and http://blog.gmane.org/gmane.comp.time.tz/month=20080201 (2nd entry)

          So, you’d need to get the host with the incorrect one to update their php timezone data base.

          As a possible quick fix – if you could find a php timezone that is supposed to be same as Berlin (same time and daylight saving) http://www.php.net/manual/en/timezones.europe.php that is doing the right thing on your “bad” host, you could use that in the shortcode. I tried Prague but that also gives different answers – maybe it is ot just berlin that is wrong. EG: tz=UTC works now, but will be wrong when deaylight saving changes again?

          PLEASE NOTE:

          There is a bug on the plugin earlier versions that affected recurring events that recurred over a daylight saving change – which is why I am keen that you should upgrade to 2.7.1 if possible once you get your host php problem sorted out.

          By the way: Moscow and Berlin are apparently currently 2 hours different, which would explain the 2 hour change. See http://www.travelmath.com/time-difference/from/Moscow,+Russia/to/Berlin,+Germany – maybe one has daylight saving? (GMT offset and timezones do not match equally if there is daylight saving changes – the gmt offset does not change, while the timezone does.

  12. James says:

    I am having problems with duplicate events.

    Please see http://www.google.com/calendar/ical/eholfk02qcfjs33cc7qtc4fs60%40group.calendar.google.com/public/basic.ics

    I have a series which is repeated every Thursday. Then I have modified every other week as different events occur. For some reason the events are duplicated in the plugin although not in google calendar or outlook.

    An example would be…

    * June 3, 2010
    * 6:00 pm
    * 9:00 pm
    * AGM

    * June 3, 2010
    * 7:00 pm
    * 10:00 pm
    * Natter Night

    The times look like they have been confused too.

    Any idea what could be wrong?

    • admin says:

      Hi James,

      I cannot get the problem to occur on the plugin site – see http://icalevents.anmari.com/2231-testing-swindon-amateur-radio-club-programme/ – does that look right?

      On my local windows server, I do get a difference if I don’t specify the timezone .

      Put tz=Europe/London in your shortcode and let me know if that fixes it.

      If it does, then it maybe somewhere in the code it is using the servers default timezone instead of the timezone from the ical file. Your server may have a gmt offset for summer, or still be on non daylight saving, so creating a date object with that instead of with Europe/London, would result in a different time. That might explain why you got a duplicate – if the times were different then the modified instance would not match the original recurring instance and so both might show. I’ll look through the code to see if I can find it, as that would definitely be a bug.

    • admin says:

      Hi james – me again,
      I have had a look at the code with your file and found the cause. Most likely either your wordpress timezone or php timezone was set to a GMT offset rather than a Europe/London. This would cause a difference to your ics file.

      The plugin was parsing ics file dates and converting them to the destination timezone and then generating the repeating entries. The correct thing to do is first generate the recurring entries, then convert to the destination timezone.

      Because the plugin allows for multiple ics files that may have multiple timezones (and indeed each event can be in a different timezone), it needs an external factor to decide the ultimate display timezone, so either a wordpress timezone or a timezone in the shortcode.

      I have fixed the code, but am not going to rush to put up another version as this should be fixed by specifying the timezone in the shortcode or by changing your wordpress timezone to Europe/London. Also it only affects people who

      • do not specify the timezone in the shortcode AND
      • whose system is on a different timezone than the ics file they are loading AND
      • there is a daylight saving change over the display period in one of the timezones

      I have a few other improvements on the way to the plugin, so will put the change up with the next release.

      Please do let me know if specifying the timezone in the shortcode does not sort it out.

      • James says:

        Hi.

        Your suggestion to add tz=Europe/London worked perfectly. Thank you for the quick support!

        I look forward to seeing what goodies you add in the future.

        James

  13. Hi there, it’s me again :-)

    Since updating to Version 2.6.12 the calender-plugin doesn’t work anymore.

    The whole page looks like this: http://allvitalis-cocktailbar.de/veranstaltungen/

    Strangely it works here: http://badisch-brauhaus.de/veranstaltungen/ and its the same calender.

    Any suggestions?

    Thanks so much!

    Tobias

    • PS: The widget doesn’t work either anymore…

    • admin says:

      Hi Tobias, I have had a quick look and am a bit perplexed.

      running with the debug parameter (?debug) ,
      the working site is php version 5.2.11 and plugin version 2.6.11 (not 12) and tz=Europe/Berlin
      the ‘not working’ one is php 5.2.6 (earlier) and plugin 2.6.12 and tz=ETC/GMT-1.

      The “not working” site if you follow the debug statements
      1) has a problem recreating enddates for repeated events. Looking at the ics file, many events seem to have start, but no end and no duration, which is unusual, but the plugin should cope with it, and indeed appears to on other sites. I tried creating a zero time event with my one single event calendar , in google. Google still issues a DTEND (same as DTSTART). The ical spec does not seem to require it though.
      2) the plugin eventually just “dies” at some point. This is why there is no output at all unless one asks for debug statements.

      Your ics file works on my website with either timezone:
      http://icalevents.anmari.com/calendar/?ics=http://icalx.com/public/BADISCHBRAUHAUS/BADISCHBRAUHAUS.ics&tz=Europe/Berlin
      and
      http://icalevents.anmari.com/calendar/?ics=http://icalx.com/public/BADISCHBRAUHAUS/BADISCHBRAUHAUS.ics&tz=ETC/GMT-1
      I am running
      Plugin Version is: 2.6.12
      Php Version is: 5.2.12

      It also works on my local host running latest unreleased plugin update
      Plugin Version is: 2.7
      Php Version is: 5.2.5 (earlier than your php version, so the php version cannot be the problem, although I have heard that there are varying implementations of the DATETIME class in php..?

      It cannot be the zero time events though, as they work elsewhere. Also On your non working site, any ics file other than yours, dies after parsing the file.
      If I run a test calendar (with one single event), and “debug”, it dies right after parsing, before getting anywhere.
      http://allvitalis-cocktailbar.de/veranstaltungen/?debug&ics=http://www.google.com/calendar/ical/b8s4bjv36ri6p70pnlo55qfre8%40group.calendar.google.com/public/basic.ics

      Whereas your calendar actually at least starts doing further calcs after parsing.

      So there is something “different” about that server, or perhaps the code is corrupted? Have you tried deleting the plugin entirely and then reloading ? The change from 2.6.11 to 2.6.12 was fairly minor, so hard to believe that that was the only thing that has changed. You could try going back to that version,but I don’t see why that would be it. Older versions available here: http://wordpress.org/extend/plugins/amr-ical-events-list/download/

      I am putting another update up soon, and will check the logic on zero timed events before I do, but as I said, it appears that it is rather unique something about that setup that does not play nicely with the datetime functions, if that and otherfiles that work elsewhere don’t work there.

      Sorry that’s about all I can think of for now.

  14. admin says:

    Alec,
    Also please check that what you are seeing is the latest ics file. If you have just made a modification and the ics file is still cached, you will not see the update. See for refreshing http://icalevents.anmari.com/1814-refresh-calendar-if-new-dates-not-showing/

    To make matters worse, there does sometime seem to be a delay in Google updating the ics file, so actually look at the detail of the ics file (or wait a few hours!).

    I am working on an ability to create events in wordpress (using new custom post type in 3.0) and create ics file and/or pass to the list plugin because of these issues.

  15. Lloy Stevens says:

    The following broke my feed. How did line 9 get there and how do I remove it? Thanx….Lloy

    Sorry

    This feed does not validate.

    line 9, column 2: Unexpected Text [help]

    >\n<?xml-stylesheet type="text/css" href="http://www.victorybaptistpocono.c …
    ^
    line 9, column 4: XML parsing error: :9:4: unclosed token [help]

    >\n<?xml-stylesheet type="text/css" href="http://www.victorybaptistpocono.c …
    ^
    Source: http://www.victorybaptistpocono.com/?feed=podcast

    \nxmlns:itunes=”http://www.itunes.com/dtds/podcast-1.0.dtd”

    • Lloy Stevens says:

      for some reason line in question did not paste right, here it is

      >\nxmlns:itunes=”http://www.itunes.com/dtds/podcast-1.0.dtd”

      Here is the error message from feed validator

      line 9, column 2: Unexpected Text [help]

      >\n<?xml-stylesheet type="text/css" href="http://www.victorybaptistpocono.c …
      ^
      line 9, column 4: XML parsing error: :9:4: unclosed token [help]

      >\n<?xml-stylesheet type="text/css" href="http://www.victorybaptistpocono.c …
      ^

      • admin says:

        Hi Lloy, my comments above still apply. I have looked at your feed directly myself.

        Does the feed work in the default theme with a default feed with my plugin enabled?
        Are you using a feed plugin? which one?
        Does this feed validate without the ical events plugin?

    • admin says:

      Hi Lloy,

      I suspects it is not my plugin causing it – (although happy to be educated otherwise):

      it does not break my feed here http://icalevents.anmari.com/feed

      the style sheet is being included using standard wordpress functions wp register style and wp enqueue style

      It looks like the ‘/n’ is causing the problem. This does not appear in normal non feed pages before the inclusion of the stylesheet, so probably not my plugin.

      It looks to me like the code that produces the feed is attempting to include these styles and not doing so correctly. Is it a plugin that you are using to do the feed? What happen if default feed and default theme?
      Does the problem go away if icalevents is deactivated? This may not mean that it is the plugin causing it, but possibly that an additional style sheet is the problem in the feed.

      Possible ways around if you cannot fix the feed code:

      Don’t use the ical events css – include the necessary css in your theme – deactivate css in teh plugin settings

      Don’t know whether rss feeds have a “media type” (a quick google did not show anything). the stylesheet is currently being registered for “all” media. I suspect that this is not relevant though to rss feeds.

      Let me know how you go, one always learns something!

      • Lloy Stevens says:

        I am using podpress. the feed is working now, but I had to disable the amr-ical plugin. every time i activate it, it throws that line in and breaks the feed. I had be using your plugin for a couple of months. the problem occurred some time last week. I will try to deactivate the ical events css. Thanx for your help

      • RonB says:

        Hi there … ran into the same problem as Lloyd — I disabled your plug-in and now my feed works correctly.

        I suggest you double check your code — after the stylesheet include there is an extra “>” and that could be the whole problem.

        • admin says:

          RonB and Lloy,
          Apologies – you are both absolutely right – I was looking in the wrong place and had forgotten that I had explicitly added it to the feed a while back for another site that had the calendars in posts.

          Comment out line 1637 in amr-ical-events-list.php if you do not want the stylesheet in the feed.

          I’ll have a think what to do about that – maybe make it optional with default off as most sites will not want it in the feed. Hmm why was it not breaking my feed???

          • admin says:

            Hmm looking at it again and that code was all there for a reason – the only way I could get the stylesheet into the feed was to use the rss_ns ( namespace ) action, and to get that to work I had to force close the previous “token”. It worked in google reader. However the W3 validator obviously did not like it.
            I Have tried the rss_head action, that sticks the stylesheet declaration lower lower down and the feed validator does not like that either. Would be helpful if anyone knows how to include a stylesheet in an rss feed in wordpress. Not sure whether the_content_rss would work.
            On the advice at the wp-hackers site, I ll try the wordpress filter the_content, and check is_feed before adding in the style sheet at the top. See if that works! Don’t like applying it all the time though, so will look at making it optional rather.

  16. anonymous says:

    Thanks so much for your great plugin. You’ve provided a great service to the community. I’m not the sharpest tool in the shed — my programming knowledge is limited to fooling with things until they maybe work. I have a question that I think has a very easy answer, I just don’t know what it is.

    I want to use your plugin with CSS on a page, in a streaming sidebar, and finally, included in posts. I’ve been going to select source on the page, and then cut and paste all of the entries (events during the upcoming week) into a post. The only problem is, when I use your plugin with CSS, it colors the background of all of the other posts on my blog. For example, the CSS I like alternates the backgroud of the items between gray and white. When I cut and paste the source code for the items that I’m interested in, it makes the rest of the posts on my blog alternate between gray and white.

    Is there some code I should cut and paste at the end of a post so the CSS is limited to that post and does not affect other posts. Any help you may be able to provide is sincerely appreciated. And thanks again for your wonderful plugin.

    • admin says:

      Hi anon,
      I am not sure that I have understood what it is you are trying to do and whether it is a good way to do it (it all sounds a bit dodgy?) However I gather that possibly

      1. the “alt” styling which used to be in one of the older css files for the plugin is probably kicking in and interfering with your themes css. The latest version of the icallist.css for the plugin attempts to limit the .alt styling to a .ical or .wical class, so if you are using the latest version of the plugin then the alt styling should not affect other posts and should not be a problem.
      2. You are hardcoding the html produced by the plugin into a post? why would you do this? – seems like manual effort every month? The only reason I can think for doing it is you want to keep the history of the events visible? If so why bother with the plugin at all? Why not just type the events in each time into the post?
      3. The html at http://www.exclusiverights.net/events/ looks awful. You appear to have switched off the css for the plugin but not replaced it with your own – the result is unpleasant. As noted above, if you have the latest icallist.css enabled it should be fine. At the very least, create a custom css (copy the icallist.css – make your own version, edit out the ‘alt’ line, and tell the plugin to use that file.
      • anonymous says:

        Thanks for the quick reply and the tip. I’ll fool with this until I can get it to work. For some reason, the only CSS option that is working now is icallist26.css, and that colors the other posts.

        I’m not certain what you mean by hardcode. I cut and paste a selection from my events page into a post every week. A majority of my readers follow the site on Google Reader or via email. I expect this trend to strengthen with the upcoming release of the ipad — I already get a sizable percentage from mobile users. Since only a relatively meager portion of my readers actually view the site in a web browser, I like to include a list of weekly events in posts to reach the full audience, in addition to the page that includes more distant events. I like your plugin because it allows me to keep the events page for items more than a week away, and it would be a bear trying to input all of the info by hand without the help of Google Calendar.

        Thanks again.

  17. Chris says:

    Thanks for the plug-in. It looks like it’ll work for my after having done some testing.

    Question:
    Is there a comprehensive list of shortcodes somewhere? I’ve looked through the included readme.txt, scoured the blog here, and searched on WordPress.org’s forums. I’ve gotten a little over a half-dozen as a result, but want to know what the full set looks like.

    Contribution:
    As an aside, the Arras Theme defaults to an almost black on black header row for tables when using this plugin. To compensate, make a copy of icallist.css and the color as follows on the “th” lines (sample below uses the navigation hover color in the theme) in the “Table Related Definitions” section of your copy of icallist.css. If you’re a CSS newbie, like me, note that you’ll need to remove the commas and add the braces.

    #calprop0 th {
    color: #fff;
    }
    #calprop0 td,
    #compprop0 th {
    color: #fff;
    }
    #compprop0 td { /* space the table elements out a bit */
    padding: 0.5em;
    text-align: left;
    }

    • admin says:

      Chris: Question Answer:
      No there does not appear to be a list of all shortcodes. Any plugin could choose to use a shortcode to implement whatever functionality it is aimed (or they could use a template of a filter ) etc. So you should start with the functionality you are looking for – find a plugin that meets it.

      Just in case you did not mean a list of all shortcodes, but rather a list of what you can use with the [iCal] shortcode – see the front page of the plugin site – scroll down.

      • Chris says:

        Thanks. Thats what I was looking for. It wasn’t clear if that was the complete list, but now I know that it is. Great plugin, btw.

  18. David says:

    What a great plugin – it is working well for google calendars and exports from Apple iCal but I’m receiving the following error when I try to apply the same setup to my Zimbra calendar:

    “SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
    Calendar file not found: https://zcs3.mail.uoguelph.ca/home/ovcweb/OVC_Events.ics
    Unable to load or cache ical calendar https://zcs3.mail.uoguelph.ca/home/ovcweb/OVC_Events.ics

    There is a security issue here, however, there is an additional issue that might be Zimbra’s fault – if I download the ics file and host it locally the widget displays nothing. If I import the ics file into Apple iCal and then export the file to ics it works.

    If you have any suggestions – thank you – if not I should be able to devise a work around using Apple iCal sharing features.

    Thanks again,
    -Dave.

    • admin says:

      Hi david,
      I guess you fixed the access problem as I had no problem accessing your link above. However I did find that thezcs3 ics file has a timezone identifier that is not one from the “olson database” which is what PHP uses.

      Ie it has

      TZID:(GMT-05.00) Eastern Time (US & Canada)

      instead of one of those listed here http://www.php.net/manual/en/timezones.php.

      In googling I thought I did see other ics files possibly issued by zimbra which has acceptable TZID’s (as in from the olson DB), so not sure whether this is something that is configurable. Programmatically I guess I could get the plugin to ignore the TZID in the ics file if it is not one recognised by PHP and take whatever TZ is inserted in the shortcode?

      • David says:

        Thank you for taking the time to explain it – oh why are their so many ‘standards’? At this time I think its best to find a work around :)

  19. David says:

    Hi,

    having strange problem with the plugin. Basically the default seems to be to show 30 day of events. But I want to show more. However the events that are over a month into the future seem to be showing an hour earlier then they are (i.e. events that start at 7.30pm show as 6.30pm), but the events within a month display the correct time. In the google calendar there correct.

    Code:
    [iCal webcal://www.google.com/calendar/ical/events%40somersetsocialistparty.org.uk/public/basic.ics start=20100101 days=100 events=10]

    Great plugin though overall dude!

    • admin says:

      David,

      It’s not a plugin bug, but arguably a google bug:

      UK daylight saving starts end of March does it not?
      Looking at the ics file those are not actually recurring dates with times. They are specific instances. In the file they are specified thus:

      The plugin then converts the UTC time to UK time and taking into account the daylight saving. Ideally the dates (especially if they were recurring) would have to have the timezone spec in the event date ( DTSTART;TZID=Europe/London:20100406T183000 )
      to make sure it stays at whatever o’clock you want it to be.

      Google calendar does not appear to allow one to do this. I actually tried a recurring event out in google to see what it would do and sadly it goes from a 6.30pm before end march to 5.30 at end march – not great! and with no way to specify the fixedness of the hour!

      Seems it is a known google problem.

      Since your dates are specific instances, you can fix them individually, or use another ical generator.
      (Stay tuned as I hope to have a wordpress one out in the not too distant future, saving events as posts.)

      • admin says:

        Me again – this is really weird – I went in a panic to our personal calendars (we also have daylight saving) – we use recurring events for many of our activities. I exported that ics file and it is fine – it does export the event date with the timezone id

        DTSTART;TZID=Australia/Sydney:20100315T100000

        It also appears fine in google unlike the quick test I did on a UK calendar. As far as I can see there are no other settings in google that would affect this.

        If anyone can explain this, please do!

  20. marcell says:

    Maybe you can answer one question more ;-) ???
    Is is possible to select spezial events? I would like to show special events on special pages like:

    Event-Page 01 (birthday)
    Event-Page 02 (business)

    It would be nice If I can show on page01 only the next birthday and on page02 only events for business. All events are in the same calender.

    How can I do this???

    Thanks for your really wunderfull support.

    • admin says:

      Easiest way for now is to use separate calendars – for example in our household we each have our own calendar, (even the dogs have their own!) and family anniversaries are in other and holidays schedules in another. Our school has their own one on google. We can the combine them all in one view or click them off individually as we please.

      In the plugin, you could combine the multiple on one page, and then still have them individually on other pages.

      Plugin does not currently offer a way to select some events, although that said the categories and classes in the ics file should be echoed as css tags on the events so if you really wanted to, you could do a display: none on the events that you don’t want.

      In my view though, it would make more sense to have separate calendars (not just for the plugin, but for life in general!)

      • marcell says:

        On the one hand you’re right that it is easy to use more than one calendar – but we need more than 20 categories. It is not useful to handle 20 calendars ;-)

        I had a look at the html.
        So my event -Testevent01- get the class=”Testevent01″ – thats right. And the location also get a class named by the location.

        I would like to show several pages. Every page has a own “categorie”. And I want to display to every categorie his onw event. So I have to seperate by CLASS directly in the page, is’nt it true ?
        And maybe I need one page where the user can see all events ;-)

        Hmm how can I do this?

        • admin says:

          Dear Marcell,

          it is possible to add a feature to the plugin whereby one could say, for example “category=x’ in the shortcode on a page and then get the plugin to only process those events that have that category.

          A feature like that would allow you to use the same ical file on each page, but only show the events from the selected category.

          I may have some time available to do this, but it would be for a fee, please email me directly at anmari@anmari.com

  21. marcell says:

    Another Question ;-)

    If i implement the [shortcode] in a post or page I can combine two or more calendars like [iCal http://url.de./calendar1.ics http://url.de./calendar2.ics listtype=2] it works finde.

    But how can I combine it in a widget?

  22. justdoproperty says:

    Hi,

    I’ve just stumbled upon this plugin after another one started failing on me.

    I am interested mainly as the Widget function as I use an iframe for the Google Calendar on a page. It looks great and does most fo what I want (without being picky).

    However I don’t seem to be able to get recurring events to display. In fact what is displaying are only recurring events that have a specific occurance modified, whereas recurring events that have not been modified for a specific occurance are not displayed.

    Any help on how to fix this? I notice there was a startoffset variable, but can not figure where to put this for the Widget!

    Alec

    • admin says:

      Alec,

      If you expect help, you need to provide more information. At the very least:
      1) the ics file in which you suspect the problem is occurring ( The problem may be in your ics file/s.)
      2) the unmodified recurring event in that file that should be displayed and is not.
      3) what settings ? many people do NOT read the documentation and make the common mistake of not realising that the default “days” to display setting is 30 and so if an event occurs/recurs more than 30 days in the future it will not show. If your events recur infrequently, you may wish to set days=100 say.

      Simple Recurring events (unmodified) are working fine on my end.
      EG: these recur annually (also google calendar) http://icalevents.anmari.com/2055-eccentric-holidays/
      these weekly: http://icalevents.anmari.com/1935-townfieldchurch/

      The widget is very simple and does not currently allow all the possibilities that the shortcode does – current version will always show future events only from the current date.

      • justdoproperty says:

        Hi,

        Don’t expect help, but it would be much appreciated.

        1) The ics file is ‘http://www.google.com/calendar/ical/alec%40justdoproperty.com/public/basic.ics’
        2) At time of responding there are three events displayed for Feb 22nd, however there are 5 in the calendar. ‘London – Property Networking Club’ and ‘Milton Keynes – Networking Pink’ are missing.
        3)Yep did try this and set the days to 500 just to check. They occur Monthly on the whole.

        On of those showing on Feb 22nd wasn’t until I made a modification to the occurance.

        What I have just noticed is that these (and other) missing events do appear once in October (via the shortcode on a page) then in April 2011, although they were setup in January.

        In fact ‘London – Property Networking Club’ has a start date of 25/1/2010 in Google (i.e. UK that is 25th January), but it appears to start on 25th October. Also a future event ‘Leicester Investors Curry Night’ is due on 25th Feb, has a start recurrance of 28/1/2010 and is displaying 28th October.

        I Appreciate it could be a setup issue in Google Calendar, but don’t know what I may have done wrong.

        Alec

        • admin says:

          Hi Alec, it is not you, I had a look at the ics file and I see the problem – it’s theplugin. You have a nice spread of recurrence types, some of which the plugin does not yet cater for – I’ll use this copy of the ics file for test data if I may? as I hope to get back to working on this area soon. The code is spec’ed, but not yet tested.

          Specifically it does not yet deal with numbered positive or negative BY’s. IE: it can cope with repeating every monday, but not repeating every 2nd monday, or every last monday. This has not been adequately highlighted in the documentation for which I apologise. It has come up in comments before. I have quickly updated a draft that I had been working on and published it, to make the situation clearer.

          You have a nice spread of these – a good set of examples:
          RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=-1MO
          RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=1TU
          RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=-1TU
          RRULE:FREQ=MONTHLY;INTERVAL=2;BYDAY=3TH
          RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=2TU
          RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=2WE

          The reason that the modifications “worked” is that the plugin does handle those. It generates all the repeats that it can and then applies the exclusions and the modifications. Since the modification is a single instance (no by’s to deal with), it adds it in, even if it could not . The question has come up before and people have managed to work around it for now.

          There may be something else going on there too but I do not have time now to dig into that, although I will keep a note for when I do. As noted above I do have the necessary code worked out, but have not had the time to implement and test it, but hopefully soon!

          So I am afraid that you will either have to work around it with single instances for now, or use another listing tool.

          • Ah that makes sense and many thanks for looking at it. It is a shame it doesn’t handle these now, but I look forward to an update when you have time.

            I’ll have to figure something else out as too complicated to re-work the calendar.

          • Hi Admin,

            I noticed there was a new release of the plugin and was VERY happy to see that it resolved the recurance problem from previous.

            The plugin is now installed and working and much appreciated.

            One thing I have found that does not quite work perfectely is that when you have your list of events, then today’s events (well actually just the first day as I have it offset by -1) actually show up the recurring details and not today’s details.

            Any ideas or help as to why?

            Alec

          • admin says:

            Hi Alec,

            I guess you mean that if you have modified a single instance within a recurring set, it is not showing those modified details but the original details? It used to work as I spent loads of time testing it! however dealing with the modifications is tricky as they can be presented in different ways by different ical generators, and it is possible that there is a situation I have not anticipated or that a bug has been introduced. If you point me to a specific ics file and a specific event/instance that does not do what you are expecting , I can look into it and test with that.
            I had a quick look at your property site but it is difficult to tell what might be the one you are referring to.

            PS The “view more events” link you have added at the bottom of the widget goes to
            http://www.justdoproperty.co.uk/education/events-diary/ which gives a 404.
            Looks like it should be
            http://www.justdoproperty.co.uk/education/events-calendar

          • Alec Hanson says:

            Hi,

            Thanks for the warning over the 404,my redirect plugin is obviously not working as expected.

            Also thanks for the quick response.

            The situation is:
            - Most events are recurring on a monthly basis at different points of the month.
            - Any event, but most normally the most current event (i.e. this month’s) has a modification to that single instance.
            - Yes it is these modifications that are not showing, but instead the original details (or the recurrence details as outlook terms them)

            Luckily this is very reproducible:
            - If the calendar is shown with no offset, then any modified event for today shows the original details.
            - Any events after today show the modified details
            - If I place an offset on the calendar of 1 day, then any modified event for yesterday shows the original details
            - Any event today or in the future show the modified details.

            So it seems like the 1st day displayed shows the original details, but furture days show the modified details.

            Indeed looking today, Saturday. With an offset of 1 day:
            - There are no events yesterday so none are shown
            - Future events, i.e. Monday show with the modified details.

            Removing the start offset gives the same result, as expected as no future events in the 1st day displayed.

            However putting a startoffset as +2, i.e. for Monday results in Monday’s events showing the original details and not the modified details.

            Off the cuff thoughts looks like it could be the 1st day displayed in the list is not displaying modified details – but that could be a bit simplistic.

            I hope this information is useful and helps!

            Alec

          • admin says:

            Thanks for taking the time to spell out. I’ll definitely look into , but probably not before tomorrow.

          • Not a problem and thanks for being so responsive – it’s great.

          • admin says:

            Alec, just to let you know I found the problem and fixed it, but since there are a number of other updates in the same version (admin screen etc) I need to some more testing before I put an update up.

          • OK that makes sense. If you envisage that taking a while and it is just a small code change I’m happy to amend awaiting the formal release.

            Eitherway, whatever you believe best for the plugin.

          • admin says:

            Alec – try version 2.7

          • Fantastic that is superb. Works very well and the quick turnaround is much appreciate.

            A potential enhancement request I have is:
            - all the images used should have the title as well as alt tags set. For me this is because I use “SEO Friendly Images” plugin which ensures all images have a title, so if one is not provided it makes one up and therefore is not descriptive.

            I have fixed this myself for my implementation.

  23. marcell says:

    Hi,

    Maybe it is only a small problem. Maybe not.
    How can manage it to show only the next upcoming event in the list and not all events on the day?

    Any idea?

    Is it enough to set the cache=true attribute, to kill the lest last expired element?

    Greetz

    marcell

    • admin says:

      Marcell,

      No, cacheing has nothing to do with the number of events.

      If you only want 1 event to show, set the number of events to 1…….

      Either as the main setting in the plugin settings page,
      or if using the widget in the widget settings, there is a number of events setting there
      or if using the shortcode and don’t want to change the main setting, you add parameters to the shortcode
      [ .... events=1]

      you can event just do it as a link as follows if it just a one off: http://www.tcgw.org/kalender/?events=1

      • marcell says:

        Hi,

        this link works finde ;-) thanks.- But we use a nother calender with more than one event a day – it is a schedule for our lessons. If I use /&events=1 the output is allways the first event on a day (Termin 1) and not the upcomming, the really next event. So if the clock says 14:00 the next event ist -Termin 3- but the outout is -Termin 1-

        Example.
        DAY:
        Termin 1 08:00 – 09:00
        Termin 2 12:00 – 13:00
        Termin 3 17:00 – 19:00

        • admin says:

          Please post the ics file link so I can test with your data.

          Alec – Okay – I see the problem now. We have had a lot of fun with this with various folk ! – ie: when to “start” the list and I thought I had it starting at the current time for someone else’s requirement, but I see it is starting at the beginning of the current day. (some folks like that, so viewers can see what they have just missed!)

          So right now the events=1 only shows the first event that day, not the upcoming as you have pointed out.

          I will change this in the next release (along with a description of how to still show a few hours “back” if one wants to. For now, on version 2.6.7, you can edit file amr-ical-events-list.php and change as follows:

          line 1457: 'start' => date('Ymd'),

          to 'start' => '"",

          AND then delete or comment out line 1486 :

          echo ….__(‘Invalid Start date’,'amr-ical-events-list’).’…

          For those who still want to show “back” a few hours or days,
          adding
          startoffet = -n (for days)
          and
          hoursoffset = -n (for hours)
          should do the trick.

  24. Hi there! It|s me again :)

    Is there any way to have to the start time of the event displayed in the same line as the start date?

    We are just updating another webpage
    You can visit it here: http://neueseite.allvitalis-cocktailbar.de/

    In the sidebar you can see the next 4 events listed but the time is always listed below or above the date, never on the same line. is there any way to get this done? the overall width of one column of the widget is 220pixel so there should be plenty of space for the time.

    Thanks so much.

    Kind regards,

    Tobias

    • admin says:

      Hi Tobias,
      If the fields are in the same column, then it should just be a matter of floating them up next to each other with the css ( and making sure you are not forcing them to be any wider than they need to be).

      Looking at your site, I don’t know which list type you are using and/or whether you edited the css file…. the css you have is telling each item (event date, eventtime) to be 220px – so of course they will not fit next to each other when floated as each one is taking up the whole space.

      I have added your ics file as the test widget here http://icalevents.anmari.com (scroll down and see left hand side) and with default widget list type of 4 (unchanged) and the latest css (icalist.css) specified in the settings, it all looks fine – they float up next to each other nicely.

  25. M. Kowalczuk says:

    Hello,

    I’m trying to work with this plugin, but somehow I’m missing the point. I’ve managed to put shortcode in separate page, probably it works, as message “cache created” showed up for a moment. Now plugin does show nothing – which is perfectly ok, as I don’t have any events. Yes… How and where I am to add them?

    • admin says:

      Well yes You have missed the point…. Try browsing t he information available! EG: http://wordpress.org/extend/plugins/amr-ical-events-list/faq/

      The plugin accepts almost any publicly available ics (calendar) url, such as those produced by google calendar, apple ical, icalshare, artist data etc…..

      Another plugin to create events in wordpress and have it generate an ical file is in progress, but not necessary to use the plugin as is.

  26. Just donated, remembered my PW for Paypal :-)

    Thanks for all your hard work.

  27. I’ve got one little problem with the new website and the ical events list.

    It works great as long as you don’t use some special settings regarding the repetition of the event.

    For example if you choose “repeat every first sunday of month” the entry isn’t shown at all in the events list.
    Also you can’t exclude some days/events from the repetition.

    I’m using LIGHTNING and RAINLENDAR (both work fine with each other) and the network calendar is hosted on icalx.

    Would appreciate a little help. I’ll donate on monday. Don’t know my password for paypal… I’m at work :-)

    Thanks a lot,

    Tobias

    • admin says:

      Hi Tobias, Thank You for your donation.

      Not all repetition possibilities are yet implemented – see first paragraph of description under wordpress – I am adding them slowly as time permits – every nth sunday is probably not there yet.

      Exclusion: I am officially perplexed – it should be working… It is working on my local server with latest version – it is not working on the icalevents.anmari server – I have compared the code – it is exactly the same. The versions of php are different, so I am looking into whether there is something weird going on with DateTime comparisons on different PHP’s and may have to do the comparison of the excluded date with the repeated dates differently… stay tuned.

  28. fredellini says:

    hi, great plugin.

    i tried to put it on http://cms.tischtennis-markkleeberg.de/spielplan but it won’t work. what does
    Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 1135 is not allowed to access /srv/www/htdocs/web135/html/dateien/ical-events-cache owned by uid 30 in /srv/www/htdocs/web135/html/wp-content/plugins/amr-ical-events-list/amr-import-ical.php on line 105 Warning: fopen(/srv/www/htdocs/web135/html/dateien/ical-events-cache/e639c509f6ae4106e87f8efdc674fc44.ics): failed to open stream: No such file or directory in /srv/www/htdocs/web135/html/wp-content/plugins/amr-ical-events-list/amr-import-ical.php on line 105 Error opening or creating the cached file/srv/www/htdocs/web135/html/dateien/ical-events-cache/e639c509f6ae4106e87f8efdc674fc44.ics
    mean – how do i solv the problem

    best regards

    • admin says:

      Fredellini,
      The message is saying that the plugin is not allowed to access the cache directory ical-events-cache. The url looks strange – is that your uploads directory? The plugin needs to be be able to save the calendar file to the cache directory. It is setup to try to createa a subdirectory under the wordpress uploads directory and cache the calendar file there.

      You need to allow access for it to do that. Normally if it is the default wordpress setup, then no special permission is required, but it looks like maybe you have specified a different uploads folder?

  29. Julienne says:

    Hi

    I searched widgets on the wordpress message board and now know you can’t put widgets into pages! Sorry for earlier post and thank you again for icalevents. is working really great in the sidebar :-)

    j

  30. Julienne says:

    Hi

    Thank you for icalevents. I have got it working in a sidebar but want another one working a page fed from a separate calendar (the page is meetings – I have added the code to the html). I can’t get it to show and am unsure how to add a widget to a single page – if you can at all. I am new to wordpress and am able to mess around a bit with code but am no expert. Can anyone help?

    thanks

  31. wizer says:

    Hi

    I am developing a wordpress site locally with WAMP and I have a small issue with this plugin. The events list shows up on the page, but the event date is showing as the date i entered them. For example today is 24/12/09 and I created 5 events for throughout 2010 but the ‘when’ field just displays 24 December, 2009 for every entry. The time zone is Europe/London and I’m using WP 2.9 and AmR iCal Events List 2.6.2. The ICS file was created in Sunbird and I also tried in MonoCalendar and got the same results. I can send you the ICS file if you let me know your email address.

    Hope you can help

    Many thanks

    Tom

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>