You need to be logged in to view a user's profile.
  1. lievenborms
  2. Contribute to JEvents
  3. Tuesday, 01 September 2015
Dear,


I have entered an event, but experiencing something strange.

Situation:
Every last Thursday of the month of August, I wish an event which returns every year as long as possible. So, I’ve made an event with the settings as shown below.

Start date: 2016-08-25 Start date: 20:00
Start date: 2016-08-25 End date: 23:59
Repeat type: Monthly
Repeat Interval: 12 months
Repeat Count: 99 repeats (as long as possible)
By Day: Thursday
Which Week(s)?: week 1
Count back from month end: yes

Problem:
I’ve noticed that the annual event was created on every Thursday of the month of August. But I’ve also noticed that there’s an annual event on every last Thursday of the month January.
It’s possible to avoid this issue by setting the Repeat Count to 20 repeats or lower. Is there any way to solve this issue?


Kind regards,

Lieven Borms


PHP Version : 5.6.0
MySQL Version : 5.5.20
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Load JEvents Bootstrap JS? : Yes
Max Input Vars ? : 2500
Club code set? : No
Joomla : 3.4.3
component_com_jevents : 3.2.19
module_mod_jevents_cal : 3.2.19
module_mod_jevents_custom : 3.2.19
module_mod_jevents_filter : 3.2.19
module_mod_jevents_latest : 3.2.19
module_mod_jevents_legend : 3.2.19
module_mod_jevents_switchview : 3.2.19
plugin_content_jevents : 3.2.19
plugin_finder_jevents : 3.2.19 (not enabled)
plugin_search_eventsearch : 3.2.19
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

Can you try the JEvents RC3.4 and try again?

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. Contribute to JEvents
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks for the fast reply.

I’ve installed and tested version 3.4.0RC5 Stable.
The symptoms are exactly the same as in version 3.2.19.

Kind regards
  1. more than a month ago
  2. Contribute to JEvents
  3. # 2
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Can you send me super user login details and how to replicate the issue on your site?

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. Contribute to JEvents
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Dear,

Thanks for your reply.

Below you can find the access data of the test environment (JEvents v3.2.20 Stable).
Frontend: http://www.vijverland.be
Backend: http://www.vijverland.be/administrator

*** DO NOT PUT LOGIN DETAILS IN A PUBLIC FORUM POST ***

If I create an event with the settings as shown below, I should only have an event every last Thursday of August. Strangely enough this event is also created on each last Thursday of January.
I’ve made an event called “Test 2 (also event in January)” with the issue.
By pressing the “repeats”-button in the event summary on the backend you have a nice overview. So as you can see the problem starts first on 2017-01-26 and keeps repeating.

Start date: 2016-08-25 Start date: 20:00
Start date: 2016-08-25 End date: 23:59
Repeat type: Monthly
Repeat Interval: 12 months
Repeat Count: 99 repeats or Repeat Until 2100-01-01 (as long as possible)
By Day: Thursday
Which Week(s)?: week 1
Count back from month end: yes

When I create an event only ±20 repeats or less, there are no events created in January.
I’ve created an event called “Test 1 (works fine)” with the settings as shown below.

Start date: 2016-08-25 Start date: 20:00
Start date: 2016-08-25 End date: 23:59
Repeat type: Monthly
Repeat Interval: 12 months
Repeat Count: 20 repeats
By Day: Thursday
Which Week(s)?: week 1
Count back from month end: yes

If you have questions, please let me know.

Kind regards,
  1. more than a month ago
  2. Contribute to JEvents
  3. # 4
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

Please PM me the login details.

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. Contribute to JEvents
  3. # 5
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
The issue is caused by a constraint in JEvents that blocks repeats beyond the end of 2036 so the data is getting corrupted by doing this - hence the bad dates.

The reason for this is that 32bit servers are unable to handle dates outside the range 1902-2037. You could try to relax this condition in the code and see if it works on your server.

Change line c. 430 of components/com_jevents/libraries/iCalRRule.php from
if (($currentYear+$this->rinterval)>=2037) break;
to
if (($currentYear+$this->rinterval)>=2237) break;


Does that resolve the issue?
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. Contribute to JEvents
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
I’ve changed the code but the problem persists.
  1. more than a month ago
  2. Contribute to JEvents
  3. # 7
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Did you then edit and resave the event?
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. Contribute to JEvents
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Indeed, I’ve edit and resave the event.
I’ve also created a new event with the same settings.
  1. more than a month ago
  2. Contribute to JEvents
  3. # 9
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
You are running on a 32bit window server or have a 32bit version of PHP - this cannot handle dates in the date() and strftime() functions beyond 2038.

Unless you are locked in to a contract on this server you may be better off moving to a Linux hosting service.
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. Contribute to JEvents
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
Indeed, this website is placed on a windows platform with a php x86 architecture.
I’ve installed Jevents on another website on a Linux hosting and indeed it works fine there.

So I will discuss this issue with the hosting company and take the necessary steps to solve this.
Thanks a lot for the support.
  1. more than a month ago
  2. Contribute to JEvents
  3. # 11
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks for letting us know :-) Good luck with your resolve.

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. Contribute to JEvents
  3. # 12
  • 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.