Monday, 15 February 2016
  26 Replies
  2.8K Visits
0
Votes
Undo
Hello, my name is Felipe and if possible I'd like to have an support for a beginner.

I'm using the following version of JEvents


PHP Version : 5.5.30
MySQL Version : 5.0.83-community
Server Information : Linux lin-web53.hostmanagement.net 2.6.32-604.30.3.lve1.3.63.el6.x86_64 #1 SMP Sun Sep 27 06:34:10 EDT 2015 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 6.1; rv:44.0) Gecko/20100101 Firefox/44.0
Joomla : 3.4.8
component_com_jevents : 3.4.4
component_com_virtuemart : 3.0.12
component_com_jce : 2.5.14
module_mod_jevents_cal : 3.4.4
module_mod_jevents_custom : 3.4.4
module_mod_jevents_filter : 3.4.4
module_mod_jevents_latest : 3.4.4
module_mod_jevents_legend : 3.4.4
module_mod_jevents_switchview : 3.4.4
plugin_content_jevents : 3.4.4
plugin_finder_jevents : 3.4.4 (not enabled)
plugin_search_eventsearch : 3.4.4
plugin_system_gwejson : 3.4.4


I'm building an website and I've created a lot of events, however, this time I faced a problem that I can't solve. Today is Feb 15th and I tried to set up an event at Oct 28th. It appears on calendar, however is not shown on Latest Event. I decreased 1 day until it appears, and I discovered that it don't show from 240 days or more.

As default I use "Display Events from the next ? days (modes 2, 3, 5, 6 and 7 only)" with 365 days (1 year), because is enought to my events. And I'm using display mode 3.

Anyone can help me please?

Thanks a lot.

Felipe
9 years ago
·
#165575
0
Votes
Undo
Is this event occuring on a day that the clocks change in Brazil by any chance?

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!

9 years ago
·
#165576
0
Votes
Undo
Probably not. Because the clock usually change during the weekend, and our training is only during the week.
9 years ago
·
#165577
0
Votes
Undo
I did some more tests on your site and I think it is related to the clocks changing - can you try an event a couple of days before and a couple of days after your clocks change in the autumn.

The problem in Brazil (from memory) is that your clocks change at midnight where almost everywhere else in the works the clocks change a 1am or 2am to avoid confusion about which day is which at midnight.

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!

9 years ago
·
#165578
0
Votes
Undo
Is there anything I can do to try to solve this problem related withe the time?
9 years ago
·
#165579
0
Votes
Undo
I have confirmed it is a problem due to the way the clocks change in Brazil. This year there is no midnight on 16 October so the code was adding 1 day to midnight on 15 October and getting 1am on 16 October - thereafter it was getting 1am on each following day which messed up the test for which day an event takes place on.

I have a workaround which works for ALL days EXCEPT the day when the clocks change.

Edit the file modules/mod_jevents_latest/tmpl/default/latest.php and change line 553 from
$date = JevDate::strtotime("+1 day", $date);

to
                           // Attempt to handle Brazil timezone changes which happen at midnight - go figure !!!
list($yy,$mm,$dd) = explode("-", strftime("%Y-%m-%d", $date));
$date = JevDate::mktime(0, 0, 0,$mm, $dd+1, $yy);

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!

9 years ago
·
#165580
0
Votes
Undo
Thanks a lot Geraint,

Right now I can't edit php, because my server's firewall is blocking the access to FTP, then I can't edit. However, I will try to do that to solve this problem. When I do it, I'll post it here.
  • Page :
  • 1
  • 2
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.