1. bobby
  2. JEvents 3.4 (Free Access)
  3. Tuesday, 05 December 2017
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
tonyp
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 1
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 2
tonyp
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 3
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 4
tonyp
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tony,
As requested.
Regards,
Bob
Attachments (1)
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tony,
Please find the JEvents Support Info in the Site Details.
Regards,
Bob
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 7
tonyp
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 8
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 9
tonyp
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tony,

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

Regards,

Bob
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 11
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tony,
Please find the details of the website.
Regard,
Bob
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 12
geraint
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 13
Accepted Answer Pending Moderation
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
Attachments (1)
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 14
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 15
geraint
Support Team
Accepted Answer Pending Moderation
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
Attachments (1)
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 16
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 17
geraint
Support Team
Accepted Answer Pending Moderation
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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 18
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 19
Accepted Answer Pending Moderation
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
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 20
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

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.