Tuesday, 05 December 2017
  20 Replies
  1.7K Visits
0
Votes
Undo
Hi,

I have setup an link to an Microsoft Outlook calendar using ical together with a scheduled job.

This works perfectly for "all day" events but fails when times are introduced to an event with the following error:
Error: 0 - DateTimeZone::__construct(): Unknown or bad timezone ((UTC+00)

Is this the normal or am I missing something?

Regards,

Bob
6 years ago
·
#195874
0
Votes
Undo
Can you provide a copy of your iCal, here so we can see the timezone being set? I suspect you will need to add a custom timezone. see:

https://www.jevents.net/discussions/ical-import-bad-timezone

On how to add a custom timezone.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#195886
0
Votes
Undo
Hi Tony,
Thanks for the quick response, however what needs to go into the file

$wtzdata["US-Eastern"] = "America/New_York";

based on my data:

TZID:(UTC+00:00) Dublin\, Edinburgh\, Lisbon\, London
TZID="(UTC+00:00) Dublin, Edinburgh, Lisbon, London":20171205T000000
TZID="(UTC+00:00) Dublin, Edinburgh, Lisbon, London":20171205T235959

Regards,

Bob
6 years ago
·
#195888
0
Votes
Undo
I would suggest:

$wtzdata["(UTC+00:00) Dublin, Edinburgh, Lisbon, London"] = 'Europe/London';

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#196981
0
Votes
Undo
Hi,

I have tried with the suggestion described above

$wtzdata["(UTC+00:00) Dublin, Edinburgh, Lisbon, London"] = 'Europe/London';
$wtzdata["(UTC+00)"] = 'Europe/London';


and still get the error:

DateTimeZone::__construct(): Unknown or bad timezone ((UTC+00)

Any ideas?

Regards,

Bob
6 years ago
·
#197055
0
Votes
Undo
Hello Bob,

Please provide a copy of your ical file.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#197075
0
Votes
Undo
Hi Tony,
As requested.
Regards,
Bob
6 years ago
·
#197076
0
Votes
Undo
Hi Tony,
Please find the JEvents Support Info in the Site Details.
Regards,
Bob
6 years ago
·
#197082
0
Votes
Undo
Try:


$wtzdata["(UTC+00:00) Dublin\, Edinburgh\, Lisbon\, London"] = 'Europe/London';

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#197088
0
Votes
Undo
Hi Tony,

I'm now getting

DateTime::__construct(): Failed to parse time string (00) Dublin, Edinburgh, Lisbon, London"20180129T080000) at position 0 (0): Unexpected character

Regards,

Bob
6 years ago
·
#197089
0
Votes
Undo
Where are you generating this Export from? Is it a manually generated file?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#197092
0
Votes
Undo
Hi Tony,

Outlook 2016 on my window 10 laptop, part of office 365.

Regards,

Bob
6 years ago
·
#197142
0
Votes
Undo
Hi Tony,
Please find the details of the website.
Regard,
Bob
6 years ago
·
#197180
0
Votes
Undo
The credentials don't work to login (can you check them).

What you tried already


$wtzdata["(UTC+00:00) Dublin, Edinburgh, Lisbon, London"] = 'Europe/London';

Should work

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

6 years ago
·
#197224
0
Votes
Undo
Hi Geraint,

I have updated the user details to that as advised previously.
Attached is a file with the codes I have tried.

Regards,

Bob
6 years ago
·
#197349
0
Votes
Undo
Hi Tony/Geraint,

Have you had any luck in identifying the problem of updating a JEvents calendar from Outlook 365.

Regards,

Bob
6 years ago
·
#197411
0
Votes
Undo
I imported your calendar from above using this file with no problems

I couldn't check your site since I was unable to install a file component like eXtplorer

Please make sure this file is unzipped and placed in components/com_jevents/libraries/

p.s. you need to URGENTLY update your version of Joomla - the version you have is dangerously out of date

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

6 years ago
·
#197419
0
Votes
Undo
Hi Geriant,
I uploaded the zip file and extracted the php file.
Unfortunately I'm still getting the same error:

0 - An error has occurred.
DateTime::__construct(): Failed to parse time string (00) Dublin, Edinburgh, Lisbon, London"20180129T080000) at position 0 (0): Unexpected character

I have also given the site details.

Regards,

Bob
6 years ago
·
#197587
0
Votes
Undo
It should work

Can you upgrade Joomla and JEvents to the latest versions and then if the problem isn't resolved I'll take another look for you

Geraint

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

6 years ago
·
#197773
0
Votes
Undo
Hi Geraint,

Thank you for your help, that all works perfectly now.
Could you let me know what the correct syntax for a schedule job would be please, as this doesn't work?

Task Type: Fetch URL
URL: http://www.xxx.yyy.zz/index.php?option=com_jevents&icsid=6;task=icals.refresh

Regards,

Bob
6 years ago
·
#197783
0
Votes
Undo
Hi Geraint,

It's all working now.
http://www.xxx.yyy.zz/index.php?option=com_jevents&icsid=6&task=icals.reload

Thanks for your help.

Regards,

Bob
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.