I thought the problem was with my server, but when I tried to open the following event in iCal for the mac:
webcal://xoops.peak.ne.jp/modules/piCal/?output_ics=1I got the same error about the calendar data not being valid... I think it has to do with the way the address is being passed (as php, instead of an ics file).
Just to let you know.