PEAK XOOPS - iCalendar export problem in englishin japanese

iCalendar export problem

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2008/9/5 0:53 | Last modified
jfm  办霹始   Posts: 16
I have piCal installed on an Impress 1.0 site. In site admin/modules, it shows as version 0.9, but on the module page it shows as 0.8.

Anyway, I exported some events in Windows iCalendar format and tried to import them into Google Calendar, but it said that the file is corrupt. I also tried to import it into Outlook 2003 with the same result.

I would like to get this working and would appreciate any help anyone could offer. Below is the contents of the ics file. There is a reference to Protector, so maybe that is the problem in some way. I have modified sensitive information which probably shouldn't have been in there.

Jere

The ics file:
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
X-WR-TIMEZONE;VALUE=TEXT:GMT
PRODID:PEAK Corporation - piCal -
X-WR-CALNAME;VALUE=TEXT:events-20080904T033543Z
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:GMT
BEGIN:STANDARD
DTSTART:19390101T000000
TZOFFSETFROM:+0000
TZOFFSETTO:+0000
TZNAME:GMT
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART:20080903T140000Z
DTEND:20080903T150000Z
LOCATION:Courtroom, 100 Mill St
TRANSP:OPAQUE
SEQUENCE:0
UID:pical060-8d8ca0a290310a4373619ab0c0bb5bb6
DTSTAMP:20080831T232522Z
CATEGORIES:Barnesville/Lamar,City
DESCRIPTION:Hearings held at 9:00am and 2:00pm
SUMMARY:Barnesville hearing on tax increase
PRIORITY:0
CLASS:PUBLIC
END:VEVENT
BEGIN:VEVENT
DTSTART:20080903T140000Z
DTEND:20080903T220000Z
LOCATION:
TRANSP:OPAQUE
SEQUENCE:0
UID:pical060-b2d939f800aa1cb4eee41823e836eaf6
DTSTAMP:20080901T195840Z
CATEGORIES:Barnesville/Lamar
DESCRIPTION:
SUMMARY:Laurie's mediation
PRIORITY:0
CLASS:PRIVATE
END:VEVENT
BEGIN:VEVENT
DTSTART:20080904T200000Z
DTEND:20080904T210000Z
LOCATION:County Administration Bld
TRANSP:OPAQUE
SEQUENCE:0
UID:pical060-a5834348a693e17639bff33733f4731e
DTSTAMP:20080831T234545Z
CATEGORIES:Barnesville/Lamar,County
DESCRIPTION:
SUMMARY:Tax Assessors mtg
PRIORITY:0
CLASS:PUBLIC
END:VEVENT
BEGIN:VEVENT
DTSTART:20080906T203000Z
DTEND:20080907T003000Z
LOCATION:Athens, GA
TRANSP:OPAQUE
SEQUENCE:2
UID:pical060-0706d788a4fd97eb55e588062b3a9963
DTSTAMP:20080828T184837Z
CATEGORIES:State Events,Sports,UGA Football
DESCRIPTION:FSN South
SUMMARY:UGA vs Central Michigan
PRIORITY:0
CLASS:PUBLIC
END:VEVENT
END:VCALENDAR

<div id="xo-logger-output">
<div id='xo-logger-tabs'>
<a href='javascript:xoSetLoggerView("")'>All</a>
<a href='javascript:xoSetLoggerView("errors")'>errors (3)</a>
<a href='javascript:xoSetLoggerView("queries")'>queries (14)</a>
<a href='javascript:xoSetLoggerView("blocks")'>blocks (0)</a>
<a href='javascript:xoSetLoggerView("extra")'>extra (0)</a>
<a href='javascript:xoSetLoggerView("timers")'>timers (3)</a>
</div>
<table id="xo-logger-errors" class="outer"><tr><th>Errors</th></tr>
<tr><td class='even'>Warning: opendir(/home/site_dir/trust_path/modules/protector/filters_enabled) [<a href='function.opendir'>function.opendir</a>]: failed to open dir: No such file or directory in file /home/site_dir/trust_path/modules/protector/class/ProtectorFilter.php line 41<br />
</td></tr>
<tr><td class='odd'>Warning: readdir(): supplied argument is not a valid Directory resource in file /home/site_dir/trust_path/modules/protector/class/ProtectorFilter.php line 42<br />
</td></tr>
<tr><td class='even'>Warning: closedir(): supplied argument is not a valid Directory resource in file /home/site_dir/trust_path/modules/protector/class/ProtectorFilter.php line 56<br />
</td></tr>
</table>
<table id="xo-logger-queries" class="outer"><tr><th>Queries</th></tr><tr class="even"><td>SELECT * FROM prefix_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC</td></tr><tr class="odd"><td>SELECT * FROM prefix_config WHERE (conf_modid = '0' AND conf_catid = '8') ORDER BY conf_order ASC</td></tr><tr class="even"><td>SELECT sess_data, sess_ip FROM prefix_session WHERE sess_id = '239a51c6143e5f3553be7a0a3ef250c6'</td></tr><tr class="odd"><td>SELECT * FROM prefix_users WHERE uid='14'</td></tr><tr class="even"><td>SELECT * FROM prefix_modules WHERE dirname = 'calendar'</td></tr><tr class="odd"><td>SELECT * FROM prefix_config WHERE (conf_modid = '59') ORDER BY conf_order ASC</td></tr><tr class="even"><td>DELETE FROM prefix_protector_access WHERE expire &lt; UNIX_TIMESTAMP()</td></tr><tr class="odd"><td>SELECT COUNT(*) FROM prefix_protector_access WHERE ip='72.142.198.53' AND request_uri='/site/modules/calendar/?output_ics=1'</td></tr><tr class="even"><td>SELECT COUNT(*) FROM prefix_protector_access WHERE ip='72.142.198.53'</td></tr><tr class="odd"><td>INSERT INTO prefix_protector_access SET ip='72.142.198.53',request_uri='/site/modules/calendar/?output_ics=1',expire=UNIX_TIMESTAMP()+'60'</td></tr><tr class="even"><td>SELECT mid FROM prefix_modules WHERE dirname LIKE 'calendar'</td></tr><tr class="odd"><td>SELECT conf_name,conf_value FROM prefix_config WHERE conf_modid=59</td></tr><tr class="even"><td>SELECT * FROM prefix_groups</td></tr><tr class="odd"><td>SELECT * FROM prefix_smiles WHERE display='1'</td></tr><tr class="foot"><td>Total: <span style="color:#ff0000;">14</span> queries</td></tr></table><table id="xo-logger-blocks" class="outer"><tr><th colspan="2">Blocks</th></tr><tr class="foot"><td>Total: <span style="color:#ff0000;">0</span> blocks</td></tr></table><table id="xo-logger-extra" class="outer"><tr><th colspan="2">Extra</th></tr></table><table id="xo-logger-timers" class="outer"><tr><th colspan="2">Timers</th></tr><tr><td class="even"><b>XOOPS</b> took <span style="color:#ff0000;">0.033</span> seconds to load.</td></tr><tr><td class="odd"><b>XOOPS Boot</b> took <span style="color:#ff0000;">0.020</span> seconds to load.</td></tr><tr><td class="even"><b>Module init</b> took <span style="color:#ff0000;">0.013</span> seconds to load.</td></tr></table></div>
<script type="text/javascript">
	function xoLogCreateCookie(name,value,days) {
		if (days) {
			var date = new Date();
			date.setTime(date.getTime()+(days*24*60*60*1000));
			var expires = "; expires="+date.toGMTString();
		}
		else var expires = "";
		document.cookie = name+"="+value+expires+"; path=/";
	}
	function xoLogReadCookie(name) {
		var nameEQ = name + "=";
		var ca = document.cookie.split(';');
		for(var i=0;i < ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') c = c.substring(1,c.length);
			if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
		}
		return null;
	}
	function xoLogEraseCookie(name) {
		createCookie(name,"",-1);
	}
	function xoSetLoggerView( name ) {
		var log = document.getElementById( "xo-logger-output" );
		if ( !log ) return;
		var i, elt;
		for ( i=0; i!=log.childNodes.length; i++ ) {
			elt = log.childNodes[i];
			if ( elt.tagName && elt.tagName.toLowerCase() != 'script' && elt.id != "xo-logger-tabs" ) {
				elt.style.display = ( !name || elt.id == "xo-logger-" + name ) ? "block" : "none";
			}
		}
		xoLogCreateCookie( 'XOLOGGERVIEW', name, 1 );
	}
	xoSetLoggerView( xoLogReadCookie( 'XOLOGGERVIEW' ) );
</script>
Votes:9 Average:4.44
Previous post - Next post | Parent - No child | Posted on 2008/9/11 0:07
jfm  办霹始   Posts: 16
Update: Problem was caused by extra junk being put into the ics export file by php debug (only when exported as admin). With php debug off, there is no problem.

Jere
Votes:4 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!